summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2015-10-16 00:00:03 +0000
committerAnthony G. Basile <blueness@gentoo.org>2015-10-23 07:26:46 -0400
commit5be824adbd39361d273f6d7c08a15a5574ceec24 (patch)
treee4d36723510a3b7adc18661ea7e6da6f17a46fc8 /net-p2p/bitcoin-qt
parentbitcoincore: Bump to 0.11.1 (diff)
downloadgentoo-5be824adbd39361d273f6d7c08a15a5574ceec24.tar.gz
gentoo-5be824adbd39361d273f6d7c08a15a5574ceec24.tar.bz2
gentoo-5be824adbd39361d273f6d7c08a15a5574ceec24.zip
bitcoincore 0.11.1 & 9999: hasufell's suggestions
Diffstat (limited to 'net-p2p/bitcoin-qt')
-rw-r--r--net-p2p/bitcoin-qt/bitcoin-qt-0.11.1.ebuild12
-rw-r--r--net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild12
2 files changed, 16 insertions, 8 deletions
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 d2618cfd98f..46d4f07bd28 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 6f9997e672a..902b6ae6d4a 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