summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-12-25 05:29:41 +0000
committerMike Frysinger <vapier@gentoo.org>2003-12-25 05:29:41 +0000
commit009d268ff7eb52fc50227d174112534c7e3695fd (patch)
tree943c14c16aadd69a98ef908cdc3ab7f658097d65 /media-libs/imlib2
parentold (diff)
downloadhistorical-009d268ff7eb52fc50227d174112534c7e3695fd.tar.gz
historical-009d268ff7eb52fc50227d174112534c7e3695fd.tar.bz2
historical-009d268ff7eb52fc50227d174112534c7e3695fd.zip
ver bump
Diffstat (limited to 'media-libs/imlib2')
-rw-r--r--media-libs/imlib2/files/digest-imlib2-1.1.0.200312251
-rw-r--r--media-libs/imlib2/imlib2-1.1.0.20031225.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/media-libs/imlib2/files/digest-imlib2-1.1.0.20031225 b/media-libs/imlib2/files/digest-imlib2-1.1.0.20031225
new file mode 100644
index 000000000000..19e6db9c9545
--- /dev/null
+++ b/media-libs/imlib2/files/digest-imlib2-1.1.0.20031225
@@ -0,0 +1 @@
+MD5 65f6e7693dcdc9ac62bb0708552e04e2 imlib2-1.1.0.20031225.tar.bz2 555606
diff --git a/media-libs/imlib2/imlib2-1.1.0.20031225.ebuild b/media-libs/imlib2/imlib2-1.1.0.20031225.ebuild
new file mode 100644
index 000000000000..03bb42b9ac6e
--- /dev/null
+++ b/media-libs/imlib2/imlib2-1.1.0.20031225.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/imlib2-1.1.0.20031225.ebuild,v 1.1 2003/12/25 05:28:22 vapier Exp $
+
+inherit enlightenment flag-o-matic gcc
+
+DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm"
+HOMEPAGE="http://www.enlightenment.org/pages/imlib2.html"
+#SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~alpha ~mips ~arm ~hppa ~sparc amd64"
+IUSE="${IUSE} mmx gif png jpeg tiff static X"
+
+DEPEND="${DEPEND}
+ =media-libs/freetype-2*
+ gif? ( media-libs/libungif
+ >=media-libs/giflib-4.1.0 )
+ png? ( >=media-libs/libpng-1.2.1 )
+ jpeg? ( media-libs/jpeg )
+ tiff? ( >=media-libs/tiff-3.5.5 )
+ X? ( virtual/x11 )"
+
+S=${WORKDIR}/${PN} # cvs
+#S=${WORKDIR}/${P} # release
+
+src_compile() {
+ replace-flags k6-3 i586
+ replace-flags k6-2 i586
+ replace-flags k6 i586
+
+ [ "${ARCH}" = "amd64" ] && append-flags -fPIC
+
+ if [ "${S}" == "${WORKDIR}/${PN}" ] ; then
+ # cvs only stuff
+
+ # uhh, assumes x86 asm for mmx, doesn't work on amd64
+ if [ "${ARCH}" = "amd64" ]
+ then
+ mmx="--disable-mmx"
+ else
+ mmx=`use_enable mmx`
+ fi
+
+ export MY_ECONF="
+ ${mmx} \
+ `use_with X x` \
+ --sysconfdir=/etc/X11/imlib
+ "
+ EHACKAUTOGEN=yes
+ EHACKLIBLTDL=yes
+ enlightenment_src_compile
+ else
+ econf \
+ `use_enable mmx` \
+ `use_with X x` \
+ --sysconfdir=/etc/X11/imlib \
+ || die "could not configure"
+ emake || die "could not make"
+ fi
+}
+
+src_install() {
+ make prefix=${D}/usr sysconfdir=${D}/etc/X11/imlib install || die
+ dodoc AUTHORS ChangeLog README TODO
+ dohtml -r doc
+ docinto samples
+ dodoc demo/*.c
+}