# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-base/kaudiocreator/kaudiocreator-3.4.0.ebuild,v 1.4 2005/03/26 00:34:05 weeve Exp $ KMNAME=kdemultimedia MAXKDEVER=$PV KM_DEPRANGE="$PV $MAXKDEVER" inherit kde-meta eutils DESCRIPTION="KDE CD ripper and audio encoder frontend" KEYWORDS="~x86 ~amd64 ~ppc ~sparc" IUSE="encode flac oggvorbis" DEPEND="$(deprange $PV $MAXKDEVER kde-base/libkcddb) media-sound/cdparanoia" # External encoders used - no optional compile-time support RDEPEND="$DEPEND oggvorbis? ( media-sound/vorbis-tools ) flac? ( media-libs/flac ) encode? ( media-sound/lame )" KMCOPYLIB="libkcddb libkcddb" KMEXTRACTONLY="libkcddb" KMCOMPILEONLY="kscd/libwm libkcddb/" src_compile () { DO_NOT_COMPILE=libkcddb kde-meta_src_compile myconf configure cd $S/libkcddb && make configbase.h cd $S/libkcddb && make cdinfodialogbase.h DO_NOT_COMPILE=libkcddb kde-meta_src_compile make }