summaryrefslogtreecommitdiff
path: root/x11-misc/kapow
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-08 21:45:04 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-08 21:45:04 +0000
commit65737cf14a7220bd9a487aa2af4ae0e79bd23e86 (patch)
tree625754b14ae80ac167d1b150c2314b647cd008e6 /x11-misc/kapow
parent5001a6c7b6da2956f5b17c695b1e0059dc7b8de5 (diff)
gentoo resync : 08.01.2018
Diffstat (limited to 'x11-misc/kapow')
-rw-r--r--x11-misc/kapow/Manifest2
-rw-r--r--x11-misc/kapow/kapow-1.5.5.ebuild28
2 files changed, 14 insertions, 16 deletions
diff --git a/x11-misc/kapow/Manifest b/x11-misc/kapow/Manifest
index 644f75d531a5..e2f6a47b5c8a 100644
--- a/x11-misc/kapow/Manifest
+++ b/x11-misc/kapow/Manifest
@@ -1,5 +1,5 @@
DIST kapow-1.5.4-src.tar.bz2 722095 BLAKE2B be90609a3dd6a6b521c39ef0fb4a6a20ec193f816a994f944f5083888d4e883829b2249c3ff0e0df6f232f87e33f5abfbbd0b4b624a1165a75c3fe8ceb9cb21f SHA512 03683e7a4f904c4b6efdf47401d8a15ba979484d52d58e4dea52a890351ba9342ef5fe383876c5cb8138c6d578122936ca7e9ffda0fc5eb090e719eb751764eb
DIST kapow-1.5.5-src.tar.bz2 722262 BLAKE2B 5f1c66b38edded3f2ad1d76d97dab036264169176647a25dc618a6e4149b40f4d4ed368edbac7786440ef49fe77e896db084edd9c210cd278b92ba175d49c63d SHA512 d22f8c1de74333b31b49ec752118ce36624895f99073b4b3f57a78f32e331ed33365b5664a316604e573820d38f268f0ceb6531bbf60eca05aa4a09fe5436a20
EBUILD kapow-1.5.4.ebuild 652 BLAKE2B 0b33b48374071d3d97320a7888b565a7c36fddc284d6b15d407c75b3fc7b6ee45e2b4eec9bbebce753cae4242ccc957d324e80fbd6f923745d6d5922830a3690 SHA512 0f7e97465d03dcd8ebbeba6782b22775f3c89e4ba6b7ad0883634757f5c68e1c7b01cf97890d47e3d5bb7b5a829cf472d30b7608fdce3c98e4866328a12a208e
-EBUILD kapow-1.5.5.ebuild 1344 BLAKE2B c438ad2a51968fb6d3843daebf1f9b08e7a372d5be93fe77c6eba581835f536642815378a3741930d4c710e19a389f97c86815c8d59820cbfcd8c9a0c3d04fa1 SHA512 abe16fa7757c6f35235b98dcec1e330c6d9b597c13c92a18d0cc8961b4b19b03fadf5cbb0824975b4bd1d593802df42847bc9242fc05343e0086b999e8e3b0e8
+EBUILD kapow-1.5.5.ebuild 1279 BLAKE2B 989422cebbf4529834e808b86ff4bd411a354a21fe50de1243943dd7cf54a02eed31af4cc269918f8ac839857ec162901174848a6dc15e80fdd83e10741deea3 SHA512 8f254fc7fd102555bb3a3143c4f1a60d965d5455764638b5010004c9b7d5819ace6e485b8973c051f437963ecd84a9f759487367d0b18acbaa6ab4459ea40b43
MISC metadata.xml 282 BLAKE2B f175ac89f79f8ebbe3bc806c0c4a8169e2a4b88708d85928db9a23dacecd92a2acb1c5d1f6a49a2f8375288aa4b2db910af8c325557540ba665c37a17e773721 SHA512 06c94ffb49c985c4344b170b902427ca9ce0c23b6d68330af227ab1771794f8e8b6d0ef75b5f69293c8ef0d3264c8799e1389ccdf8dfbe7c665c6477c07479e4
diff --git a/x11-misc/kapow/kapow-1.5.5.ebuild b/x11-misc/kapow/kapow-1.5.5.ebuild
index 9447fce76942..00138613950e 100644
--- a/x11-misc/kapow/kapow-1.5.5.ebuild
+++ b/x11-misc/kapow/kapow-1.5.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -23,11 +23,11 @@ DEPEND="
${RDEPEND}
dev-qt/linguist-tools:5
"
-K_LINGUAS="
+K_LANGS="
ar bg cs da de el en es fr it lt nl no pl pt_BR ro ru sv tr uk
"
-for K_LINGUA in ${K_LINGUAS}; do
- IUSE+=" linguas_${K_LINGUA}"
+for K_LANG in ${K_LANGS}; do
+ IUSE+=" l10n_${K_LANG/_/-}"
done
DOCS=( ChangeLog README )
@@ -35,20 +35,18 @@ src_prepare() {
default
count() { echo ${#}; }
- local lingua_count=$(count ${K_LINGUAS})
+ local lang_count=$(count ${K_LANGS})
local locale_count=$(count translations/${PN}_*.ts)
- [[ ${lingua_count} = ${locale_count} ]] \
- || die "Number of LINGUAS does not match number of locales"
+ [[ ${lang_count} = ${locale_count} ]] \
+ || die "Number of LANGS does not match number of locales"
unset count
- local lingua
- if [[ -n "${LINGUAS}" ]]; then
- for lingua in ${K_LINGUAS}; do
- if ! use linguas_${lingua}; then
- rm translations/${PN}_${lingua}.* || die
- fi
- done
- fi
+ local lang
+ for lang in ${K_LANGS}; do
+ if ! use l10n_${lang/_/-}; then
+ rm translations/${PN}_${lang}.* || die
+ fi
+ done
}
src_configure() {