www-client/qupzilla: drop broken l10n handling
authorMichael Palimaka <kensington@gentoo.org>
Thu, 6 Oct 2016 17:58:58 +0000 (04:58 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Thu, 6 Oct 2016 17:59:10 +0000 (04:59 +1100)
Gentoo-bug: 590942

Package-Manager: portage-2.3.1

www-client/qupzilla/qupzilla-2.0.1.ebuild

index 42a3737accb5c5d5f75f8a0584b33bc82c6904a5..cacbc2196cda1307b9fe9981017fb7db221a00dc 100644 (file)
@@ -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
 }