diff options
author | 2013-11-30 20:21:02 -0500 | |
---|---|---|
committer | 2013-11-30 20:21:02 -0500 | |
commit | 5a73e09382c9e196b98c91448c1c1cf50bba3d6f (patch) | |
tree | eb64c6f628bd66ef0d2c50b4379ebf25194c8526 | |
parent | Remove old lower limit 1.41.0 on dev-libs/boost (diff) | |
download | blueness-5a73e09382c9e196b98c91448c1c1cf50bba3d6f.tar.gz blueness-5a73e09382c9e196b98c91448c1c1cf50bba3d6f.tar.bz2 blueness-5a73e09382c9e196b98c91448c1c1cf50bba3d6f.zip |
net-p2p/namecoin-qt: initial commit
Package-Manager: portage-2.2.7
Manifest-Sign-Key: 0xF52D4BBA
-rw-r--r-- | net-p2p/namecoin-qt/Manifest | 23 | ||||
-rw-r--r-- | net-p2p/namecoin-qt/metadata.xml | 11 | ||||
-rw-r--r-- | net-p2p/namecoin-qt/namecoin-qt-0.3.72.ebuild | 129 |
3 files changed, 163 insertions, 0 deletions
diff --git a/net-p2p/namecoin-qt/Manifest b/net-p2p/namecoin-qt/Manifest new file mode 100644 index 0000000..2eb218d --- /dev/null +++ b/net-p2p/namecoin-qt/Manifest @@ -0,0 +1,23 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST namecoin-qt-0.3.72.tar.gz 1453901 SHA256 74d088f96735b3397b9a71bc10bbbe1211cd2594baf593c4b9062457c1d4b869 SHA512 63d42fb1a982f725f22d35992fadb192116b7ee73a418cba52285325df5a56d41b47d3de7d1b9b53b816c160d1909ecff70117de94edead0eab343da6809e417 WHIRLPOOL bd2385a3118406a9076bf3587e3cc8f4e25ddac350ec62901e1d577d92fc113de58fa59f9138dac2e82efcb1553d4dba657cd2092f23800e995756fe98c3f012 +EBUILD namecoin-qt-0.3.72.ebuild 2707 SHA256 786639b7ca54d83b178d68d6223e602677aee0e16b89f2f1e4a5dffeb2193d0a SHA512 1808b54261a6c4a1c2fbe315e81fbca65bbae5eab2f9416f745f77ffc8f1f13215d20674a9ec3aa982ff2609691b03faf1d81bd5f4e3a3958b2fcd1f18f50d69 WHIRLPOOL 237e0b02d38d51fef9770e9fad4ad0030f3b26863fbf207be3a3e8babad31a9e9b4ab5b333e8c08df6628a9aa9f9e293bc5d97e6ad959747ae3d1de9f675b5e4 +MISC metadata.xml 335 SHA256 fd617e5b5cdf18a293d584d24d15a4cf35d3626106804f2424bd2d55143cf804 SHA512 80c5870e0ef0fdb6e4ffc9a7877aeca9269684e1bc42e2dd1ce6ea10214710dc70b4dcf848f581b439ae50d5dac32614c292ca943d023f4d53b773f1af851565 WHIRLPOOL d64f49a82dd2e8107c4dee45b3f56de370064b5303b912be29a9307167b7e0b78659e468647fe370b83d94881121c476acf80cefd943cde67c02ceff38696edc +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iQIcBAEBCAAGBQJSmo7+AAoJEJOE+m71LUu63YsP/3vbt4Ug+vv8oUQt4A3yLwPw +4UN3e1i2gHhCWwH8bQByiCkwfn+wDQgAnDObMc9bvpQfsjZCS6IhWgEMjwy/znNz +0b9VWkAUTx9hZrhE+yd0ttLhO6TsMNKzjiNb/ED0uG+n60E/la8BKizgJfF44SMx +v67OHG9+sCcGB7p9B0OdlW8eQvmbi+8igSuSXMuFkiDnsOd8jK2aOYTHguwDh/L2 +FCc3AszxNZsYU+Ww/txQO1PVIwofBLhSyxaqXtpdBD/Q7RIbIcR+dmMvpKsLzMIr +yTgxqplYIqc2bwO1Ifn46UuInYpr8U2Xp22qQWBNqBWjkhRrd8pbRgCyg4D/cpyp +LjLt7TpgE2/eNQr/vFqQiPg8EGcIB/UpKSlGFGIVp7qS7nVc1IS09emAsHBYkF+4 +qNwikWZe9Yvp43X2MvoqKIS+IomAhytIFkKESnX8NRC+Vl28ursfssr5LLbZpaLS +Z6T9tdHXR8KAd2lUOGd1YpexVXKeg8SC7+fajqWnjKrfRAZqYe0+K3f4kgikzVWV +811fKOBnIqyxx242LZNwZtNVnbYCpgiPbSUMAm34V1s28zz8cdfnm534ZPwOc3+c +n5E2hAxjrw9E3rwWuocYNi8175iOnZ2aSb6Gatdv0Whk7jaAtoocarlaPX87BZSF +igxsTHXV+zEtipyyUKvO +=uxXW +-----END PGP SIGNATURE----- diff --git a/net-p2p/namecoin-qt/metadata.xml b/net-p2p/namecoin-qt/metadata.xml new file mode 100644 index 0000000..6365b7b --- /dev/null +++ b/net-p2p/namecoin-qt/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>blueness@gentoo.org</email> + <name>Anthony G. Basile</name> + </maintainer> + <use> + <flag name='qrcode'>Enable generation of QR Codes for receiving payments</flag> + </use> +</pkgmetadata> diff --git a/net-p2p/namecoin-qt/namecoin-qt-0.3.72.ebuild b/net-p2p/namecoin-qt/namecoin-qt-0.3.72.ebuild new file mode 100644 index 0000000..b358a43 --- /dev/null +++ b/net-p2p/namecoin-qt/namecoin-qt-0.3.72.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +DB_VER="4.8" + +LANGS="af_ZA ar bg ca_ES cs da de el_GR en es_CL es et eu_ES fa_IR fa fi fr_CA fr gu_IN he hi_IN hr hu it ja lt nb nl pl pt_BR pt_PT ro_RO ru sk sr sv th_TH tr uk zh_CN zh_TW" + +inherit db-use eutils fdo-mime gnome2-utils kde4-functions qt4-r2 + +DESCRIPTION="A P2P network based domain name system" +HOMEPAGE="https://dot-bit.org/" +SRC_URI="https://github.com/namecoinq/namecoinq/archive/v${PV/0/Q}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT ISC cryptopp GPL-3 LGPL-2.1 public-domain || ( CC-BY-SA-3.0 LGPL-2.1 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +#upnp is broken +#IUSE="dbus ipv6 upnp" +IUSE="dbus ipv6" + +RDEPEND=" + dev-libs/boost[threads(+)] + dev-libs/crypto++ + dev-libs/openssl:0[-bindist] + sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] + dev-qt/qtgui:4 + dbus? ( + dev-qt/qtdbus:4 + ) +" +# Add this when upnp is fixed +# upnp? ( net-libs/miniupnpc) + +DEPEND="${RDEPEND} + >=app-shells/bash-4.1 +" + +S="${WORKDIR}/namecoinq-v${PV/0/Q}" + +src_prepare() { + cd src || die + + local filt= yeslang= nolang= + + for lan in $LANGS; do + if [ ! -e qt/locale/bitcoin_$lan.ts ]; then + ewarn "Language '$lan' no longer supported. Ebuild needs update." + fi + done + + for ts in $(ls qt/locale/*.ts) + do + x="${ts/*bitcoin_/}" + x="${x/.ts/}" + if ! use "linguas_$x"; then + nolang="$nolang $x" + rm "$ts" + filt="$filt\\|$x" + else + yeslang="$yeslang $x" + fi + done + + filt="bitcoin_\\(${filt:2}\\)\\.\(qm\|ts\)" + sed "/${filt}/d" -i 'qt/bitcoin.qrc' + einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang" +} + +src_configure() { + OPTS=() + + use dbus && OPTS+=("USE_DBUS=1") + +#Upnp is broken +# if use upnp; then +# OPTS+=("USE_UPNP=1") +# else +# OPTS+=("USE_UPNP=-") +# fi + + OPTS+=("USE_UPNP=-") + + use ipv6 || OPTS+=("USE_IPV6=-") + + OPTS+=("USE_SYSTEM_LEVELDB=1") + OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") + OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") + + if has_version '>=dev-libs/boost-1.52'; then + OPTS+=("LIBS+=-lboost_chrono\$\$BOOST_LIB_SUFFIX") + fi + + eqmake4 namecoin-qt.pro "${OPTS[@]}" +} + +#Tests are broken +#src_test() { +# cd src || die +# emake -f makefile.unix "${OPTS[@]}" test_namecoin +# ./test_namecoin || die 'Tests failed' +#} + +src_install() { + qt4-r2_src_install + + dobin ${PN} + + insinto /usr/share/pixmaps + newins "src/qt/res/icons/bitcoin.ico" "${PN}.ico" + + make_desktop_entry "${PN} %u" "Namecoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Qt;Network;P2P;DNS;" "MimeType=x-scheme-handler/namecoin;\nTerminal=false" +} + +update_caches() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update + buildsycoca +} + +pkg_postinst() { + update_caches +} + +pkg_postrm() { + update_caches +} |