# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-cdr/arson/arson-0.9.7-r3.ebuild,v 1.10 2004/04/28 21:48:24 avenj Exp $ inherit kde eutils need-kde 3 DESCRIPTION="A KDE frontend to CD burning and CD ripping tools." HOMEPAGE="http://arson.sourceforge.net/" SRC_URI="mirror://sourceforge/arson/${P}-kde3.tar.bz2" LICENSE="GPL-2" IUSE="oggvorbis" DEPEND=">=media-sound/cdparanoia-3.9.8 >=media-sound/bladeenc-0.94.2 >=app-cdr/cdrtools-1.11.24 >=media-sound/normalize-0.7.4 oggvorbis? ( media-libs/libvorbis ) >=media-sound/lame-3.92 >=app-cdr/cdrdao-1.1.5 >=media-libs/flac-1.1.0" KEYWORDS="x86 sparc amd64" S=${WORKDIR}/${P}-kde3 use oggvorbis && myconf="$myconf --with-vorbis" || myconf="$myconf --without-vorbis" myconf="$myconf --with-flac" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-write-img-fix.diff epatch ${FILESDIR}/${P}-crashfix.diff epatch ${FILESDIR}/${P}-gcc33-multiline-string-fix.patch }