diff options
author | 2014-11-13 18:31:37 +0000 | |
---|---|---|
committer | 2014-11-13 18:31:37 +0000 | |
commit | fc2207fa23181e99e538b1c733fe028e8bef8a38 (patch) | |
tree | 98a4cd741fbf0a0c076a537f895f08d7914fdb1b /net-p2p/bitcoin-qt | |
parent | Add -9999 (diff) | |
download | gentoo-2-fc2207fa23181e99e538b1c733fe028e8bef8a38.tar.gz gentoo-2-fc2207fa23181e99e538b1c733fe028e8bef8a38.tar.bz2 gentoo-2-fc2207fa23181e99e538b1c733fe028e8bef8a38.zip |
Add -9999
(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'net-p2p/bitcoin-qt')
-rw-r--r-- | net-p2p/bitcoin-qt/ChangeLog | 8 | ||||
-rw-r--r-- | net-p2p/bitcoin-qt/bitcoin-qt-0.9.2.1.ebuild | 5 | ||||
-rw-r--r-- | net-p2p/bitcoin-qt/bitcoin-qt-0.9.3.ebuild | 3 | ||||
-rw-r--r-- | net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild | 126 |
4 files changed, 138 insertions, 4 deletions
diff --git a/net-p2p/bitcoin-qt/ChangeLog b/net-p2p/bitcoin-qt/ChangeLog index 32c68c6ed7af..3017c2d1a1be 100644 --- a/net-p2p/bitcoin-qt/ChangeLog +++ b/net-p2p/bitcoin-qt/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-p2p/bitcoin-qt # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v 1.87 2014/10/10 11:30:23 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v 1.88 2014/11/13 18:31:37 blueness Exp $ + +*bitcoin-qt-9999 (13 Nov 2014) + + 13 Nov 2014; Anthony G. Basile <blueness@gentoo.org> +bitcoin-qt-9999.ebuild, + bitcoin-qt-0.9.2.1.ebuild, bitcoin-qt-0.9.3.ebuild: + Add -9999 10 Oct 2014; Anthony G. Basile <blueness@gentoo.org> +files/0.9.x-ljr_noblacklist.patch, bitcoin-qt-0.9.3.ebuild, metadata.xml: diff --git a/net-p2p/bitcoin-qt/bitcoin-qt-0.9.2.1.ebuild b/net-p2p/bitcoin-qt/bitcoin-qt-0.9.2.1.ebuild index 16b36152d9a3..37e6e8a01430 100644 --- a/net-p2p/bitcoin-qt/bitcoin-qt-0.9.2.1.ebuild +++ b/net-p2p/bitcoin-qt/bitcoin-qt-0.9.2.1.ebuild @@ -1,6 +1,6 @@ # Copyright 2010-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.9.2.1.ebuild,v 1.6 2014/08/29 00:52:25 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.9.2.1.ebuild,v 1.7 2014/11/13 18:31:37 blueness Exp $ EAPI=4 @@ -24,7 +24,7 @@ KEYWORDS="~amd64 ~arm ~x86" IUSE="$IUSE dbus kde +qrcode test upnp" RDEPEND=" - >=dev-libs/boost-1.53.0[threads(+)] + >=dev-libs/boost-1.41.0[threads(+)] dev-libs/openssl:0[-bindist] dev-libs/protobuf qrcode? ( @@ -80,6 +80,7 @@ src_prepare() { src_configure() { econf \ + --disable-ccache \ $(use_with dbus qtdbus) \ $(use_with upnp miniupnpc) $(use_enable upnp upnp-default) \ $(use_with qrcode qrencode) \ diff --git a/net-p2p/bitcoin-qt/bitcoin-qt-0.9.3.ebuild b/net-p2p/bitcoin-qt/bitcoin-qt-0.9.3.ebuild index 79f3e04de4fb..7ed245b9cc65 100644 --- a/net-p2p/bitcoin-qt/bitcoin-qt-0.9.3.ebuild +++ b/net-p2p/bitcoin-qt/bitcoin-qt-0.9.3.ebuild @@ -1,6 +1,6 @@ # Copyright 2010-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.9.3.ebuild,v 1.2 2014/10/10 11:30:23 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.9.3.ebuild,v 1.3 2014/11/13 18:31:37 blueness Exp $ EAPI=4 @@ -92,6 +92,7 @@ src_prepare() { src_configure() { econf \ + --disable-ccache \ $(use_with dbus qtdbus) \ $(use_with upnp miniupnpc) $(use_enable upnp upnp-default) \ $(use_with qrcode qrencode) \ diff --git a/net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild b/net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild new file mode 100644 index 000000000000..7811b7debd9e --- /dev/null +++ b/net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild @@ -0,0 +1,126 @@ +# Copyright 2010-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild,v 1.1 2014/11/13 18:31:37 blueness Exp $ + +EAPI=4 + +DB_VER="4.8" + +LANGS="ach af_ZA ar be_BY bg bs ca ca@valencia ca_ES cmn cs cy da de el_GR en eo es es_CL es_DO es_MX es_UY et eu_ES fa fa_IR fi fr fr_CA gl gu_IN he hi_IN hr hu id_ID it ja ka kk_KZ ko_KR ky la lt lv_LV mn ms_MY nb nl pam pl pt_BR pt_PT ro_RO ru sah sk sl_SI sq sr sv th_TH tr uk ur_PK uz@Cyrl vi vi_VN zh_HK zh_CN zh_TW" +inherit autotools db-use eutils fdo-mime gnome2-utils kde4-functions qt4-r2 git-2 user versionator + +MyPV="${PV/_/}" +MyPN="bitcoin" +MyP="${MyPN}-${MyPV}" + +DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency" +HOMEPAGE="http://bitcoin.org/" +SRC_URI=" +" +EGIT_PROJECT='bitcoin' +EGIT_REPO_URI="git://github.com/bitcoin/bitcoin.git https://github.com/bitcoin/bitcoin.git" + +LICENSE="MIT ISC GPL-3 LGPL-2.1 public-domain || ( CC-BY-SA-3.0 LGPL-2.1 )" +SLOT="0" +KEYWORDS="" +IUSE="$IUSE dbus kde +qrcode test upnp" + +RDEPEND=" + >=dev-libs/boost-1.52.0[threads(+)] + dev-libs/openssl:0[-bindist] + dev-libs/protobuf + qrcode? ( + media-gfx/qrencode + ) + upnp? ( + net-libs/miniupnpc + ) + sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] + virtual/bitcoin-leveldb + dev-qt/qtgui:4 + dbus? ( + dev-qt/qtdbus:4 + ) +" +DEPEND="${RDEPEND} + >=app-shells/bash-4.1 +" + +src_prepare() { + epatch "${FILESDIR}/0.9.0-sys_leveldb.patch" + rm -r src/leveldb + + local filt= yeslang= nolang= + + for lan in $LANGS; do + if [ ! -e src/qt/locale/bitcoin_$lan.ts ]; then + ewarn "Language '$lan' no longer supported. Ebuild needs update." + fi + done + + for ts in $(ls src/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 'src/qt/bitcoin_locale.qrc' + sed "s/locale\/${filt}/bitcoin.qrc/" -i 'src/Makefile.qt.include' + einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang" + + eautoreconf +} + +src_configure() { + econf \ + --disable-ccache \ + $(use_with dbus qtdbus) \ + $(use_with upnp miniupnpc) $(use_enable upnp upnp-default) \ + $(use_with qrcode qrencode) \ + $(use_enable test tests) \ + --with-system-leveldb \ + --without-utils --without-daemon \ + --with-gui +} + +src_test() { + emake check +} + +src_install() { + emake DESTDIR="${D}" install + + insinto /usr/share/pixmaps + newins "share/pixmaps/bitcoin.ico" "${PN}.ico" + make_desktop_entry "${PN} %u" "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Qt;Network;P2P;Office;Finance;" "MimeType=x-scheme-handler/bitcoin;\nTerminal=false" + + dodoc doc/README.md doc/release-notes.md + dodoc doc/assets-attribution.md doc/tor.md + doman contrib/debian/manpages/bitcoin-qt.1 + + if use kde; then + insinto /usr/share/kde4/services + doins contrib/debian/bitcoin-qt.protocol + fi +} + +update_caches() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update + buildsycoca +} + +pkg_postinst() { + update_caches +} + +pkg_postrm() { + update_caches +} |