summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2009-03-04 19:01:55 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2009-03-04 19:01:55 +0000
commit63f37f870dee4a57148b2bdc49221bc089870320 (patch)
tree14e4973f11bf1c1f8f75d7ec2ea7f958bba6b09f /media-sound/phonon
parentVersion bump - 3.0 is released (Bug #255258) (diff)
downloadgentoo-2-63f37f870dee4a57148b2bdc49221bc089870320.tar.gz
gentoo-2-63f37f870dee4a57148b2bdc49221bc089870320.tar.bz2
gentoo-2-63f37f870dee4a57148b2bdc49221bc089870320.zip
Bump KDE 4.2.1
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/phonon')
-rw-r--r--media-sound/phonon/ChangeLog7
-rw-r--r--media-sound/phonon/phonon-4.3.1.ebuild62
2 files changed, 68 insertions, 1 deletions
diff --git a/media-sound/phonon/ChangeLog b/media-sound/phonon/ChangeLog
index 1545b51b7dcb..f804a1866464 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.9 2009/02/28 06:51:07 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/phonon/ChangeLog,v 1.10 2009/03/04 19:01:55 alexxy Exp $
+
+*phonon-4.3.1 (04 Mar 2009)
+
+ 04 Mar 2009; Alexey Shvetsov <alexxy@gentoo.org> +phonon-4.3.1.ebuild:
+ Bump KDE 4.2.1
28 Feb 2009; Tomas Chvatal <scarabeus@gentoo.org> phonon-4.3.0-r1.ebuild:
Qt-opengl is hard dep since it is needed for tests too. Per bug #242884.
diff --git a/media-sound/phonon/phonon-4.3.1.ebuild b/media-sound/phonon/phonon-4.3.1.ebuild
new file mode 100644
index 000000000000..42792cdeeffe
--- /dev/null
+++ b/media-sound/phonon/phonon-4.3.1.ebuild
@@ -0,0 +1,62 @@
+# 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.3.1.ebuild,v 1.1 2009/03/04 19:01:55 alexxy Exp $
+
+EAPI="2"
+inherit cmake-utils
+
+KDE_VERSION="4.2.1"
+
+DESCRIPTION="KDE multimedia API"
+HOMEPAGE="http://phonon.kde.org"
+SRC_URI="mirror://kde/stable/${KDE_VERSION}/src/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+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
+"
+
+PATCHES=( "$FILESDIR/fix_nonascii_chars.patch" )
+
+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 Xine)"
+
+ if use xine; then
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_with xcb XCB)"
+ else
+ sed -i -e '/xine/d' \
+ "${S}/CMakeLists.txt" || die "sed failed"
+ fi
+ cmake-utils_src_configure
+}