diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2015-10-16 00:00:03 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-10-23 07:26:46 -0400 |
commit | 5be824adbd39361d273f6d7c08a15a5574ceec24 (patch) | |
tree | e4d36723510a3b7adc18661ea7e6da6f17a46fc8 /net-p2p | |
parent | bitcoincore: Bump to 0.11.1 (diff) | |
download | gentoo-5be824adbd39361d273f6d7c08a15a5574ceec24.tar.gz gentoo-5be824adbd39361d273f6d7c08a15a5574ceec24.tar.bz2 gentoo-5be824adbd39361d273f6d7c08a15a5574ceec24.zip |
bitcoincore 0.11.1 & 9999: hasufell's suggestions
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/bitcoin-cli/bitcoin-cli-0.11.1.ebuild | 2 | ||||
-rw-r--r-- | net-p2p/bitcoin-cli/bitcoin-cli-9999.ebuild | 2 | ||||
-rw-r--r-- | net-p2p/bitcoin-qt/bitcoin-qt-0.11.1.ebuild | 12 | ||||
-rw-r--r-- | net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild | 12 | ||||
-rw-r--r-- | net-p2p/bitcoind/bitcoind-0.11.1.ebuild | 2 | ||||
-rw-r--r-- | net-p2p/bitcoind/bitcoind-9999.ebuild | 2 |
6 files changed, 20 insertions, 12 deletions
diff --git a/net-p2p/bitcoin-cli/bitcoin-cli-0.11.1.ebuild b/net-p2p/bitcoin-cli/bitcoin-cli-0.11.1.ebuild index 17d993f9a48b..13e5eda79de2 100644 --- a/net-p2p/bitcoin-cli/bitcoin-cli-0.11.1.ebuild +++ b/net-p2p/bitcoin-cli/bitcoin-cli-0.11.1.ebuild @@ -15,7 +15,7 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" src_prepare() { - sed -i 's/have bitcoind &&//;s/^\(complete -F _bitcoind \)bitcoind \(bitcoin-cli\)$/\1\2/' contrib/bitcoind.bash-completion + sed -i 's/have bitcoind &&//;s/^\(complete -F _bitcoind \)bitcoind \(bitcoin-cli\)$/\1\2/' contrib/bitcoind.bash-completion || die bitcoincore_src_prepare } diff --git a/net-p2p/bitcoin-cli/bitcoin-cli-9999.ebuild b/net-p2p/bitcoin-cli/bitcoin-cli-9999.ebuild index 4904ce462a32..3c7b4d5241da 100644 --- a/net-p2p/bitcoin-cli/bitcoin-cli-9999.ebuild +++ b/net-p2p/bitcoin-cli/bitcoin-cli-9999.ebuild @@ -15,7 +15,7 @@ KEYWORDS="" src_prepare() { bitcoincore_prepare - sed -i 's/bitcoin-tx//' src/Makefile.am + sed -i 's/bitcoin-tx//' src/Makefile.am || die bitcoincore_autoreconf } diff --git a/net-p2p/bitcoin-qt/bitcoin-qt-0.11.1.ebuild b/net-p2p/bitcoin-qt/bitcoin-qt-0.11.1.ebuild index d2618cfd98f1..46d4f07bd281 100644 --- a/net-p2p/bitcoin-qt/bitcoin-qt-0.11.1.ebuild +++ b/net-p2p/bitcoin-qt/bitcoin-qt-0.11.1.ebuild @@ -38,7 +38,7 @@ REQUIRED_USE="${REQUIRED_USE} ^^ ( qt4 qt5 )" src_prepare() { bitcoincore_prepare - local filt= yeslang= nolang= + local filt= yeslang= nolang= lan ts x for lan in $LANGS; do if [ ! -e src/qt/locale/bitcoin_$lan.ts ]; then @@ -52,15 +52,15 @@ src_prepare() { x="${x/.ts/}" if ! use "linguas_$x"; then nolang="$nolang $x" - rm "$ts" + rm "$ts" || die 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' + sed "/${filt}/d" -i 'src/qt/bitcoin_locale.qrc' || die + sed "s/locale\/${filt}/bitcoin.qrc/" -i 'src/Makefile.qt.include' || die einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang" bitcoincore_autoreconf @@ -89,6 +89,10 @@ src_install() { fi } +pkg_preinst() { + gnome2_icon_savelist +} + update_caches() { gnome2_icon_cache_update fdo-mime_desktop_database_update diff --git a/net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild b/net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild index 6f9997e672af..902b6ae6d4a0 100644 --- a/net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild +++ b/net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild @@ -35,7 +35,7 @@ REQUIRED_USE="${REQUIRED_USE} ^^ ( qt4 qt5 )" src_prepare() { bitcoincore_prepare - local filt= yeslang= nolang= + local filt= yeslang= nolang= lan ts x for lan in $LANGS; do if [ ! -e src/qt/locale/bitcoin_$lan.ts ]; then @@ -49,15 +49,15 @@ src_prepare() { x="${x/.ts/}" if ! use "linguas_$x"; then nolang="$nolang $x" - rm "$ts" + rm "$ts" || die 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' + sed "/${filt}/d" -i 'src/qt/bitcoin_locale.qrc' || die + sed "s/locale\/${filt}/bitcoin.qrc/" -i 'src/Makefile.qt.include' || die einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang" bitcoincore_autoreconf @@ -86,6 +86,10 @@ src_install() { fi } +pkg_preinst() { + gnome2_icon_savelist +} + update_caches() { gnome2_icon_cache_update fdo-mime_desktop_database_update diff --git a/net-p2p/bitcoind/bitcoind-0.11.1.ebuild b/net-p2p/bitcoind/bitcoind-0.11.1.ebuild index ef75d878db18..390c9ea0056d 100644 --- a/net-p2p/bitcoind/bitcoind-0.11.1.ebuild +++ b/net-p2p/bitcoind/bitcoind-0.11.1.ebuild @@ -33,7 +33,7 @@ pkg_setup() { } src_prepare() { - sed -i 's/have bitcoind &&//;s/^\(complete -F _bitcoind bitcoind\) bitcoin-cli$/\1/' contrib/${PN}.bash-completion + sed -i 's/have bitcoind &&//;s/^\(complete -F _bitcoind bitcoind\) bitcoin-cli$/\1/' contrib/${PN}.bash-completion || die bitcoincore_src_prepare } diff --git a/net-p2p/bitcoind/bitcoind-9999.ebuild b/net-p2p/bitcoind/bitcoind-9999.ebuild index 5c38561fd52b..715308d80bea 100644 --- a/net-p2p/bitcoind/bitcoind-9999.ebuild +++ b/net-p2p/bitcoind/bitcoind-9999.ebuild @@ -28,7 +28,7 @@ pkg_setup() { } src_prepare() { - sed -i 's/have bitcoind &&//;s/^\(complete -F _bitcoind bitcoind\) bitcoin-cli$/\1/' contrib/${PN}.bash-completion + sed -i 's/have bitcoind &&//;s/^\(complete -F _bitcoind bitcoind\) bitcoin-cli$/\1/' contrib/${PN}.bash-completion || die bitcoincore_src_prepare } |