summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2010-09-23 21:34:14 +0000
committerAlex Alexander <wired@gentoo.org>2010-09-23 21:34:14 +0000
commit35ddd88bcaaedf35ab0510e272f031a43e1f881d (patch)
treee28cee3eee43baba7d043c85a9b97a90ffebaa40 /x11-libs/qt-phonon
parentEAPI 3, prefix, other improvements (diff)
downloadgentoo-2-35ddd88bcaaedf35ab0510e272f031a43e1f881d.tar.gz
gentoo-2-35ddd88bcaaedf35ab0510e272f031a43e1f881d.tar.bz2
gentoo-2-35ddd88bcaaedf35ab0510e272f031a43e1f881d.zip
EAPI 3, prefix, other improvements
(Portage version: 2.2_rc85/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/qt-phonon')
-rw-r--r--x11-libs/qt-phonon/ChangeLog5
-rw-r--r--x11-libs/qt-phonon/qt-phonon-4.7.0.ebuild39
2 files changed, 26 insertions, 18 deletions
diff --git a/x11-libs/qt-phonon/ChangeLog b/x11-libs/qt-phonon/ChangeLog
index ca911b95691e..e3d0a06b5e7d 100644
--- a/x11-libs/qt-phonon/ChangeLog
+++ b/x11-libs/qt-phonon/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-libs/qt-phonon
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-phonon/ChangeLog,v 1.75 2010/09/21 14:57:13 tampakrap Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-phonon/ChangeLog,v 1.76 2010/09/23 21:34:14 wired Exp $
+
+ 23 Sep 2010; Alex Alexander <wired@gentoo.org> qt-phonon-4.7.0.ebuild:
+ EAPI 3, prefix, other improvements
*qt-phonon-4.7.0 (21 Sep 2010)
diff --git a/x11-libs/qt-phonon/qt-phonon-4.7.0.ebuild b/x11-libs/qt-phonon/qt-phonon-4.7.0.ebuild
index 87ad8d3a0225..a88d6e4e1341 100644
--- a/x11-libs/qt-phonon/qt-phonon-4.7.0.ebuild
+++ b/x11-libs/qt-phonon/qt-phonon-4.7.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-phonon/qt-phonon-4.7.0.ebuild,v 1.1 2010/09/21 14:57:13 tampakrap Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-phonon/qt-phonon-4.7.0.ebuild,v 1.2 2010/09/23 21:34:14 wired Exp $
-EAPI="2"
+EAPI="3"
inherit qt4-build
DESCRIPTION="The Phonon module for the Qt toolkit"
@@ -10,26 +10,31 @@ SLOT="4"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE="dbus"
-DEPEND="~x11-libs/qt-gui-${PV}[debug=,glib,qt3support]
+DEPEND="~x11-libs/qt-gui-${PV}[aqua=,debug=,glib,qt3support]
!kde-base/phonon-kde
!kde-base/phonon-xine
!media-sound/phonon
- media-libs/gstreamer
- media-plugins/gst-plugins-meta
- dbus? ( ~x11-libs/qt-dbus-${PV}[debug=] )"
+ !aqua? ( media-libs/gstreamer
+ media-plugins/gst-plugins-meta )
+ aqua? ( ~x11-libs/qt-opengl-${PV}[aqua] )
+ dbus? ( ~x11-libs/qt-dbus-${PV}[aqua=,debug=] )"
RDEPEND="${DEPEND}"
-QT4_TARGET_DIRECTORIES="
- src/phonon
- src/plugins/phonon
- tools/designer/src/plugins/phononwidgets"
-QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
- include/
- src
- tools"
-
-QCONFIG_ADD="phonon"
-QCONFIG_DEFINE="QT_GSTREAMER"
+pkg_setup() {
+ QT4_TARGET_DIRECTORIES="
+ src/phonon
+ src/plugins/phonon
+ tools/designer/src/plugins/phononwidgets"
+ QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
+ include/
+ src
+ tools"
+
+ QCONFIG_ADD="phonon"
+ use aqua || QCONFIG_DEFINE="QT_GSTREAMER"
+
+ qt4-build_pkg_setup
+}
src_configure() {
myconf="${myconf} -phonon -phonon-backend -no-opengl -no-svg