app-admin/qtpass: Remove ineffective l10n.eclass
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 16 May 2018 08:14:38 +0000 (10:14 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 16 May 2018 08:17:43 +0000 (10:17 +0200)
Package-Manager: Portage-2.3.36, Repoman-2.3.9

app-admin/qtpass/qtpass-1.2.2.ebuild

index e0c3748be47c11b774fca097e1ac38170b1525ec..ecbc9a1c158d0c67a80a3e4cb489095d86e36fa7 100644 (file)
@@ -4,10 +4,7 @@
 EAPI=6
 
 MY_P="QtPass-${PV}"
-PLOCALES="ar_MA ca cs_CZ de_DE de_LU el_GR en_GB en_US es_ES fr_BE fr_FR fr_LU
-gl_ES he_IL hu_HU it_IT lb_LU nl_BE nl_NL pl_PL pt_PT ru_RU sv_SE zh_CN"
-
-inherit desktop l10n qmake-utils
+inherit desktop qmake-utils
 
 DESCRIPTION="multi-platform GUI for pass, the standard unix password manager"
 HOMEPAGE="https://qtpass.org/"
@@ -40,25 +37,12 @@ src_prepare() {
                sed -i '/SUBDIRS += src /s/tests //' \
                        qtpass.pro || die "sed for qtpass.pro failed"
        fi
-
-       l10n_find_plocales_changes localization localization_ .ts
 }
 
 src_configure() {
        eqmake5 PREFIX="${D}"/usr
 }
 
-src_compile() {
-       default
-
-       local lr
-       lr="$(qt5_get_bindir)"/lrelease
-       l10n_build() {
-               $lr localization/localization_"${1}".ts || die "lrelease ${1} failed"
-       }
-       l10n_for_each_locale_do l10n_build
-}
-
 src_install() {
        default