commit:     179267f548ea51f2435c24d56678862766881079
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed May 16 08:14:38 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed May 16 08:17:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=179267f5

app-admin/qtpass: Remove ineffective l10n.eclass

Package-Manager: Portage-2.3.36, Repoman-2.3.9

 app-admin/qtpass/qtpass-1.2.2.ebuild | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)

diff --git a/app-admin/qtpass/qtpass-1.2.2.ebuild 
b/app-admin/qtpass/qtpass-1.2.2.ebuild
index e0c3748be47..ecbc9a1c158 100644
--- a/app-admin/qtpass/qtpass-1.2.2.ebuild
+++ b/app-admin/qtpass/qtpass-1.2.2.ebuild
@@ -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
 

Reply via email to