diff options
Diffstat (limited to 'kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-3.5.0_rc1.ebuild')
-rw-r--r-- | kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-3.5.0_rc1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-3.5.0_rc1.ebuild b/kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-3.5.0_rc1.ebuild new file mode 100644 index 000000000000..d632706456e2 --- /dev/null +++ b/kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-3.5.0_rc1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-3.5.0_rc1.ebuild,v 1.1 2005/11/12 15:49:26 danarmak Exp $ + +KMNAME=kdemultimedia +KMMODULE=kioslave +MAXKDEVER=$PV +KM_DEPRANGE="$PV $MAXKDEVER" +inherit kde-meta eutils + +DESCRIPTION="kioslaves from kdemultimedia package" +KEYWORDS="~amd64 ~x86" +IUSE="encode flac mp3 vorbis" +DEPEND="$(deprange $PV $MAXKDEVER kde-base/libkcddb) + media-sound/cdparanoia + media-libs/taglib + encode? ( vorbis? ( media-libs/libvorbis ) + flac? ( media-libs/flac ) )" +RDEPEND="${DEPEND} + encode? ( mp3? ( media-sound/lame ) )" + +KMCOPYLIB="libkcddb libkcddb" +KMEXTRACTONLY="akode/configure.in.in" +KMCOMPILEONLY=" + kscd + kscd/libwm + libkcddb" + +src_compile() { + myconf="--with-cdparanoia --enable-cdparanoia" + if use encode; then + myconf="$myconf $(use_with vorbis) $(use_with flac)" + else + myconf="$myconf --without-vorbis --without-flac" + fi + + DO_NOT_COMPILE="libkcddb kscd" kde-meta_src_compile myconf configure + cd $S/libkcddb && make configbase.h cdinfodialogbase.h + + # Library deps seems not to be built as they should :/ + cd $S/kscd/libwm/audio && make libworkmanaudio.la && \ + cd $S/kscd/libwm && make libworkman.la && \ + cd $S/kscd && make libkcompactdisc.la || \ + die "failed to make prerequisite libraries." + + DO_NOT_COMPILE="libkcddb kscd" kde-meta_src_compile make +} |