diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2010-06-23 17:44:04 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2010-06-23 17:44:04 +0000 |
commit | 044a21978ae99f377bc660de919a56ef14a52179 (patch) | |
tree | 3294e6e1ab0f5934e23b73c53eeb62c736269be8 /media-sound | |
parent | Version bumped. (diff) | |
download | gentoo-2-044a21978ae99f377bc660de919a56ef14a52179.tar.gz gentoo-2-044a21978ae99f377bc660de919a56ef14a52179.tar.bz2 gentoo-2-044a21978ae99f377bc660de919a56ef14a52179.zip |
Add LINGUAS support
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/radiotray/ChangeLog | 5 | ||||
-rw-r--r-- | media-sound/radiotray/radiotray-9999.ebuild | 15 |
2 files changed, 18 insertions, 2 deletions
diff --git a/media-sound/radiotray/ChangeLog b/media-sound/radiotray/ChangeLog index 6e50ecfeeeea..6ee1c0da2044 100644 --- a/media-sound/radiotray/ChangeLog +++ b/media-sound/radiotray/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-sound/radiotray # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/radiotray/ChangeLog,v 1.5 2010/06/23 08:32:04 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/radiotray/ChangeLog,v 1.6 2010/06/23 17:44:04 hwoarang Exp $ + + 23 Jun 2010; Markos Chandras <hwoarang@gentoo.org> radiotray-9999.ebuild: + Add LINGUAS support 23 Jun 2010; Markos Chandras <hwoarang@gentoo.org> radiotray-9999.ebuild: Add missing dependencies wrt bug #324287 diff --git a/media-sound/radiotray/radiotray-9999.ebuild b/media-sound/radiotray/radiotray-9999.ebuild index 5add8a07cbd1..6c74a032f7e1 100644 --- a/media-sound/radiotray/radiotray-9999.ebuild +++ b/media-sound/radiotray/radiotray-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/radiotray/radiotray-9999.ebuild,v 1.4 2010/06/23 08:32:04 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/radiotray/radiotray-9999.ebuild,v 1.5 2010/06/23 17:44:04 hwoarang Exp $ EAPI=3 PYTHON_DEPEND="2" @@ -17,6 +17,13 @@ SLOT="0" KEYWORDS="" IUSE="" +LANGS="ca de el en_GB es fi fr gl gu hu it ko lt pl pt_BR pt ro ru sk sl sv te +tr uk zh_CN" + +for x in ${LANGS}; do + IUSE="${IUSE} linguas_${x}" +done + RDEPEND="dev-python/gst-python dev-python/pygtk dev-python/lxml @@ -42,4 +49,10 @@ S="${WORKDIR}"/${PN} src_prepare() { python_convert_shebangs -r 2 . distutils_src_prepare + # remove LINUGAS file so we can create our + rm "${S}"/po/LINGUAS + for x in ${LANGS}; do + use "linguas_${x}" && echo "${x}" >> "${S}"/po/LINGUAS + ! use "linguas_${x}" && rm "${S}"/po/${x}.po + done } |