diff options
-rw-r--r-- | net-p2p/dogecoin/Manifest | 1 | ||||
-rw-r--r-- | net-p2p/dogecoin/dogecoin-1.10.0.ebuild | 74 | ||||
-rw-r--r-- | net-p2p/dogecoin/metadata.xml | 13 | ||||
-rw-r--r-- | profiles/use.local.desc | 3 |
4 files changed, 91 insertions, 0 deletions
diff --git a/net-p2p/dogecoin/Manifest b/net-p2p/dogecoin/Manifest new file mode 100644 index 00000000..38e1506b --- /dev/null +++ b/net-p2p/dogecoin/Manifest @@ -0,0 +1 @@ +DIST dogecoin-1.10.0.tar.gz 6537709 BLAKE2B c25f15a75da021873978631724ecdc28615ecec6582c7365d7b9adf96b8b7456eeda631fbdc2b770e639943ff82bf106902f4c8e326281d5267ca36e434bc56d SHA512 a8b636ff36dc55b0dc559c33385bba8ab41dfb351d9697cd136731f5c4306f51f22e974f2d2658fe82eed4a083da68a534f5f989882b4cc3599eac9301d3f1e5 diff --git a/net-p2p/dogecoin/dogecoin-1.10.0.ebuild b/net-p2p/dogecoin/dogecoin-1.10.0.ebuild new file mode 100644 index 00000000..69fb589b --- /dev/null +++ b/net-p2p/dogecoin/dogecoin-1.10.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +DB_VER="5.1" +inherit db-use flag-o-matic bash-completion-r1 autotools + +DESCRIPTION="P2P Internet currency favored by Shiba Inus worldwide" +HOMEPAGE="http://www.dogecoin.com" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+dbus libressl +qrcode +qt4 qt5 +upnp +utils +wallet" +REQUIRED_USE="?? ( qt4 qt5 )" + +RDEPEND=" + !libressl? ( dev-libs/openssl:0[-bindist] ) + libressl? ( dev-libs/libressl ) + >=dev-libs/boost-1.20.0[threads(+)] + qrcode? ( media-gfx/qrencode ) + qt4? ( + dev-qt/qtgui:4 + dbus? ( dev-qt/qtdbus:4 ) + ) + qt5? ( + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + dev-qt/qtprintsupport:5 + dbus? ( dev-qt/qtdbus:5 ) + ) + upnp? ( net-libs/miniupnpc:0 ) + wallet? ( sys-libs/db:$(db_ver_to_slot ${DB_VER})[cxx] ) + dev-libs/protobuf:0 + " +DEPEND="${RDEPEND} + qt5? ( dev-qt/linguist-tools:5 )" + +src_prepare () { + default + + append-cppflags "-I$(db_includedir ${DB_VER})" + append-cppflags "-fPIC" + eautoreconf +} + +src_configure() { + local my_econf=( + --with-daemon + $(use_with utils) + $(use_enable wallet) + $(use_enable upnp miniupnpc) $(use_with upnp miniupnpc) + $(use_with qrcode qrencode) + ) + + if use qt5 ; then + my_econf+=( --with-gui=qt5 ) + elif use qt4 ; then + my_econf+=( --with-gui=qt4 ) + else + my_econf+=( --with-gui=no ) + fi + + econf \ + "${my_econf[@]}" +} + +src_install() { + default + + newbashcomp contrib/dogecoind.bash-completion dogecoind +} diff --git a/net-p2p/dogecoin/metadata.xml b/net-p2p/dogecoin/metadata.xml new file mode 100644 index 00000000..06ca9ad1 --- /dev/null +++ b/net-p2p/dogecoin/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>bertrand@jacquin.bzh</email> + <name>Bertrand Jacquin</name> + </maintainer> + <use> + <flag name="qrcode">Enable generation of QR Codes for receiving payments</flag> + <flag name="utils">Build the utils</flag> + <flag name="wallet">Enable wallet support</flag> + </use> +</pkgmetadata> diff --git a/profiles/use.local.desc b/profiles/use.local.desc index b836fb18..89e9354c 100644 --- a/profiles/use.local.desc +++ b/profiles/use.local.desc @@ -65,6 +65,9 @@ media-video/rtmpdump:polarssl - Use PolarSSL library instead of the default Open net-analyzer/mk-livestatus:nagios4 - Generate a net-analyzer/nagios-4 compatible plugin net-misc/icmptx:client - Enable client support net-misc/icmptx:server - Enable server support +net-p2p/dogecoin:qrcode - Enable generation of QR Codes for receiving payments +net-p2p/dogecoin:utils - Build the utils +net-p2p/dogecoin:wallet - Enable wallet support net-p2p/monero:system-libs - Use system libraries instead of the ones included in the upstream distribution sys-firmware/gnuk:tools - Install aditional tools virtual/linux-sources:firmware - Install linux kernel firmware |