diff options
author | Jakub Moc <jakub@gentoo.org> | 2007-07-04 08:34:42 +0000 |
---|---|---|
committer | Jakub Moc <jakub@gentoo.org> | 2007-07-04 08:34:42 +0000 |
commit | 1719e4937dd05bf50628f49db11cdcf4428e3ff0 (patch) | |
tree | 35410b121a830af1413b20b33f6d32b0b4a1de0c /media-video | |
parent | More dependency fixes (diff) | |
download | sunrise-reviewed-1719e4937dd05bf50628f49db11cdcf4428e3ff0.tar.gz sunrise-reviewed-1719e4937dd05bf50628f49db11cdcf4428e3ff0.tar.bz2 sunrise-reviewed-1719e4937dd05bf50628f49db11cdcf4428e3ff0.zip |
media-video/cheese: Add an ugly hack to honor LINGUAS
svn path=/sunrise/; revision=4144
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/cheese/ChangeLog | 3 | ||||
-rw-r--r-- | media-video/cheese/Manifest | 4 | ||||
-rw-r--r-- | media-video/cheese/cheese-0.1.3.ebuild | 18 |
3 files changed, 22 insertions, 3 deletions
diff --git a/media-video/cheese/ChangeLog b/media-video/cheese/ChangeLog index 151856018..8b835b625 100644 --- a/media-video/cheese/ChangeLog +++ b/media-video/cheese/ChangeLog @@ -3,6 +3,9 @@ # $Header: $ 04 Jul 2007; Jakub Moc <jakub@gentoo.org> cheese-0.1.3.ebuild: + Add an ugly hack to honor LINGUAS + + 04 Jul 2007; Jakub Moc <jakub@gentoo.org> cheese-0.1.3.ebuild: Fix dependencies. 04 Jul 2007; Jakub Moc <jakub@gentoo.org> cheese-0.1.3.ebuild: diff --git a/media-video/cheese/Manifest b/media-video/cheese/Manifest index 17b7432b3..aae4c9191 100644 --- a/media-video/cheese/Manifest +++ b/media-video/cheese/Manifest @@ -1,4 +1,4 @@ DIST cheese-0.1.3.tar.gz 727848 RMD160 87d71dece017f3b7ec0fe45cff8caee5550eb834 SHA1 3fc7ed5f3d3d69190ddcef9f684ac002eb50f836 SHA256 0272a8082f02ebb252b06cd12ffd213c217bf7fb74253735342bc0643bb70854 -EBUILD cheese-0.1.3.ebuild 831 RMD160 e95c8a7ce0b2ae43ab6c668577418271d4d0291b SHA1 c17347a249bd9d58b369eb9a2a0dddcc9d055455 SHA256 051bb422bbb7fb25cfeb136f987478b0ba281ec5a5ae86d0a6197ce656db4165 -MISC ChangeLog 594 RMD160 dc87892316ca9ac31a86ba22cd7fca488c737f38 SHA1 9129bccebeec63b9a48eead5702a11fa1e318678 SHA256 bf12897d6a19e6e7f7b13ba843acd53640a29fd107744dbb63ea1d7be91773cc +EBUILD cheese-0.1.3.ebuild 1161 RMD160 d93bbd6d455804a2449c1c88fa9890afc8d715a1 SHA1 1129db9212a987d09323c455d9027c826e300a70 SHA256 4a9477e965d00f58717ae69d2092330cf8e86952cdccb0a310d7bd4b24e231fe +MISC ChangeLog 696 RMD160 7ec323484443ef9fc51cd92241b5f354dd8c52d9 SHA1 d10963c6fe1e25b6f5ca2db5ebbd740eea9d8531 SHA256 e6512ef2962e835b8491f677a70c449c7f33a02cb84874d2048a3f6eccd0b4e3 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/media-video/cheese/cheese-0.1.3.ebuild b/media-video/cheese/cheese-0.1.3.ebuild index cc82b9ffb..11df2a2a9 100644 --- a/media-video/cheese/cheese-0.1.3.ebuild +++ b/media-video/cheese/cheese-0.1.3.ebuild @@ -16,6 +16,11 @@ SLOT="0" KEYWORDS="~amd64" IUSE="nls" +LANGS="cs de es fr gl it nl pt" +for x in ${LANGS} ; do + IUSE="${IUSE} linguas_${x}" +done + RDEPEND=">=dev-libs/glib-2.12 dev-libs/dbus-glib dev-python/pygobject @@ -27,6 +32,17 @@ RDEPEND=">=dev-libs/glib-2.12 DEPEND="${RDEPEND} dev-util/pkgconfig - sys-devel/gettext" + nls? ( sys-devel/gettext )" DOCS="AUTHORS ChangeLog README TODO" + +src_unpack() { + gnome2_src_unpack + if ! use nls ; then + sed -i -e "s/src po data/src data/" Makefile || die "sed failed" + else + for x in ${LANGS} ; do + use linguas_${x} || sed -i -e "/^LANGS/s:${x}::" po/Makefile + done + fi +} |