summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Damashek <sdamashek@gentoo.org>2014-01-30 18:13:11 +0000
committerSamuel Damashek <sdamashek@gentoo.org>2014-01-30 18:13:11 +0000
commit64d8a509c87809f4adb90f3cd89d8c9efc3e6430 (patch)
tree23f9cf67e5118c426bcea282fdbbde77fcfec2cc /net-p2p
parentUmask wayland flag for media-libs/mesa, bug #453304. (diff)
downloadhistorical-64d8a509c87809f4adb90f3cd89d8c9efc3e6430.tar.gz
historical-64d8a509c87809f4adb90f3cd89d8c9efc3e6430.tar.bz2
historical-64d8a509c87809f4adb90f3cd89d8c9efc3e6430.zip
Initial commit
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x3C472B56
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/dogecoin-qt/ChangeLog0
-rw-r--r--net-p2p/dogecoin-qt/Manifest18
-rw-r--r--net-p2p/dogecoin-qt/dogecoin-qt-1.4.1.ebuild145
-rw-r--r--net-p2p/dogecoin-qt/metadata.xml15
4 files changed, 178 insertions, 0 deletions
diff --git a/net-p2p/dogecoin-qt/ChangeLog b/net-p2p/dogecoin-qt/ChangeLog
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/net-p2p/dogecoin-qt/ChangeLog
diff --git a/net-p2p/dogecoin-qt/Manifest b/net-p2p/dogecoin-qt/Manifest
new file mode 100644
index 000000000000..f1ae8fca681b
--- /dev/null
+++ b/net-p2p/dogecoin-qt/Manifest
@@ -0,0 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST dogecoin-1.4.1.tar.gz 13275598 SHA256 666a77062971bf8d2e1727b64688015879d8fda35218ac0a42170fc8655d01fe SHA512 43ba8d329d7e0a483e330af508cec156b32ed097cc4073f468679d139b206c3a83cd22ce5d89cb15c4c78fb3361a67b4d2a1de3bbdce74be76983108ea50c203 WHIRLPOOL 28d47f4d71184eb375143c073cfafd7239091bfb87a9dbef43b1688c9ca6ba54e47617c69f482e10d4f967c929764efa0daeab8f21e13a2c20d1dce8c7035ad8
+EBUILD dogecoin-qt-1.4.1.ebuild 3330 SHA256 c09bc3458158f1322ad29f3cef75ce15612787aa7a5452311cc0cfd0af351ae6 SHA512 521c8b371a5ab0190e8fa97454a388e719448ede20379f9a76e6043f09299a36be32a9c28ccac68578480feae02a277c756fe5ddc428c3850faf2fc21d4f6a24 WHIRLPOOL 3004e4f92f5f77b8a4724f43eb82c19033552a356acd070ea8f38aadb7eae49c8470a3cc6de98e8a2a1f368731bdb58d40dd1c966c19b33e66e9fc89a3c9a745
+MISC ChangeLog 0 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 SHA512 cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e WHIRLPOOL 19fa61d75522a4669b44e39c1d2e1726c530232130d407f89afee0964997f7a73e83be698b288febcf88e3e03c4f0757ea8964e59b63d93708b138cc42a66eb3
+MISC metadata.xml 488 SHA256 b39846d889f2c282e541a19c03a2cc27ddc33152d4cde7ac8c4a6b398cea9db3 SHA512 7f94d4c1f22614d5fe1a5b6ae3a987156b794c3bf7b41302625dd93e674c2e5946f4a23374404a810e1dc1bb1567099a998530dcd705bac19d44e72d012e1ebc WHIRLPOOL 16aae1586b2eb17d94f140b4f098d171f0c79254cbd63f6c66b0babc4ddde5e72d9e3226703f8eabb9276db932bba2bf0c1cc3a4411d1ec5798d54adfcfe2674
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQEcBAEBCAAGBQJS6pYxAAoJEGw+uP08RytWg2UIAITr8ELW4LdKKa+wNR689xs4
+jxG8Vo8AbZYDJ732IYfxpwc82aAAzI4Bh8ehwpBiRwxXA6iTBs6KjGQ2u5+kXJiE
+FAOX31O4KmWMJuyeHaI+Fi3itVNF4yB9tTv+jAfaNvMiqsmevmba5XHU3brjrkdg
+Tp0saZEghnEw1D11V7dC00qZMJBmXfliwARM1Z4HhZoGLV4sfcMt8vpKFcenHxig
++tK9gt9F5pMtZcKrTpI6QdBEEfJQ9UdXG0xn+i/dz/Qs9xH35277tZw/z18k6Zsy
+G1XI7386+1qQRs2TkFgwlNBfYS73RLeJc9keCDjiXoNpd631c5viQ1EHhRp2j1c=
+=x5Ei
+-----END PGP SIGNATURE-----
diff --git a/net-p2p/dogecoin-qt/dogecoin-qt-1.4.1.ebuild b/net-p2p/dogecoin-qt/dogecoin-qt-1.4.1.ebuild
new file mode 100644
index 000000000000..ec947a24bff9
--- /dev/null
+++ b/net-p2p/dogecoin-qt/dogecoin-qt-1.4.1.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/dogecoin-qt/dogecoin-qt-1.4.1.ebuild,v 1.1 2014/01/30 18:12:56 sdamashek Exp $
+
+EAPI=5
+
+DB_VER="4.8"
+
+LANGS="af_ZA ar bg bs ca ca_ES cs cy da de el_GR en eo es es_CL et eu_ES fa fa_IR fi fr fr_CA gu_IN he hi_IN hr hu it ja la lt lv_LV 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
+
+MyPV="${PV/_/-}"
+MyPN="dogecoin"
+MyP="${MyPN}-${MyPV}"
+
+DESCRIPTION="P2P Internet currency favored by Shiba Inus worldwide."
+HOMEPAGE="https://dogecoin.com/"
+SRC_URI="https://github.com/${MyPN}/${MyPN}/archive/${MyPV}.tar.gz -> ${MyP}.tar.gz"
+
+LICENSE="MIT ISC GPL-3 LGPL-2.1 public-domain || ( CC-BY-SA-3.0 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dbus ipv6 kde +qrcode upnp"
+
+RDEPEND="
+ dev-libs/boost[threads(+)]
+ dev-libs/openssl:0[-bindist]
+ qrcode? (
+ media-gfx/qrencode
+ )
+ upnp? (
+ net-libs/miniupnpc
+ )
+ sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
+ <=dev-libs/leveldb-1.12.0[-snappy]
+ dev-qt/qtgui:4
+ dbus? (
+ dev-qt/qtdbus:4
+ )
+"
+DEPEND="${RDEPEND}
+ >=app-shells/bash-4.1
+"
+
+DOCS="doc/README.md doc/release-notes.md"
+
+S="${WORKDIR}/${MyP}"
+
+src_prepare() {
+# epatch "${FILESDIR}"/${MyPN}-sys_leveldb.patch
+ rm -r src/leveldb
+
+ sed 's/BDB_INCLUDE_PATH=.*//' -i 'dogecoin-qt.pro'
+
+ 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")
+ if use upnp; then
+ OPTS+=("USE_UPNP=1")
+ else
+ OPTS+=("USE_UPNP=-")
+ fi
+
+ use qrcode && OPTS+=("USE_QRCODE=1")
+ 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
+
+ #The litecoin codebase is mostly taken from bitcoin-qt
+ eqmake4 dogecoin-qt.pro "${OPTS[@]}"
+}
+
+#Tests are broken with and without our litecoin-sys_leveldb.patch
+#src_test() {
+# cd src || die
+# emake -f makefile.unix "${OPTS[@]}" test_litecoin
+# ./test_litecoin || die 'Tests failed'
+#}
+
+src_install() {
+# qt4-r2_src_install
+
+ dobin ${PN}
+
+ insinto /usr/share/pixmaps
+ newins "share/pixmaps/bitcoin.ico" "${PN}.ico"
+
+ make_desktop_entry "${PN} %u" "Dogecoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Qt;Network;P2P;Office;Finance;" "MimeType=x-scheme-handler/dogecoin;\nTerminal=false"
+
+# newman contrib/debian/manpages/bitcoin-qt.1 ${PN}.1
+
+# if use kde; then
+# insinto /usr/share/kde4/services
+# newins contrib/debian/bitcoin-qt.protocol ${PN}.protocol
+# fi
+}
+
+update_caches() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+ buildsycoca
+}
+
+pkg_postinst() {
+ update_caches
+}
+
+pkg_postrm() {
+ update_caches
+}
diff --git a/net-p2p/dogecoin-qt/metadata.xml b/net-p2p/dogecoin-qt/metadata.xml
new file mode 100644
index 000000000000..275b0d3232c3
--- /dev/null
+++ b/net-p2p/dogecoin-qt/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>sdamashek@gentoo.org</email>
+ <name>Samuel Damashek</name>
+ </maintainer>
+ <longdescription lang="en">
+ This is a client for the Dogecoin cryptocurrency.
+ Dogecoin is a scrypt-based alternative to Bitcoin.
+ </longdescription>
+ <use>
+ <flag name='qrcode'>Enable generation of QR Codes for receiving payments</flag>
+ </use>
+</pkgmetadata>