summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/phonon/phonon-4.4_pre20091119.ebuild')
-rw-r--r--media-sound/phonon/phonon-4.4_pre20091119.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/media-sound/phonon/phonon-4.4_pre20091119.ebuild b/media-sound/phonon/phonon-4.4_pre20091119.ebuild
new file mode 100644
index 000000000000..3ea4e298bb21
--- /dev/null
+++ b/media-sound/phonon/phonon-4.4_pre20091119.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/phonon/phonon-4.4_pre20091119.ebuild,v 1.1 2009/11/18 20:53:40 spatz Exp $
+
+EAPI="2"
+
+inherit cmake-utils
+
+DESCRIPTION="KDE multimedia API"
+HOMEPAGE="http://phonon.kde.org"
+SRC_URI="mirror://gentoo/${P}.tar.lzma"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="debug gstreamer +xcb +xine"
+
+RDEPEND="
+ !kde-base/phonon-xine
+ !x11-libs/qt-phonon:4
+ >=x11-libs/qt-test-4.4.0:4
+ >=x11-libs/qt-dbus-4.4.0:4
+ >=x11-libs/qt-gui-4.4.0:4
+ >=x11-libs/qt-opengl-4.4.0:4
+ gstreamer? (
+ media-libs/gstreamer
+ media-libs/gst-plugins-base
+ )
+ xine? (
+ >=media-libs/xine-lib-1.1.15-r1[xcb?]
+ xcb? ( x11-libs/libxcb )
+ )
+"
+DEPEND="${RDEPEND}
+ >=kde-base/automoc-0.9.87
+"
+
+pkg_setup() {
+ if use !xine && use !gstreamer; then
+ die "you must at least select one backend for phonon"
+ fi
+}
+
+src_configure() {
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_with gstreamer GStreamer)
+ $(cmake-utils_use_with gstreamer GStreamerPlugins)
+ $(cmake-utils_use_with xine)"
+
+ if use xine; then
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_with xcb)"
+ fi
+
+ cmake-utils_src_configure
+}