summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2008-08-11 04:39:42 +0000
committerMarkus Meier <maekke@gentoo.org>2008-08-11 04:39:42 +0000
commitc9b85a53357bd3c26c2e37a49ff894e054489110 (patch)
treec8fdce08a64da874af8e4a793220267629f626b2 /media-gfx/qtpfsgui/qtpfsgui-1.9.2-r1.ebuild
parentAdd ~mips, bug #222243 (diff)
downloadgentoo-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/qtpfsgui/qtpfsgui-1.9.2-r1.ebuild')
-rw-r--r--media-gfx/qtpfsgui/qtpfsgui-1.9.2-r1.ebuild13
1 files changed, 12 insertions, 1 deletions
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
}