diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-06 23:13:57 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-06 23:13:57 +0000 |
commit | a8b0d35ab742f31538d515dea39716e566d533c0 (patch) | |
tree | 40c6c87a13f0e5ef1111ed1bdd9191f3bd1c1e59 /app-misc/tasque | |
parent | 8fcdcec5fbdd0e3a77391e4f354218014f59f358 (diff) |
gentoo resync : 06.01.2018
Diffstat (limited to 'app-misc/tasque')
-rw-r--r-- | app-misc/tasque/Manifest | 2 | ||||
-rw-r--r-- | app-misc/tasque/tasque-0.1.12.ebuild | 25 |
2 files changed, 13 insertions, 14 deletions
diff --git a/app-misc/tasque/Manifest b/app-misc/tasque/Manifest index 086c2b00c6bd..30a319d364bf 100644 --- a/app-misc/tasque/Manifest +++ b/app-misc/tasque/Manifest @@ -1,3 +1,3 @@ DIST tasque-0.1.12.tar.xz 461576 BLAKE2B 1bf0ccc9ff67056d2ca5f2595a3f7eb14bd7ea0f967e0058e84168eb82eddc6c551e878ae72945b9a97aebd1ddcdf4b9295eeebf06d0ce3295b7085027673316 SHA512 441aa1a13d260e59ef07bb75a0b38b43cbcc30737589922ba4e697220fdd0a9bfe9af8c1c2484b6c0d68a4f33cb0f895822cb04e90d6782db66c0f80de50078b -EBUILD tasque-0.1.12.ebuild 1310 BLAKE2B 4c2815000c3f5b8f25a5d3cf930ae10e885cc97fee1f206021bd7ff570188457956e0923f85c400a8cf26ccb6e9fa65784a820fb2ea3c7342732e2a675697683 SHA512 376bef11d04288133d66bacf54c0729a94512e993a2fbd89209682eed9087532c210c700a294f2bac64e1a8adbade6c4d28e75de2eecf7aa1e3ecdb8fb63ce42 +EBUILD tasque-0.1.12.ebuild 1302 BLAKE2B f00c2ba934d46eb18071cd2430a45a015a4c88d7ef2e7184256426dbd4f81f548427f1a178172b24f9949d6ddc1f96f4464495aaa1f250999260f5e76302d8af SHA512 484c341062e5d3845019a96f2a6250b31e7138129fa98f7efe526e03073110da7b22a6104c30d7d6f0a9751a0cc66d8a973e11fe294534a60d7f2fd6e28cde82 MISC metadata.xml 500 BLAKE2B 30d76a992fc5f8c7c1011c0afea16064b10548d123a8572729031de655a59bfb037702b845758d7779ee4c8fb55b1f46b1bbf4cf33ad0b27e615e9d5b5234cb2 SHA512 a3974aeaef52942ec8e4f450c80ef5553921b458c2b2caccec60f08a34ac9efc37779a42d90212b643a86c551329696076f1925b8d33cbe6d2dfe1f859424e94 diff --git a/app-misc/tasque/tasque-0.1.12.ebuild b/app-misc/tasque/tasque-0.1.12.ebuild index c5096c46bd11..aee4663574b9 100644 --- a/app-misc/tasque/tasque-0.1.12.ebuild +++ b/app-misc/tasque/tasque-0.1.12.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -15,10 +15,6 @@ IUSE="+rememberthemilk +sqlite hiveminder debug" LANGS="ca ca@valencia cs da de el en_GB eo es et fi fr gl hu id it ja lv nb nds nl pl pt pt_BR ro ru sl sr sr@latin sv th tr zh_CN zh_TW" -for lang in ${LANGS}; do - IUSE+=" linguas_${lang}" -done - REQUIRED_USE="|| ( rememberthemilk sqlite hiveminder )" RDEPEND=">=dev-dotnet/gtk-sharp-2.12.7-r5 @@ -41,12 +37,15 @@ src_configure() { src_install() { default mv_command="cp -pPR" mono_multilib_comply - einfo "Cleaning up locales..." - for lang in ${LANGS}; do - use "linguas_${lang}" && { - einfo "- keeping ${lang}" - continue - } - rm -Rf "${D}"/usr/share/locale/"${lang}" || die - done + + if [[ -n ${LINGUAS+set} ]]; then + einfo "Cleaning up locales..." + for lang in ${LANGS}; do + if has ${lang} ${LINGUAS}; then + einfo "- keeping ${lang}" + else + rm -Rf "${D}"/usr/share/locale/"${lang}" || die + fi + done + fi } |