diff options
author | Markus Meier <maekke@gentoo.org> | 2008-08-11 04:39:42 +0000 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2008-08-11 04:39:42 +0000 |
commit | c9b85a53357bd3c26c2e37a49ff894e054489110 (patch) | |
tree | c8fdce08a64da874af8e4a793220267629f626b2 /media-gfx | |
parent | Add ~mips, bug #222243 (diff) | |
download | gentoo-2-c9b85a53357bd3c26c2e37a49ff894e054489110.tar.gz gentoo-2-c9b85a53357bd3c26c2e37a49ff894e054489110.tar.bz2 gentoo-2-c9b85a53357bd3c26c2e37a49ff894e054489110.zip |
do not install html documentation twice and add support for LINGUAS, bug #231599
(Portage version: 2.2_rc6/cvs/Linux 2.6.27-rc2 i686)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/qtpfsgui/ChangeLog | 6 | ||||
-rw-r--r-- | media-gfx/qtpfsgui/qtpfsgui-1.9.2-r1.ebuild | 13 |
2 files changed, 17 insertions, 2 deletions
diff --git a/media-gfx/qtpfsgui/ChangeLog b/media-gfx/qtpfsgui/ChangeLog index 0c27cda1b341..9be52fc5315d 100644 --- a/media-gfx/qtpfsgui/ChangeLog +++ b/media-gfx/qtpfsgui/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/qtpfsgui # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/qtpfsgui/ChangeLog,v 1.7 2008/07/04 21:16:55 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/qtpfsgui/ChangeLog,v 1.8 2008/08/11 04:39:42 maekke Exp $ + + 11 Aug 2008; Markus Meier <maekke@gentoo.org> qtpfsgui-1.9.2-r1.ebuild: + do not install html documentation twice and add support for LINGUAS, bug + #231599 *qtpfsgui-1.9.2-r1 (04 Jul 2008) diff --git a/media-gfx/qtpfsgui/qtpfsgui-1.9.2-r1.ebuild b/media-gfx/qtpfsgui/qtpfsgui-1.9.2-r1.ebuild index 315a275c3d70..a788d51a4987 100644 --- a/media-gfx/qtpfsgui/qtpfsgui-1.9.2-r1.ebuild +++ b/media-gfx/qtpfsgui/qtpfsgui-1.9.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/qtpfsgui/qtpfsgui-1.9.2-r1.ebuild,v 1.1 2008/07/04 21:16:55 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/qtpfsgui/qtpfsgui-1.9.2-r1.ebuild,v 1.2 2008/08/11 04:39:42 maekke Exp $ EAPI="1" @@ -15,6 +15,11 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc" +LANGS="cs de es fr it pl ru tr" +for lang in ${LANGS} ; do + IUSE="${IUSE} linguas_${lang}" +done + DEPEND=" media-gfx/dcraw >=media-gfx/exiv2-0.14 @@ -34,6 +39,8 @@ src_unpack() { # no insane CXXFLAGS sed -i -e '/QMAKE_CXXFLAGS/d' project.pro || die + # no HTML installation by qmake + sed -i -e '/INSTALLS/s:htmls ::' project.pro || die } src_compile() { @@ -48,4 +55,8 @@ src_install() { if use doc ; then dohtml -r html/ || die fi + + for lang in ${LANGS} ; do + use linguas_${lang} || rm "${D}"/usr/share/${PN}/i18n/lang_${lang}.qm + done } |