summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDror Levin <spatz@gentoo.org>2009-11-17 23:46:57 +0000
committerDror Levin <spatz@gentoo.org>2009-11-17 23:46:57 +0000
commit2c1b1b74bb565c28f3cf1a348669707680aa15a3 (patch)
tree0af98786b0bae5e53f41ec96cbc1559835adcf10 /media-sound
parentMarked ~ppc. (diff)
downloadgentoo-2-2c1b1b74bb565c28f3cf1a348669707680aa15a3.tar.gz
gentoo-2-2c1b1b74bb565c28f3cf1a348669707680aa15a3.tar.bz2
gentoo-2-2c1b1b74bb565c28f3cf1a348669707680aa15a3.zip
Version bump.
(Portage version: 2.2_rc50/cvs/Linux x86_64)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/phonon/ChangeLog7
-rw-r--r--media-sound/phonon/phonon-4.4_pre20091118.ebuild58
2 files changed, 64 insertions, 1 deletions
diff --git a/media-sound/phonon/ChangeLog b/media-sound/phonon/ChangeLog
index e405df914034..90bf9bba76d5 100644
--- a/media-sound/phonon/ChangeLog
+++ b/media-sound/phonon/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/phonon
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/phonon/ChangeLog,v 1.24 2009/10/17 10:31:10 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/phonon/ChangeLog,v 1.25 2009/11/17 23:46:57 spatz Exp $
+
+*phonon-4.4_pre20091118 (17 Nov 2009)
+
+ 17 Nov 2009; Dror Levin <spatz@gentoo.org> +phonon-4.4_pre20091118.ebuild:
+ Version bump.
17 Oct 2009; Markus Meier <maekke@gentoo.org>
phonon-4.4_pre20090520.ebuild:
diff --git a/media-sound/phonon/phonon-4.4_pre20091118.ebuild b/media-sound/phonon/phonon-4.4_pre20091118.ebuild
new file mode 100644
index 000000000000..1abbc22f0509
--- /dev/null
+++ b/media-sound/phonon/phonon-4.4_pre20091118.ebuild
@@ -0,0 +1,58 @@
+# 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_pre20091118.ebuild,v 1.1 2009/11/17 23:46:57 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 ~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)"
+ else
+ sed -i -e '/xine/d' CMakeLists.txt || die "sed failed"
+ fi
+
+ cmake-utils_src_configure
+}