diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-04-13 01:16:10 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-04-13 01:16:10 +0000 |
commit | 6676aa4c57a55042a1db8dad43025375f5d2685a (patch) | |
tree | 525dd217ba0c9149874980cca2d21c9309f9eda4 /media-libs/gdk-pixbuf | |
parent | ogg and vorbis flags are actually one oggvorbis flag (diff) | |
download | gentoo-2-6676aa4c57a55042a1db8dad43025375f5d2685a.tar.gz gentoo-2-6676aa4c57a55042a1db8dad43025375f5d2685a.tar.bz2 gentoo-2-6676aa4c57a55042a1db8dad43025375f5d2685a.zip |
Compile against newer libpng
Diffstat (limited to 'media-libs/gdk-pixbuf')
-rw-r--r-- | media-libs/gdk-pixbuf/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/gdk-pixbuf/files/digest-gdk-pixbuf-0.16.0-r9 | 1 | ||||
-rw-r--r-- | media-libs/gdk-pixbuf/gdk-pixbuf-0.16.0-r9.ebuild | 57 |
3 files changed, 66 insertions, 1 deletions
diff --git a/media-libs/gdk-pixbuf/ChangeLog b/media-libs/gdk-pixbuf/ChangeLog index 273bc2c5a9e8..6350aa769bd2 100644 --- a/media-libs/gdk-pixbuf/ChangeLog +++ b/media-libs/gdk-pixbuf/ChangeLog @@ -1,6 +1,13 @@ # 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.7 2002/04/09 15:23:16 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/gdk-pixbuf/ChangeLog,v 1.8 2002/04/13 01:12:34 seemant Exp $ + +*gdk-pixbuf-0.16.0-r9 (12 Apr 2002) + + 12 Apr 2002; Seemant Kulleen <seemant@gentoo.org> gdk-pixbuf-0.16.0-r9.ebuild: + + Updated to depend on the new libpng (which requires that this be recompiled + against that). *gdk-pixbuf-0.16.0-r8 (8 Apr 2002) diff --git a/media-libs/gdk-pixbuf/files/digest-gdk-pixbuf-0.16.0-r9 b/media-libs/gdk-pixbuf/files/digest-gdk-pixbuf-0.16.0-r9 new file mode 100644 index 000000000000..a42280783e68 --- /dev/null +++ b/media-libs/gdk-pixbuf/files/digest-gdk-pixbuf-0.16.0-r9 @@ -0,0 +1 @@ +MD5 941eb582ea273651945feb26299d8266 gdk-pixbuf-0.16.0.tar.gz 530090 diff --git a/media-libs/gdk-pixbuf/gdk-pixbuf-0.16.0-r9.ebuild b/media-libs/gdk-pixbuf/gdk-pixbuf-0.16.0-r9.ebuild new file mode 100644 index 000000000000..1f95e538be8e --- /dev/null +++ b/media-libs/gdk-pixbuf/gdk-pixbuf-0.16.0-r9.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/media-libs/gdk-pixbuf/gdk-pixbuf-0.16.0-r9.ebuild,v 1.1 2002/04/13 01:12:34 seemant Exp $ + +#provide Xmake and Xemake +. /usr/portage/eclass/inherit.eclass +inherit virtualx + +S=${WORKDIR}/${P} +DESCRIPTION="GNOME Image Library" +SRC_URI="ftp://ftp.gnome.org/pub/GNOME/unstable/sources/${PN}/${P}.tar.gz" + +DEPEND="media-libs/jpeg + media-libs/tiff + >=x11-libs/gtk+-1.2.10-r4 + >=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 ) + +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() { + + #update libtool, else we get the "relink bug" + libtoolize --copy --force + + ./configure --host=${CHOST} \ + --prefix=/usr \ + --sysconfdir=/etc/X11/gdk-pixbuf || die + + #build needs to be able to + #connect to an X display. + Xemake || die +} + +src_install() { + + make prefix=${D}/usr \ + sysconfdir=${D}/etc/X11/gdk-pixbuf \ + install || die + + #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 +} + |