1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

net-p2p/namecoin: Update to 0.17.0

Also, switched to Qt5 because net/qt4-network is required by dependency
however it fails to build with OpenSSL 1.1.1. FreeBSD base OpenSSL has been
switched to 1.1.1 since FreeBSD 12.

PR:		233201
Submitted by:	Chad Jacob Milios <milios@ccsys.com> (maintainer)
Approved by:	mentors (implicit)
This commit is contained in:
Koichiro Iwao 2018-11-26 02:04:58 +00:00
parent 66a4cebfc0
commit f69acd782d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485911
3 changed files with 39 additions and 14 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= namecoin
PORTVERSION= 0.16.2
PORTVERSION= 0.17.0
DISTVERSIONPREFIX= nc
PORTEPOCH= 1
CATEGORIES= net-p2p dns
@ -29,15 +29,14 @@ GH_TAGNAME= a13a73b:graphics
SLAVE_PORT?= no
.if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no"
USES+= desktop-file-utils qt:4
USE_QT= corelib gui moc_build linguisttools_build network qmake_build \
rcc_build uic_build xml
USES+= desktop-file-utils qt:5
USE_QT= core buildtools gui linguisttools_build network qmake_build xml widgets
BUILD_DEPENDS+= protoc:devel/protobuf \
svg2png:graphics/svg2png
LIB_DEPENDS+= libprotobuf.so:devel/protobuf
TESTS_USES= qt:4
TESTS_USES= qt:5
TESTS_USE= QT=testlib
TESTS_PLIST_FILES= bin/test_namecoin-qt \
bin/test_namecoin
@ -54,7 +53,7 @@ WALLET_DESC= Wallet Management Support
ZMQ_DESC= Block and transaction broadcasting with ZeroMQ
DBUS_CONFIGURE_WITH= qtdbus
DBUS_USES= qt:4
DBUS_USES= qt:5
DBUS_USE= QT=dbus
DEBUG_CONFIGURE_ENABLE= debug
@ -86,7 +85,7 @@ ZMQ_BUILD_DEPENDS= libzmq4>0:net/libzmq4
ZMQ_RUN_DEPENDS= libzmq4>0:net/libzmq4
CONFIGURE_ARGS?= --without-libs \
--with-gui=qt4 \
--with-gui=qt5 \
--without-daemon \
--without-utils \
--disable-man
@ -102,10 +101,8 @@ PLIST_FILES?= bin/namecoin-qt share/applications/namecoin-qt.desktop \
.if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no"
post-install:
${REINPLACE_CMD} -e 's/bitcoin/namecoin/g;s/Bitcoin/Namecoin/g' \
${WRKSRC}/contrib/debian/bitcoin-qt.desktop
${INSTALL} ${WRKSRC}/contrib/debian/bitcoin-qt.desktop \
${STAGEDIR}${PREFIX}/share/applications/namecoin-qt.desktop
${INSTALL_DATA} ${FILESDIR}/namecoin-qt.desktop \
${STAGEDIR}${PREFIX}/share/applications/
${LOCALBASE}/bin/svg2png -w128 -h128 ${WRKSRC_graphics}/svg/namecoin-logo.svg \
${STAGEDIR}${PREFIX}/share/pixmaps/namecoin128.png

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1536120223
SHA256 (namecoin-namecoin-core-nc0.16.2_GH0.tar.gz) = 2dec11332ce3284dfe3d9a6291eb770e1c27fcdb707f13b542494db527aa8d99
SIZE (namecoin-namecoin-core-nc0.16.2_GH0.tar.gz) = 5510735
TIMESTAMP = 1540917313
SHA256 (namecoin-namecoin-core-nc0.17.0_GH0.tar.gz) = b9e56cebd6756ad8ff7c8f6c9e633cb56cb139c7c4437189945b3f25acbe0082
SIZE (namecoin-namecoin-core-nc0.17.0_GH0.tar.gz) = 5465627
SHA256 (indolering-namecoin-graphics-a13a73b_GH0.tar.gz) = 82f308a3527d96a202099feb96a754d036bbdaa875156ad002ba2747d75000c7
SIZE (indolering-namecoin-graphics-a13a73b_GH0.tar.gz) = 7364908

View File

@ -0,0 +1,28 @@
[Desktop Entry]
Version=1.0
Name=Namecoin Core
Comment=Connect to the Namecoin P2P Network
Comment[de]=Verbinde mit dem Namecoin peer-to-peer Netzwerk
Comment[fr]=Namecoin, monnaie virtuelle cryptographique pair à pair
Comment[tr]=Namecoin, eşten eşe kriptografik sanal para birimi
Exec=namecoin-qt %u
Terminal=false
Type=Application
Icon=namecoin128
MimeType=x-scheme-handler/namecoin;
Categories=Office;Finance;
StartupWMClass=Namecoin-qt
[Desktop Entry]
Version=1.0
Name=Namecoin Core
Comment=Connect to the Namecoin P2P Network
Comment[de]=Verbinde mit dem Namecoin peer-to-peer Netzwerk
Comment[fr]=Namecoin, monnaie virtuelle cryptographique pair à pair
Comment[tr]=Namecoin, eşten eşe kriptografik sanal para birimi
Exec=namecoin-qt %u
Terminal=false
Type=Application
Icon=namecoin128
MimeType=x-scheme-handler/namecoin;
Categories=Office;Finance;
StartupWMClass=Namecoin-qt