public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/blueness:master commit in: net-p2p/ppcoin-qt/
Date: Sat, 30 Nov 2013 18:44:27 +0000 (UTC)	[thread overview]
Message-ID: <1385834550.659743eacc8e88af3fe417836d5b4e230dceaac7.blueness@gentoo> (raw)

commit:     659743eacc8e88af3fe417836d5b4e230dceaac7
Author:     layman <layman <AT> localhost>
AuthorDate: Sat Nov 30 18:02:30 2013 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Nov 30 18:02:30 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=659743ea

net-p2p/ppcoin-qt: initial commit

Package-Manager: portage-2.2.7
Manifest-Sign-Key: 0xF52D4BBA

---
 net-p2p/ppcoin-qt/Manifest               |  23 ++++++
 net-p2p/ppcoin-qt/metadata.xml           |  11 +++
 net-p2p/ppcoin-qt/ppcoin-qt-0.3.0.ebuild | 138 +++++++++++++++++++++++++++++++
 3 files changed, 172 insertions(+)

diff --git a/net-p2p/ppcoin-qt/Manifest b/net-p2p/ppcoin-qt/Manifest
new file mode 100644
index 0000000..bf7da81
--- /dev/null
+++ b/net-p2p/ppcoin-qt/Manifest
@@ -0,0 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST ppcoin-0.3.0.tar.gz 12233878 SHA256 919bb1c60eeebdd173ddcd4c83264f745bbf2af29410ded062f6c6bfce44f694 SHA512 c5f505a162e5044b3173c301d52b4851a6e3fbb4dbc2742c7204d583f534e235b1c8942b1afc5d9613d6a37009da83e1a9708fe4edfb68cb9717b76666bf029f WHIRLPOOL ab23d64672cfa9882d1dd23aad6a7448c9f4d7669557ddadabf80a1733682a46d4b5becc4605b40fbd2e943203897edfc4ba8904dee284bde055d81769404246
+EBUILD ppcoin-qt-0.3.0.ebuild 2880 SHA256 fb7df57be0df9bf491288f51f056546da11248eaeef65b6c566156e98f8b00f5 SHA512 772ae4f370c39c475f8efdab137b57769d0d8c1f4243649693b3bec3d55d368dc69070824adac280a90eaf40c0756a27770c3a3f526bad9ddedeb441ab420784 WHIRLPOOL 5dbb9366f43742caf916df892f3aa16d1d0d5136ff9c758ce14f677fdbd21a19f3c18dba1523a5a26043a4a064b48003e1c0e65607c4fe60e25379764c4af0ee
+MISC metadata.xml 335 SHA256 fd617e5b5cdf18a293d584d24d15a4cf35d3626106804f2424bd2d55143cf804 SHA512 80c5870e0ef0fdb6e4ffc9a7877aeca9269684e1bc42e2dd1ce6ea10214710dc70b4dcf848f581b439ae50d5dac32614c292ca943d023f4d53b773f1af851565 WHIRLPOOL d64f49a82dd2e8107c4dee45b3f56de370064b5303b912be29a9307167b7e0b78659e468647fe370b83d94881121c476acf80cefd943cde67c02ceff38696edc
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQIcBAEBCAAGBQJSmig2AAoJEJOE+m71LUu60QQP/jticwiv7HfVWrKXqTptvP4G
++zbgbd5iM6dNaHcD2jlQVdIGbyteGrMQc0ypeN25F2ECqoGVgUutdP1jJ1FG9fEb
+1bbWjmOC8eI9a+iv9U0eGcQvHnnRBo8iKS+4BBztIOxo/0MTQ48d6mNMwhhW16vp
+Rl9yaRhcXLQnz0VQSagcJ6tCzZz36naQiOA1hgvythr6zy88w6nMGr5dkbuvivt3
+0F+Ik7b8cLhaZUUzM8WRiqDG/rJR8zUDZJAte2tffr1npmbb4ZBGj381sVB51I9z
+7HYvpv268/XhrxMMJ3PL8PnsgZXi1shJ9+eehiwcu+s1vPAN3HC5XpLir8sGZN7c
+3C3fxbUTfFQIgSiXGAiiWiFjououmm78qSaOBbI1YzDeiHGR8+O8MvsaJ2/WLoGg
+8dz3zRf4eJR96vjUOu17IoFhxzfRnoVPBLjGR/l9LlHZL+vMo/q5+E7GNuF8AMll
+hp2yMM2su4lPMeYULqjsIE34TO3K3wCxzOk+bdf1NmFZNi8EvmZUsJ+jSwhimaUc
+dq6KoDAzQ0xIvFsoIt4N/PIeeu0quGjI4q3F8UEGY8m6IiodqWW2PxpE3OByT249
+xpeWCJfHJyQthDEodGbYvyQY3yFQ4PwPq+fxu0/hDEieT0CLpzHG9s9cfHHBykW1
+00esat7VlhTgPZx6qh3f
+=fyko
+-----END PGP SIGNATURE-----

diff --git a/net-p2p/ppcoin-qt/metadata.xml b/net-p2p/ppcoin-qt/metadata.xml
new file mode 100644
index 0000000..6365b7b
--- /dev/null
+++ b/net-p2p/ppcoin-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/ppcoin-qt/ppcoin-qt-0.3.0.ebuild b/net-p2p/ppcoin-qt/ppcoin-qt-0.3.0.ebuild
new file mode 100644
index 0000000..3269979
--- /dev/null
+++ b/net-p2p/ppcoin-qt/ppcoin-qt-0.3.0.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+DB_VER="4.8"
+
+LANGS="ca_ES cs da de en es_CL es et eu_ES fa_IR fa fi fr_CA fr_FR he hr hu it lt nb nl pl pt_BR ro_RO ru sk sr sv tr uk zh_CN zh_TW"
+
+inherit db-use eutils fdo-mime gnome2-utils kde4-functions qt4-r2
+
+MyPV="${PV/_/-}"
+MyPN="ppcoin"
+MyP="${MyPN}-${MyPV}"
+
+DESCRIPTION="Cryptocurrency forked from Bitcoin which aims to be energy efficiency."
+HOMEPAGE="http://peercoin.net/"
+SRC_URI="mirror://sourceforge/${MyPN}/${MyP}-linux.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-1.41.0[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-qt/qtgui:4
+	dbus? (
+		dev-qt/qtdbus:4
+	)
+"
+DEPEND="${RDEPEND}
+	>=app-shells/bash-4.1
+"
+
+DOCS="README"
+
+S="${WORKDIR}/${MyP}-linux/src"
+
+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")
+	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 ppcoin codebase is mostly taken from bitcoin-qt
+	eqmake4 bitcoin-qt.pro "${OPTS[@]}"
+}
+
+#Tests are broken
+#src_test() {
+#	cd src || die
+#	emake -f makefile.unix "${OPTS[@]}" test_ppcoin
+#	./test_ppecoin || die 'Tests failed'
+#}
+
+src_install() {
+	qt4-r2_src_install
+
+	dobin ${PN}
+
+	insinto /usr/share/pixmaps
+	newins "src/qt/res/icons/ppcoin.ico" "${PN}.ico"
+
+	make_desktop_entry "${PN} %u" "PPcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Qt;Network;P2P;Office;Finance;" "MimeType=x-scheme-handler/ppcoin;\nTerminal=false"
+
+	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
+}


             reply	other threads:[~2013-11-30 18:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-30 18:44 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-11-30 18:47 [gentoo-commits] dev/blueness:master commit in: net-p2p/ppcoin-qt/ Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1385834550.659743eacc8e88af3fe417836d5b4e230dceaac7.blueness@gentoo \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox