diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-04-13 01:10:41 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-04-13 01:10:41 +0000 |
commit | acbfaeb5a225c222c0eff578a3873b3ede8224d1 (patch) | |
tree | 7aade932ced530014c10e06904ec37127dbb971e | |
parent | is cvs breaking? libpng compile (diff) | |
download | historical-acbfaeb5a225c222c0eff578a3873b3ede8224d1.tar.gz historical-acbfaeb5a225c222c0eff578a3873b3ede8224d1.tar.bz2 historical-acbfaeb5a225c222c0eff578a3873b3ede8224d1.zip |
compile against libpng
-rw-r--r-- | media-gfx/gnome-iconedit/files/digest-gnome-iconedit-1.2.0-r4 | 1 | ||||
-rw-r--r-- | media-gfx/gnome-iconedit/gnome-iconedit-1.2.0-r4.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/media-gfx/gnome-iconedit/files/digest-gnome-iconedit-1.2.0-r4 b/media-gfx/gnome-iconedit/files/digest-gnome-iconedit-1.2.0-r4 new file mode 100644 index 000000000000..2ef172ccdb49 --- /dev/null +++ b/media-gfx/gnome-iconedit/files/digest-gnome-iconedit-1.2.0-r4 @@ -0,0 +1 @@ +MD5 76fcee700222898cc322a12844fb813a gnome-iconedit_1.2.0.orig.tar.gz 205360 diff --git a/media-gfx/gnome-iconedit/gnome-iconedit-1.2.0-r4.ebuild b/media-gfx/gnome-iconedit/gnome-iconedit-1.2.0-r4.ebuild new file mode 100644 index 000000000000..727232765fb0 --- /dev/null +++ b/media-gfx/gnome-iconedit/gnome-iconedit-1.2.0-r4.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Martin Schlemmer <azarah@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gnome-iconedit/gnome-iconedit-1.2.0-r4.ebuild,v 1.1 2002/04/13 01:10:41 seemant Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Edits icons, what more can you say?" +SRC_URI="http://210.77.60.218/ftp/ftp.debian.org/pool/main/g/gnome-iconedit/gnome-iconedit_${PV}.orig.tar.gz" +HOMEPAGE="www.advogato.org/proj/GNOME-Iconedit/" + +DEPEND=">=gnome-base/gnome-libs-1.4.1.2-r1 + >=x11-libs/gtk+-1.2.10-r4 + >=media-libs/gdk-pixbuf-0.11.0-r1 + media-libs/libpng + gnome-base/ORBit" +# Gnome-Print support is broken +# >=gnome-base/gnome-print-0.30 +# Bonobo support is broken +# bonobo? ( gnome-base/bonobo )" + + + +src_unpack() { + + unpack ${A} + + # Fix some compile / #include errors + cd ${S} + patch -p1 <${FILESDIR}/gnome-iconedit.diff || die + + # Update the Makefiles. + export WANT_AUTOMAKE_1_4=1 + export WANT_AUTOCONF_2_1=1 + automake --add-missing + autoconf +} + +src_compile() { + + local myconf + use nls || myconf="--disable-nls" + + CFLAGS="${CFLAGS} `gnome-config --cflags print`" + + ./configure --host=${CHOST} \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-sysconfdir=/etc \ + --without-gnome-print \ + ${myconf} || die + + emake || die +} + +src_install() { + + make prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + sysconfdir=${D}/etc install || die + + dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO +} |