summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-19 03:42:12 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-19 03:42:12 +0000
commite206f7d2b808c5333566cd584c234a242722caee (patch)
tree7c6bfd7c46f2cca2f15d6974fc7fea8f1bcdd4c4 /media-libs/imlib2
parentold (diff)
downloadgentoo-2-e206f7d2b808c5333566cd584c234a242722caee.tar.gz
gentoo-2-e206f7d2b808c5333566cd584c234a242722caee.tar.bz2
gentoo-2-e206f7d2b808c5333566cd584c234a242722caee.zip
stable
Diffstat (limited to 'media-libs/imlib2')
-rw-r--r--media-libs/imlib2/files/digest-imlib2-1.1.1.200404171
-rw-r--r--media-libs/imlib2/imlib2-1.1.0.ebuild4
-rw-r--r--media-libs/imlib2/imlib2-1.1.1.20040417.ebuild58
3 files changed, 61 insertions, 2 deletions
diff --git a/media-libs/imlib2/files/digest-imlib2-1.1.1.20040417 b/media-libs/imlib2/files/digest-imlib2-1.1.1.20040417
new file mode 100644
index 000000000000..1a89696afbe5
--- /dev/null
+++ b/media-libs/imlib2/files/digest-imlib2-1.1.1.20040417
@@ -0,0 +1 @@
+MD5 f9a62c99cef75cd2f7ff21d358058592 imlib2-1.1.1.20040417.tar.bz2 554293
diff --git a/media-libs/imlib2/imlib2-1.1.0.ebuild b/media-libs/imlib2/imlib2-1.1.0.ebuild
index 9b959bb661b2..e1428168b879 100644
--- a/media-libs/imlib2/imlib2-1.1.0.ebuild
+++ b/media-libs/imlib2/imlib2-1.1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 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.ebuild,v 1.7 2004/02/20 10:30:12 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/imlib2-1.1.0.ebuild,v 1.8 2004/04/19 03:42:12 vapier Exp $
inherit enlightenment flag-o-matic gcc
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="x86 ppc ~alpha hppa sparc ~amd64"
+KEYWORDS="x86 ppc alpha hppa sparc amd64"
IUSE="${IUSE} mmx gif png jpeg tiff static X"
DEPEND="=media-libs/freetype-2*
diff --git a/media-libs/imlib2/imlib2-1.1.1.20040417.ebuild b/media-libs/imlib2/imlib2-1.1.1.20040417.ebuild
new file mode 100644
index 000000000000..1b856a70e1cc
--- /dev/null
+++ b/media-libs/imlib2/imlib2-1.1.1.20040417.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2004 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.1.20040417.ebuild,v 1.1 2004/04/19 03:42:12 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"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="${IUSE} mmx gif png jpeg tiff static X"
+
+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() {
+ local mymmx=""
+ if [ "${ARCH}" == "amd64" ] ; then
+ append-flags -fPIC
+ mymmx="--disable-mmx"
+ else
+ mymmx="`use_enable mmx`"
+ fi
+
+
+ if [ "${S}" == "${WORKDIR}/${PN}" ] ; then
+ # cvs only stuff
+
+ export MY_ECONF="
+ ${mymmx} \
+ `use_with X x` \
+ "
+ EHACKAUTOGEN=yes
+ EHACKLIBLTDL=yes
+ enlightenment_src_compile
+ else
+ econf \
+ ${mymmx} \
+ `use_with X x` \
+ || die "could not configure"
+ emake || die "could not make"
+ fi
+}
+
+src_install() {
+ enlightenment_src_install
+ docinto samples
+ dodoc demo/*.c
+}