summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-01 00:02:04 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-01 00:02:04 +0000
commit6f116c242f3ac6f31487f259dfcba498d333ad7a (patch)
tree5dbdd23fa3d0fdb6c874b2b57668d5c05f9e1d65 /media-libs
parentold (diff)
downloadgentoo-2-6f116c242f3ac6f31487f259dfcba498d333ad7a.tar.gz
gentoo-2-6f116c242f3ac6f31487f259dfcba498d333ad7a.tar.bz2
gentoo-2-6f116c242f3ac6f31487f259dfcba498d333ad7a.zip
Make sure the imlib2.pc isnt installed with bad mojo #83107 by Heath H Holcomb.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/imlib2/ChangeLog7
-rw-r--r--media-libs/imlib2/files/digest-imlib2-1.2.0-r21
-rw-r--r--media-libs/imlib2/imlib2-1.2.0-r2.ebuild47
3 files changed, 54 insertions, 1 deletions
diff --git a/media-libs/imlib2/ChangeLog b/media-libs/imlib2/ChangeLog
index 7b35ea054546..49d43fd8273c 100644
--- a/media-libs/imlib2/ChangeLog
+++ b/media-libs/imlib2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/imlib2
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/ChangeLog,v 1.37 2005/02/21 05:49:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/ChangeLog,v 1.38 2005/03/01 00:02:04 vapier Exp $
+
+*imlib2-1.2.0-r2 (28 Feb 2005)
+
+ 28 Feb 2005; Mike Frysinger <vapier@gentoo.org> +imlib2-1.2.0-r2.ebuild:
+ Make sure the imlib2.pc isnt installed with bad mojo #83107 by Heath H Holcomb.
*imlib2-1.2.0-r1 (21 Feb 2005)
diff --git a/media-libs/imlib2/files/digest-imlib2-1.2.0-r2 b/media-libs/imlib2/files/digest-imlib2-1.2.0-r2
new file mode 100644
index 000000000000..f74c3378cdfe
--- /dev/null
+++ b/media-libs/imlib2/files/digest-imlib2-1.2.0-r2
@@ -0,0 +1 @@
+MD5 853fb77100ee3c3ca944f52c892ab49b imlib2-1.2.0.tar.gz 890457
diff --git a/media-libs/imlib2/imlib2-1.2.0-r2.ebuild b/media-libs/imlib2/imlib2-1.2.0-r2.ebuild
new file mode 100644
index 000000000000..3c51a8d12551
--- /dev/null
+++ b/media-libs/imlib2/imlib2-1.2.0-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/imlib2-1.2.0-r2.ebuild,v 1.1 2005/03/01 00:02:04 vapier Exp $
+
+EHACKAUTOGEN=yes
+inherit enlightenment
+
+MY_P=${P/_/-}
+DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm"
+HOMEPAGE="http://www.enlightenment.org/pages/imlib2.html"
+
+IUSE="X gif jpeg mmx png tiff"
+
+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 )"
+
+src_unpack() {
+ enlightenment_src_unpack
+ cd ${S}
+ epatch ${FILESDIR}/${P}-loaders.patch
+}
+
+src_compile() {
+ local mymmx=""
+ if [ "${ARCH}" == "amd64" ] ; then
+ mymmx="--disable-mmx"
+ else
+ mymmx="$(use_enable mmx)"
+ fi
+
+ export MY_ECONF="
+ ${mymmx} \
+ $(use_enable X x11) \
+ "
+ enlightenment_src_compile
+}
+
+src_install() {
+ enlightenment_src_install
+ dosed "s:@requirements@::" /usr/lib/pkgconfig/imlib2.pc
+ docinto samples
+ dodoc demo/*.c
+}