# Copyright 1999-2012 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.7.4.ebuild,v 1.4 2012/02/18 15:14:43 nixnut Exp $ EAPI=4 KDE_HANDBOOK="optional" KMNAME="kdemultimedia" KMMODULE="kioslave" inherit kde4-meta DESCRIPTION="KDE kioslaves from the kdemultimedia package" KEYWORDS="amd64 ppc ~ppc64 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}" KMEXTRACTONLY=" libkcompactdisc/ " KMCOMPILEONLY=" libkcddb/ " 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-meta_src_configure }