summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2002-11-07 15:47:04 +0000
committerMarinus Schraal <foser@gentoo.org>2002-11-07 15:47:04 +0000
commite6b611ae01079b04bdf7241b9b7189350400e18a (patch)
treeae73ece12206f7902f94760b3ce6aa256e0f03ec /media-libs/gdk-pixbuf
parentadded sys-cluster (diff)
downloadgentoo-2-e6b611ae01079b04bdf7241b9b7189350400e18a.tar.gz
gentoo-2-e6b611ae01079b04bdf7241b9b7189350400e18a.tar.bz2
gentoo-2-e6b611ae01079b04bdf7241b9b7189350400e18a.zip
New version
Diffstat (limited to 'media-libs/gdk-pixbuf')
-rw-r--r--media-libs/gdk-pixbuf/ChangeLog7
-rw-r--r--media-libs/gdk-pixbuf/files/digest-gdk-pixbuf-0.21.01
-rw-r--r--media-libs/gdk-pixbuf/gdk-pixbuf-0.21.0.ebuild62
3 files changed, 69 insertions, 1 deletions
diff --git a/media-libs/gdk-pixbuf/ChangeLog b/media-libs/gdk-pixbuf/ChangeLog
index 6a5f39d58479..1c5ca5578891 100644
--- a/media-libs/gdk-pixbuf/ChangeLog
+++ b/media-libs/gdk-pixbuf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/gdk-pixbuf
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gdk-pixbuf/ChangeLog,v 1.14 2002/09/30 23:52:36 spider Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gdk-pixbuf/ChangeLog,v 1.15 2002/11/07 15:47:04 foser Exp $
+
+*gdk-pixbuf-0.21.0 (07 Nov 2002)
+
+ 07 Nov 2002; foser <foser@gentoo.org> gdk-pixbuf-0.21.0.ebuild :
+ New version, fixed some deps added doc USE
*gdk-pixbuf-0.20.0 (01 Oct 2002)
diff --git a/media-libs/gdk-pixbuf/files/digest-gdk-pixbuf-0.21.0 b/media-libs/gdk-pixbuf/files/digest-gdk-pixbuf-0.21.0
new file mode 100644
index 000000000000..be2343c82dde
--- /dev/null
+++ b/media-libs/gdk-pixbuf/files/digest-gdk-pixbuf-0.21.0
@@ -0,0 +1 @@
+MD5 a6a185d555a8d665cb66ba909a7fb92d gdk-pixbuf-0.21.0.tar.bz2 397320
diff --git a/media-libs/gdk-pixbuf/gdk-pixbuf-0.21.0.ebuild b/media-libs/gdk-pixbuf/gdk-pixbuf-0.21.0.ebuild
new file mode 100644
index 000000000000..6c6ce41b65d3
--- /dev/null
+++ b/media-libs/gdk-pixbuf/gdk-pixbuf-0.21.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gdk-pixbuf/gdk-pixbuf-0.21.0.ebuild,v 1.1 2002/11/07 15:47:04 foser Exp $
+
+inherit virtualx libtool gnome.org
+
+IUSE="doc"
+S=${WORKDIR}/${P}
+DESCRIPTION="GNOME Image Library"
+HOMEPAGE="http://www.gtk.org/"
+
+RDEPEND="media-libs/jpeg
+ media-libs/tiff
+ =x11-libs/gtk+-1.2*
+ >=media-libs/libpng-1.2.1
+ >=gnome-base/gnome-libs-1.4.1.2-r1"
+# We need gnome-libs here, else gnome support do not get compiled into
+# gdk-pixbuf (the GnomeCanvasPixbuf library )
+
+RDEPEND="${DEPEND}
+ doc? ( dev-util/gtk-doc )"
+
+SLOT="0"
+LICENSE="GPL-2 LGPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64 ~alpha"
+
+src_unpack() {
+ unpack ${A}
+
+ cp ${S}/demo/Makefile.in ${S}/demo/Makefile.in.orig
+ sed -e 's:LDADD = :LDADD = $(LIBJPEG) $(LIBTIFF) $(LIBPNG) :' \
+ ${S}/demo/Makefile.in.orig > ${S}/demo/Makefile.in
+}
+
+src_compile() {
+ local myconf
+ #update libtool, else we get the "relink bug"
+ elibtoolize
+
+ use doc && myconf="--enable-gtk-doc" \
+ || myconf="--disable-gtk-doc"
+
+ econf --sysconfdir=/etc/X11/gdk-pixbuf || die
+
+ #build needs to be able to
+ #connect to an X display.
+ Xemake || die
+}
+
+src_install() {
+ einstall \
+ sysconfdir=${D}/etc/X11/gdk-pixbuf || die
+
+
+ dosed -e "s:${D}::g" /usr/bin/gdk-pixbuf-config
+ #fix permissions on the loaders
+ chmod a+rx ${D}/usr/lib/gdk-pixbuf/loaders
+ chmod a+r ${D}/usr/lib/gdk-pixbuf/loaders/*
+
+ dodoc AUTHORS COPYING* ChangeLog INSTALL README NEWS TODO
+}
+