commit:     058b01b9c261f2417575f149ebfc244c1f898070
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  6 17:58:58 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Oct  6 17:59:10 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=058b01b9

www-client/qupzilla: drop broken l10n handling

Gentoo-bug: 590942

Package-Manager: portage-2.3.1

 www-client/qupzilla/qupzilla-2.0.1.ebuild | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/www-client/qupzilla/qupzilla-2.0.1.ebuild 
b/www-client/qupzilla/qupzilla-2.0.1.ebuild
index 42a3737..cacbc21 100644
--- a/www-client/qupzilla/qupzilla-2.0.1.ebuild
+++ b/www-client/qupzilla/qupzilla-2.0.1.ebuild
@@ -4,15 +4,10 @@
 
 EAPI=6
 
-PLOCALES="ar_SA bg_BG ca_ES cs_CZ da_DK de_DE el_GR es_ES es_MX es_VE eu_ES
-       fa_IR fi_FI fr_FR gl_ES he_IL hr_HR hu_HU id_ID it_IT ja_JP ka_GE lg
-       lt lv_LV nl_NL nqo pl_PL pt_BR pt_PT ro_RO ru_RU sk_SK sr
-       sr@ijekavian sr@ijekavianlatin sr@latin sv_SE tr_TR uk_UA uz@Latn
-       zh_CN zh_TW"
 PLUGINS_HASH='c332d306c0f6cf645c75eaf198d2fc5e12339e9e'
 PLUGINS_VERSION='2016.05.02' # if there are no updates, we can use the older 
archive
 
-inherit l10n qmake-utils
+inherit qmake-utils
 
 if [[ ${PV} == *9999 ]]; then
        inherit git-r3
@@ -69,21 +64,12 @@ src_prepare() {
        # get extra plugins into qupzilla build tree
        mv "${WORKDIR}"/${PN}-plugins-${PLUGINS_HASH}/plugins/* 
"${S}"/src/plugins/ || die
 
-       rm_loc() {
-               # remove localizations the user has not specified
-               sed -i -e "/${1}.ts/d" translations/translations.pri || die
-               rm translations/${1}.ts || die
-       }
-
        # remove outdated prebuilt localizations
        rm -rf bin/locale || die
 
        # remove empty locale
        rm translations/empty.ts || die
 
-       l10n_find_plocales_changes translations '' .ts
-       l10n_for_each_disabled_locale_do rm_loc
-
        default
 }
 

Reply via email to