summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2008-11-09 01:08:36 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2008-11-09 01:08:36 +0000
commitfa6ea0e0da24e0d1381b1eb1fd6a781c00243b10 (patch)
tree4f8db81c812a005acd6febd3210d542b80998659 /kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-4.1.3.ebuild
parentFull auto: Version bump for KDE-4.1.3 (diff)
downloadgentoo-2-fa6ea0e0da24e0d1381b1eb1fd6a781c00243b10.tar.gz
gentoo-2-fa6ea0e0da24e0d1381b1eb1fd6a781c00243b10.tar.bz2
gentoo-2-fa6ea0e0da24e0d1381b1eb1fd6a781c00243b10.zip
Full auto: Version bump for KDE-4.1.3
(Portage version: 2.2_rc12/cvs/Linux 2.6.26-gentoo i686)
Diffstat (limited to 'kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-4.1.3.ebuild')
-rw-r--r--kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-4.1.3.ebuild55
1 files changed, 55 insertions, 0 deletions
diff --git a/kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-4.1.3.ebuild b/kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-4.1.3.ebuild
new file mode 100644
index 000000000000..e1e018a76d51
--- /dev/null
+++ b/kde-base/kdemultimedia-kioslaves/kdemultimedia-kioslaves-4.1.3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2008 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.1.3.ebuild,v 1.1 2008/11/09 01:08:36 scarabeus Exp $
+
+EAPI="2"
+
+KMMODULE=kioslave
+KMNAME=kdemultimedia
+inherit kde4-meta
+
+DESCRIPTION="KDE kioslaves from the kdemultimedia package"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug encode flac vorbis"
+
+# Tests are broken. Last checked on 4.0.3.
+#RESTRICT="test"
+
+DEPEND="${DEPEND}
+ >=kde-base/libkcddb-${PV}:${SLOT}
+ >=kde-base/libkcompactdisc-${PV}:${SLOT}
+ media-sound/cdparanoia
+ encode? ( flac? ( >=media-libs/flac-1.1.2 )
+ vorbis? ( media-libs/libvorbis ) )"
+RDEPEND="${DEPEND}"
+
+KMEXTRACTONLY="libkcddb/
+ libkcompactdisc/"
+#KMCOMPILEONLY="libkcddb/"
+KMLOADLIBS="libkcddb"
+
+src_configure() {
+ ln -s "${PREFIX}"/include/libkcddb/configbase.h \
+ "${WORKDIR}"/${P}/kioslave/audiocd/ \
+ || die "linking generated header into sources failed"
+
+ if use encode; then
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_with flac Flac)
+ $(cmake-utils_use_with vorbis OggVorbis)"
+ else
+ mycmakeargs="${mycmakeargs}
+ -DWITH_OggVorbis=OFF -DWITH_Flac=OFF"
+ fi
+
+ kde4-meta_src_configure
+}
+
+pkg_postinst() {
+ if use encode; then
+ echo
+ elog "In order to use the lame plugin to encode mp3 files you will need to"
+ elog "install media-sound/lame"
+ echo
+ fi
+}