commit: a5aa3638e33111e0358fb93ec92f5c91855447a6
Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 18 19:10:21 2014 +0000
Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
CommitDate: Wed Jun 18 19:10:21 2014 +0000
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=a5aa3638
Revert "[www-client/qupzilla] Remove linguas code that only controls
installation of small files. Fixes bug #513674."
This reverts commit 38efc00695dd46364af0f99adce98af64bccad86.
Reverted because of policy violation on LINGUAS
---
www-client/qupzilla/qupzilla-9999.ebuild | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/www-client/qupzilla/qupzilla-9999.ebuild
b/www-client/qupzilla/qupzilla-9999.ebuild
index be3a67d..e10f23a 100644
--- a/www-client/qupzilla/qupzilla-9999.ebuild
+++ b/www-client/qupzilla/qupzilla-9999.ebuild
@@ -16,7 +16,11 @@ else
S=${WORKDIR}/${MY_P}
fi
-inherit multilib qt4-r2 ${VCS_ECLASS}
+PLOCALES="cs_CZ de_DE el_GR es_ES es_VE fa_IR fr_FR hu_HU id_ID it_IT ja_JP
+ka_GE nl_NL pl_PL pt_BR pt_PT ro_RO ru_RU sk_SK sr_BA sr_RS sv_SE uk_UA
+zh_CN zh_TW"
+
+inherit l10n multilib qt4-r2 ${VCS_ECLASS}
DESCRIPTION="Qt WebKit web browser"
HOMEPAGE="http://www.qupzilla.com/"
@@ -55,3 +59,12 @@ src_configure() {
eqmake4
}
+
+src_install() {
+ qt4-r2_src_install
+ l10n_for_each_disabled_locale_do rm_loc
+}
+
+rm_loc() {
+ rm "${D}"/usr/share/${PN}/locale/${1}.qm || die
+}