diff options
Diffstat (limited to 'kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-4.3.1.ebuild')
-rw-r--r-- | kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-4.3.1.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-4.3.1.ebuild b/kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-4.3.1.ebuild new file mode 100644 index 000000000000..397511855db1 --- /dev/null +++ b/kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-4.3.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-4.3.1.ebuild,v 1.1 2009/09/01 15:12:18 tampakrap Exp $ + +EAPI="2" + +KMNAME="kdemultimedia" +KMMODULE="kioslave" +inherit kde4-meta + +DESCRIPTION="KDE kioslaves from the kdemultimedia package" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" +IUSE="debug +handbook encode flac vorbis" + +# 4 of 9 tests fail. Last checked for 4.2.88 +RESTRICT=test + +DEPEND=" + >=kde-base/libkcddb-${PV}:${SLOT}[kdeprefix=] + >=kde-base/libkcompactdisc-${PV}:${SLOT}[kdeprefix=] + media-sound/cdparanoia + encode? ( + flac? ( >=media-libs/flac-1.1.2 ) + vorbis? ( media-libs/libvorbis ) + ) +" +RDEPEND="${DEPEND}" + +KMEXTRACTONLY=" + libkcompactdisc/ +" +KMCOMPILEONLY=" + libkcddb/ +" + +KMLOADLIBS="libkcddb" + +src_configure() { + if use encode; then + mycmakeargs="${mycmakeargs} + $(cmake-utils_use_with flac) + $(cmake-utils_use_with vorbis OggVorbis)" + else + mycmakeargs="${mycmakeargs} + -DWITH_OggVorbis=OFF -DWITH_Flac=OFF" + fi + + kde4-meta_src_configure +} |