diff options
Diffstat (limited to 'kde-base/audiocd-kio/audiocd-kio-4.10.0.ebuild')
-rw-r--r-- | kde-base/audiocd-kio/audiocd-kio-4.10.0.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/kde-base/audiocd-kio/audiocd-kio-4.10.0.ebuild b/kde-base/audiocd-kio/audiocd-kio-4.10.0.ebuild new file mode 100644 index 000000000000..2468ac47d8f8 --- /dev/null +++ b/kde-base/audiocd-kio/audiocd-kio-4.10.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/audiocd-kio/audiocd-kio-4.10.0.ebuild,v 1.1 2013/02/07 04:57:32 alexxy Exp $ + +EAPI=5 + +KDE_HANDBOOK="optional" +inherit kde4-base + +DESCRIPTION="KDE kioslaves from the kdemultimedia package" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="debug encode flac vorbis" + +# 4 of 9 tests fail. Last checked for 4.2.88 +RESTRICT=test + +DEPEND=" + $(add_kdebase_dep libkcddb) + $(add_kdebase_dep libkcompactdisc) + media-sound/cdparanoia + encode? ( + flac? ( >=media-libs/flac-1.1.2 ) + vorbis? ( media-libs/libvorbis ) + ) +" +RDEPEND="${DEPEND}" + +add_blocker kdemultimedia-kioslaves + +KMLOADLIBS="libkcddb" + +src_configure() { + if use encode; then + mycmakeargs=( + $(cmake-utils_use_with flac) + $(cmake-utils_use_with vorbis OggVorbis) + ) + else + mycmakeargs=(-DWITH_OggVorbis=OFF -DWITH_Flac=OFF) + fi + + kde4-base_src_configure +} |