diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-10-07 04:58:58 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-10-07 04:59:10 +1100 |
commit | 058b01b9c261f2417575f149ebfc244c1f898070 (patch) | |
tree | 05915b83b898dabe6b4d8d7dadeba580fbdd1c6d /www-client/qupzilla | |
parent | sys-apps/openrc: 0.22.2 version bump (diff) | |
download | gentoo-058b01b9c261f2417575f149ebfc244c1f898070.tar.gz gentoo-058b01b9c261f2417575f149ebfc244c1f898070.tar.bz2 gentoo-058b01b9c261f2417575f149ebfc244c1f898070.zip |
www-client/qupzilla: drop broken l10n handling
Gentoo-bug: 590942
Package-Manager: portage-2.3.1
Diffstat (limited to 'www-client/qupzilla')
-rw-r--r-- | www-client/qupzilla/qupzilla-2.0.1.ebuild | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/www-client/qupzilla/qupzilla-2.0.1.ebuild b/www-client/qupzilla/qupzilla-2.0.1.ebuild index 42a3737accb5..cacbc2196cda 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 } |