diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-13 03:02:17 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-13 03:02:17 +0000 |
commit | 5270daddb648695178a05f2f7c6ad1efa10d62be (patch) | |
tree | 94e0399ad46467cb417bc38d08781077ecccb633 /media-libs/yiff/yiff-2.14.2.ebuild | |
parent | bug #56824. (diff) | |
download | historical-5270daddb648695178a05f2f7c6ad1efa10d62be.tar.gz historical-5270daddb648695178a05f2f7c6ad1efa10d62be.tar.bz2 historical-5270daddb648695178a05f2f7c6ad1efa10d62be.zip |
Added USE=alsa support. Added PIC patch. Added ~amd64.
Diffstat (limited to 'media-libs/yiff/yiff-2.14.2.ebuild')
-rw-r--r-- | media-libs/yiff/yiff-2.14.2.ebuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/media-libs/yiff/yiff-2.14.2.ebuild b/media-libs/yiff/yiff-2.14.2.ebuild index 458147da7947..380a65b17b9c 100644 --- a/media-libs/yiff/yiff-2.14.2.ebuild +++ b/media-libs/yiff/yiff-2.14.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/yiff/yiff-2.14.2.ebuild,v 1.8 2004/07/09 11:35:12 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/yiff/yiff-2.14.2.ebuild,v 1.9 2004/07/13 03:02:17 eradicator Exp $ inherit flag-o-matic eutils kde @@ -10,22 +10,25 @@ SRC_URI="ftp://wolfpack.twu.net/users/wolfpack/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ~ppc ~sparc" -IUSE="gtk" +KEYWORDS="x86 ~ppc ~sparc ~amd64" +IUSE="gtk alsa" -DEPEND="gtk? ( =x11-libs/gtk+-1.2* )" +DEPEND="gtk? ( =x11-libs/gtk+-1.2* ) + !sparc? ( alsa? ( media-libs/alsa-lib ) )" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${PV}-gcc3.patch + epatch ${FILESDIR}/${P}-PIC.patch } src_compile() { local pkgs="libY2 yiff yiffutils" use gtk && pkgs="${pkgs} yiffconfig" && append-flags `gtk-config --cflags` #append-flags -DHAVE_LIBKMID - append-flags -DALSA_RUN_CONFORM -DOSS -DOSS_BUFFRAG -DYSHM_SUPPORT -D__USE_BSD + use alsa && append-flags -DALSA_RUN_CONFORM + append-flags -DOSS -DOSS_BUFFRAG -DYSHM_SUPPORT -D__USE_BSD make linux \ CFLAGS="${CFLAGS}" \ LINUX_DIRS="${pkgs}" \ |