diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-07-16 05:19:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-07-16 05:19:38 +0000 |
commit | e2dd832ae8de7e829af6efe83b6faef8a742b84a (patch) | |
tree | 007484236dd40d94fbb8cee5903b73c4c9662d11 /media-libs | |
parent | debug (diff) | |
download | gentoo-2-e2dd832ae8de7e829af6efe83b6faef8a742b84a.tar.gz gentoo-2-e2dd832ae8de7e829af6efe83b6faef8a742b84a.tar.bz2 gentoo-2-e2dd832ae8de7e829af6efe83b6faef8a742b84a.zip |
debug
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/imlib2/imlib2-1.2.2.002.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/media-libs/imlib2/imlib2-1.2.2.002.ebuild b/media-libs/imlib2/imlib2-1.2.2.002.ebuild new file mode 100644 index 000000000000..f6cbc82c9d8d --- /dev/null +++ b/media-libs/imlib2/imlib2-1.2.2.002.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/imlib2-1.2.2.002.ebuild,v 1.1 2006/07/16 05:19:38 vapier Exp $ + +inherit enlightenment toolchain-funcs libtool + +MY_P=${P/_/-} +DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm" +HOMEPAGE="http://www.enlightenment.org/Libraries/Imlib2/" + +IUSE="X bzip2 gif jpeg mmx mp3 png tiff zlib" + +DEPEND="=media-libs/freetype-2* + bzip2? ( app-arch/bzip2 ) + zlib? ( sys-libs/zlib ) + gif? ( >=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? ( || ( ( x11-libs/libXext x11-proto/xextproto ) virtual/x11 ) ) + mp3? ( media-libs/libid3tag )" + +src_compile() { + local mymmx="" +# if [[ $(tc-arch) == "amd64" ]] ; then +# mymmx="--enable-amd64 --disable-mmx" +# else + mymmx="--disable-amd64 $(use_enable mmx)" +# fi + + elibtoolize + + export MY_ECONF=" + $(use_with X x) \ + $(use_with jpeg) \ + $(use_with png) \ + $(use_with tiff) \ + $(use_with gif) \ + $(use_with zlib) \ + $(use_with bzip2) \ + $(use_with mp3 id3) \ + ${mymmx} \ + " + enlightenment_src_compile +} + +src_install() { + enlightenment_src_install + docinto samples + dodoc demo/*.c +} |