diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-04-09 15:23:16 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-04-09 15:23:16 +0000 |
commit | 01bf9dac72921a279edd4382a0b5378bfcc2266e (patch) | |
tree | 30137af46d5159a5e1e88dd0278b7a06f1f96e76 /media-libs | |
parent | name changes (diff) | |
download | gentoo-2-01bf9dac72921a279edd4382a0b5378bfcc2266e.tar.gz gentoo-2-01bf9dac72921a279edd4382a0b5378bfcc2266e.tar.bz2 gentoo-2-01bf9dac72921a279edd4382a0b5378bfcc2266e.zip |
build without x fixes
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/gdk-pixbuf/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/gdk-pixbuf/files/digest-gdk-pixbuf-0.16.0-r8 | 1 | ||||
-rw-r--r-- | media-libs/gdk-pixbuf/gdk-pixbuf-0.16.0-r8.ebuild | 57 |
3 files changed, 65 insertions, 1 deletions
diff --git a/media-libs/gdk-pixbuf/ChangeLog b/media-libs/gdk-pixbuf/ChangeLog index a4e5d70ab477..273bc2c5a9e8 100644 --- a/media-libs/gdk-pixbuf/ChangeLog +++ b/media-libs/gdk-pixbuf/ChangeLog @@ -1,6 +1,12 @@ # 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.6 2002/04/03 00:46:55 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/gdk-pixbuf/ChangeLog,v 1.7 2002/04/09 15:23:16 azarah Exp $ + +*gdk-pixbuf-0.16.0-r8 (8 Apr 2002) + + 8 Apr 2002; M.Schlemmer <azarah@gentoo.org> gdk-pixbuf-0.16.0-r8.ebuild : + + Change to use the "virtualx" eclass. Some cleanups. 3 Apr 2002; M.Schlemmer <azarah@gentoo.org> gdk-pixbuf-0.16.0-r7.ebuild : diff --git a/media-libs/gdk-pixbuf/files/digest-gdk-pixbuf-0.16.0-r8 b/media-libs/gdk-pixbuf/files/digest-gdk-pixbuf-0.16.0-r8 new file mode 100644 index 000000000000..a42280783e68 --- /dev/null +++ b/media-libs/gdk-pixbuf/files/digest-gdk-pixbuf-0.16.0-r8 @@ -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-r8.ebuild b/media-libs/gdk-pixbuf/gdk-pixbuf-0.16.0-r8.ebuild new file mode 100644 index 000000000000..b78fb549edc9 --- /dev/null +++ b/media-libs/gdk-pixbuf/gdk-pixbuf-0.16.0-r8.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-r8.ebuild,v 1.1 2002/04/09 15:23:16 azarah Exp $ +. /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=">=x11-libs/gtk+-1.2.10-r4 + media-libs/libpng + media-libs/tiff + media-libs/jpeg + dev-libs/glib + sys-libs/zlib + >=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 +} + |