diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-09-07 04:44:48 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-09-07 04:44:48 +0000 |
commit | f9f2108829cf9102cfec9ed379d15533a42ea8da (patch) | |
tree | 58d2bdf26ba88f6981fb79a87d943263e2378d80 /media-libs | |
parent | initial import #90313 (diff) | |
download | gentoo-2-f9f2108829cf9102cfec9ed379d15533a42ea8da.tar.gz gentoo-2-f9f2108829cf9102cfec9ed379d15533a42ea8da.tar.bz2 gentoo-2-f9f2108829cf9102cfec9ed379d15533a42ea8da.zip |
make sure we actually use the USE flags we say we support and add support for zlib/bzip2
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/imlib2/imlib2-9999.ebuild | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/media-libs/imlib2/imlib2-9999.ebuild b/media-libs/imlib2/imlib2-9999.ebuild index 0b47f2575141..42bf497bb6b9 100644 --- a/media-libs/imlib2/imlib2-9999.ebuild +++ b/media-libs/imlib2/imlib2-9999.ebuild @@ -1,16 +1,18 @@ # 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-9999.ebuild,v 1.9 2005/08/30 00:46:03 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/imlib2-9999.ebuild,v 1.10 2005/09/07 04:44:48 vapier Exp $ -inherit enlightenment +inherit enlightenment toolchain-funcs MY_P=${P/_/-} DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm" HOMEPAGE="http://www.enlightenment.org/Libraries/Imlib2.html" -IUSE="X gif jpeg mmx mp3 png tiff" +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 ) @@ -20,15 +22,21 @@ DEPEND="=media-libs/freetype-2* src_compile() { local mymmx="" - if [[ ${ARCH} == "amd64" ]] ; then + if [[ $(tc-ARCH) == "amd64" ]] ; then mymmx="--enable-amd64 --disable-mmx" else - mymmx=$(use_enable mmx) + mymmx="--disable-amd64 $(use_enable mmx)" fi export MY_ECONF=" - ${mymmx} \ $(use_with X x) \ + $(use_with jpeg) \ + $(use_with png) \ + $(use_with tiff) \ + $(use_with zlib) \ + $(use_with bzip2) \ + $(use_with mp3 id3) \ + ${mymmx} \ " enlightenment_src_compile } |