summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/juk/juk-3.5.10.ebuild')
-rw-r--r--kde-base/juk/juk-3.5.10.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/kde-base/juk/juk-3.5.10.ebuild b/kde-base/juk/juk-3.5.10.ebuild
new file mode 100644
index 000000000000..580958fb04a9
--- /dev/null
+++ b/kde-base/juk/juk-3.5.10.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/juk/juk-3.5.10.ebuild,v 1.1 2008/09/13 23:57:17 carlo Exp $
+
+KMNAME=kdemultimedia
+EAPI="1"
+inherit kde-meta eutils
+
+DESCRIPTION="Jukebox and music manager for KDE."
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="akode flac gstreamer mp3 vorbis"
+
+DEPEND="media-libs/taglib
+ gstreamer? ( =media-libs/gstreamer-0.10*
+ =media-libs/gst-plugins-base-0.10* )
+ akode? ( media-libs/akode )
+ !arts? ( !gstreamer? ( media-libs/akode ) )"
+
+RDEPEND="${DEPEND}
+ gstreamer? ( mp3? ( =media-plugins/gst-plugins-mad-0.10* )
+ vorbis? ( =media-plugins/gst-plugins-ogg-0.10*
+ =media-plugins/gst-plugins-vorbis-0.10* )
+ flac? ( =media-plugins/gst-plugins-flac-0.10* ) )"
+
+KMEXTRACTONLY="arts/configure.in.in"
+
+pkg_setup() {
+ kde_pkg_setup
+ if ! use arts && ! use gstreamer && ! use akode ; then
+ ewarn "No audio backend chosen. Defaulting to media-libs/akode."
+ fi
+}
+
+src_compile() {
+ local myconf="$(use_with gstreamer) --without-musicbrainz"
+
+ if ! use arts && ! use gstreamer ; then
+ myconf="${myconf} --with-akode"
+ else
+ if ! use akode ; then
+ # work around broken configure
+ export include_akode_ffmpeg_FALSE='#'
+ export include_akode_mpc_FALSE='#'
+ export include_akode_mpeg_FALSE='#'
+ export include_akode_xiph_FALSE='#'
+ fi
+ myconf="${myconf} $(use_with akode)"
+ fi
+
+ kde-meta_src_compile
+}