diff options
author | charIes17 <charles17@arcor.de> | 2017-01-10 16:40:58 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-01-27 00:19:07 +0100 |
commit | 2f1de9b5854beb49eeb8d91e4166c13747874c5e (patch) | |
tree | 1199c68f1f19bcf04ec10f279dd423b42986e4bb /x11-wm/lumina | |
parent | x11-wm/lumina: bump to version 1.2.0 (diff) | |
download | gentoo-2f1de9b5854beb49eeb8d91e4166c13747874c5e.tar.gz gentoo-2f1de9b5854beb49eeb8d91e4166c13747874c5e.tar.bz2 gentoo-2f1de9b5854beb49eeb8d91e4166c13747874c5e.zip |
x11-wm/lumina: Adjusting i18n stuff
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/3319
Diffstat (limited to 'x11-wm/lumina')
-rw-r--r-- | x11-wm/lumina/lumina-1.2.0.ebuild | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/x11-wm/lumina/lumina-1.2.0.ebuild b/x11-wm/lumina/lumina-1.2.0.ebuild index 4d128db5567e..e1f33b050928 100644 --- a/x11-wm/lumina/lumina-1.2.0.ebuild +++ b/x11-wm/lumina/lumina-1.2.0.ebuild @@ -8,17 +8,12 @@ inherit qmake-utils DESCRIPTION="Lumina desktop environment" HOMEPAGE="http://lumina-desktop.org/" I18N="161211" -SRC_URI="https://github.com/trueos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~grozin/${PN}-i18n-${I18N}.tar.bz2" +SRC_URI="https://github.com/trueos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -LANGS="af ar az bg bn bs ca cs cy da de el en-GB en-ZA es et eu fa fi fr fr-CA gl he hi hr hu id is it ja ka ko lt lv mk mn ms nb ne nl pa pl pt pt-BR ro ru sa sk sl sr sv sw ta tg th tr uk uz vi zh-CN zh-HK zh-TW zu" -for lang in ${LANGS}; do - IUSE="${IUSE} l10n_${lang}" -done COMMON_DEPEND="dev-qt/qtcore:5 dev-qt/qtconcurrent:5 @@ -59,18 +54,11 @@ src_prepare(){ src_configure(){ eqmake5 PREFIX="${EPREFIX}/usr" L_BINDIR="${EPREFIX}/usr/bin" \ L_ETCDIR="${EPREFIX}/etc" L_LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ - LIBPREFIX="${EPREFIX}/usr/$(get_libdir)" DESTDIR="${D}" + LIBPREFIX="${EPREFIX}/usr/$(get_libdir)" DESTDIR="${D}" CONFIG+=WITH_I18N } src_install(){ default mv "${ED%/}"/etc/luminaDesktop.conf{.dist,} || die rm "${ED%/}"/${PN}-* "${ED%/}"/start-${PN}-desktop || die - mkdir "${ED%/}"/usr/share/${PN}-desktop/i18n || die - for lang in ${LANGS}; do - make lang local - if use l10n_${lang}; then - cp ../${PN}-i18n/*_${lang}.qm "${ED%/}"/usr/share/${PN}-desktop/i18n/ || die "Language ${lang} not found" - fi - done } |