summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2004-08-12 16:55:28 +0000
committerHanno Böck <hanno@gentoo.org>2004-08-12 16:55:28 +0000
commitf7169f71e5033df47b11c114f5234d733f1b9bed (patch)
treee54390f571d313733fccc68e85fd91ea4f067d97 /media-libs/imlib
parentClosing #60013 (Manifest recommit) (diff)
downloadgentoo-2-f7169f71e5033df47b11c114f5234d733f1b9bed.tar.gz
gentoo-2-f7169f71e5033df47b11c114f5234d733f1b9bed.tar.bz2
gentoo-2-f7169f71e5033df47b11c114f5234d733f1b9bed.zip
imlib gtk dep fix (bug #40453)
Diffstat (limited to 'media-libs/imlib')
-rw-r--r--media-libs/imlib/ChangeLog7
-rw-r--r--media-libs/imlib/imlib-1.9.14-r1.ebuild8
2 files changed, 9 insertions, 6 deletions
diff --git a/media-libs/imlib/ChangeLog b/media-libs/imlib/ChangeLog
index 23a11c73fd27..2a570c955b10 100644
--- a/media-libs/imlib/ChangeLog
+++ b/media-libs/imlib/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for media-libs/imlib
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib/ChangeLog,v 1.19 2004/07/27 03:07:48 tgall Exp $
-
+# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib/ChangeLog,v 1.20 2004/08/12 16:55:28 hanno Exp $
+
+ 12 Aug 2004; Hanno Boeck <hanno@gentoo.org> imlib-1.9.14-r1.ebuild:
+ No gtk-dep if USE="-gtk" is set.
+
26 Jul 2004; Tom Gall <tgall@gentoo.org> imlib-1.9.14-r1.ebuild:
stable on ppc64
diff --git a/media-libs/imlib/imlib-1.9.14-r1.ebuild b/media-libs/imlib/imlib-1.9.14-r1.ebuild
index 9eb3456a1085..0577f639e6db 100644
--- a/media-libs/imlib/imlib-1.9.14-r1.ebuild
+++ b/media-libs/imlib/imlib-1.9.14-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib/imlib-1.9.14-r1.ebuild,v 1.26 2004/07/27 03:07:48 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib/imlib-1.9.14-r1.ebuild,v 1.27 2004/08/12 16:55:28 hanno Exp $
inherit gnome.org libtool
@@ -12,7 +12,7 @@ LICENSE="GPL-2"
KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64 mips ppc64"
IUSE=""
-DEPEND="=x11-libs/gtk+-1.2*
+DEPEND="gtk? ( =x11-libs/gtk+-1.2* )
>=media-libs/tiff-3.5.5
>=media-libs/giflib-4.1.0
>=media-libs/libpng-1.2.1
@@ -20,7 +20,6 @@ DEPEND="=x11-libs/gtk+-1.2*
src_unpack() {
unpack ${A}
-
# fix config script bug 3425
cd ${S}
mv imlib-config.in imlib-config.in.bad
@@ -28,8 +27,9 @@ src_unpack() {
}
src_compile() {
+ [ `use gtk` ] || econf_args="--with-gtk-prefix=/dev/null --disable-gtktest"
elibtoolize
- econf --sysconfdir=/etc/imlib || die
+ econf --sysconfdir=/etc/imlib ${econf_args} || die
emake || die
}