diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2012-05-21 20:38:54 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2012-05-21 20:38:54 +0000 |
commit | 66fb0038eccc3447b03af45d962f9bb1349bff20 (patch) | |
tree | 5747604ba85042e4bc28b8145e8bc88ab5f51501 /media-gfx/shotwell | |
parent | Fix broken Manifest from last commit. (diff) | |
download | gentoo-2-66fb0038eccc3447b03af45d962f9bb1349bff20.tar.gz gentoo-2-66fb0038eccc3447b03af45d962f9bb1349bff20.tar.bz2 gentoo-2-66fb0038eccc3447b03af45d962f9bb1349bff20.zip |
respect LINGUAS. Bug #407853
(Portage version: 2.1.10.62/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/shotwell')
-rw-r--r-- | media-gfx/shotwell/ChangeLog | 5 | ||||
-rw-r--r-- | media-gfx/shotwell/shotwell-0.12.3.ebuild | 18 |
2 files changed, 21 insertions, 2 deletions
diff --git a/media-gfx/shotwell/ChangeLog b/media-gfx/shotwell/ChangeLog index 483bc4cfcf8f..e480eccf6169 100644 --- a/media-gfx/shotwell/ChangeLog +++ b/media-gfx/shotwell/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-gfx/shotwell # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/shotwell/ChangeLog,v 1.36 2012/05/21 18:54:46 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/shotwell/ChangeLog,v 1.37 2012/05/21 20:38:54 hwoarang Exp $ + + 21 May 2012; Markos Chandras <hwoarang@gentoo.org> shotwell-0.12.3.ebuild: + respect LINGUAS. Bug #407853 *shotwell-0.12.3 (21 May 2012) diff --git a/media-gfx/shotwell/shotwell-0.12.3.ebuild b/media-gfx/shotwell/shotwell-0.12.3.ebuild index cb6a088815d4..b7ec7108bb00 100644 --- a/media-gfx/shotwell/shotwell-0.12.3.ebuild +++ b/media-gfx/shotwell/shotwell-0.12.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/shotwell/shotwell-0.12.3.ebuild,v 1.1 2012/05/21 18:54:46 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/shotwell/shotwell-0.12.3.ebuild,v 1.2 2012/05/21 20:38:54 hwoarang Exp $ EAPI=4 GCONF_DEBUG="no" @@ -16,6 +16,13 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" +LANGS="ar ast bg bn ca cs da de el en_GB es et eu fi fr gl he hi hr hu ia id it ja kk +ko lt lv mk nb nl pa pl pt pt_BR ro ru sk sl sr sv ta te ta_IN te_IN th tr uk vi zh_CN zh_TW" + +for x in ${LANGS}; do + IUSE+="linguas_${x} " +done + RDEPEND=" >=dev-db/sqlite-3.5.9:3 >=dev-libs/dbus-glib-0.80 @@ -60,3 +67,12 @@ src_prepare() { src_compile() { emake VALAC="$(type -p valac-0.16)" } + +src_install() { + gnome2_src_install + for x in ${LANGS}; do + if ! has ${x} ${LINGUAS}; then + find "${D}"/usr/share/locale/${x} -type f -exec rm {} \; + fi + done +} |