summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2008-01-23 12:12:35 +0000
committerCaleb Tennis <caleb@gentoo.org>2008-01-23 12:12:35 +0000
commite8f3b101b18e4556399fd3a8fbcaa4c6f13fb9d4 (patch)
treee1943123ad38277c5ece09a359c4f9e9aa50730b /x11-libs/qt-gui
parentKeyworded ~amd64; bug 202690 (diff)
downloadgentoo-2-e8f3b101b18e4556399fd3a8fbcaa4c6f13fb9d4.tar.gz
gentoo-2-e8f3b101b18e4556399fd3a8fbcaa4c6f13fb9d4.tar.bz2
gentoo-2-e8f3b101b18e4556399fd3a8fbcaa4c6f13fb9d4.zip
Only compile the imageformats we support
(Portage version: 2.1.4)
Diffstat (limited to 'x11-libs/qt-gui')
-rw-r--r--x11-libs/qt-gui/qt-gui-4.4.0_rc1.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/x11-libs/qt-gui/qt-gui-4.4.0_rc1.ebuild b/x11-libs/qt-gui/qt-gui-4.4.0_rc1.ebuild
index ee0ea631bf87..6495998245ec 100644
--- a/x11-libs/qt-gui/qt-gui-4.4.0_rc1.ebuild
+++ b/x11-libs/qt-gui/qt-gui-4.4.0_rc1.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/x11-libs/qt-gui/qt-gui-4.4.0_rc1.ebuild,v 1.8 2008/01/22 14:37:23 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-gui/qt-gui-4.4.0_rc1.ebuild,v 1.9 2008/01/23 12:12:35 caleb Exp $
inherit eutils qt4-build
@@ -45,7 +45,7 @@ DEPEND="${RDEPEND}
x11-proto/xextproto
x11-proto/inputproto"
-QT4_TARGET_DIRECTORIES="src/gui tools/designer tools/linguist src/plugins/imageformats src/plugins/designer"
+QT4_TARGET_DIRECTORIES="src/gui tools/designer tools/linguist src/plugins/imageformats/gif src/plugins/imageformats/ico src/plugins/imageformats/jpeg src/plugins/designer"
src_unpack() {
qt4-build_src_unpack
@@ -103,11 +103,17 @@ src_compile() {
./configure ${myconf} || die
use dbus && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} tools/qdbus/qdbusviewer"
+ use mng && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} src/plugins/imageformats/mng"
+ use tiff && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} src/plugins/imageformats/tiff"
+
build_target_directories
}
src_install() {
use dbus && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} tools/qdbus/qdbusviewer"
+ use mng && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} src/plugins/imageformats/mng"
+ use tiff && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} src/plugins/imageformats/tiff"
+
qt4-build_src_install
insinto /usr/share/applications