1 |
reavertm 10/11/25 18:40:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: phonon-4.4.3.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2.0_alpha4/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.62 media-sound/phonon/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/phonon/ChangeLog?rev=1.62&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/phonon/ChangeLog?rev=1.62&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/phonon/ChangeLog?r1=1.61&r2=1.62 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/phonon/ChangeLog,v |
20 |
retrieving revision 1.61 |
21 |
retrieving revision 1.62 |
22 |
diff -u -r1.61 -r1.62 |
23 |
--- ChangeLog 19 Sep 2010 15:32:36 -0000 1.61 |
24 |
+++ ChangeLog 25 Nov 2010 18:40:59 -0000 1.62 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for media-sound/phonon |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/phonon/ChangeLog,v 1.61 2010/09/19 15:32:36 klausman Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/phonon/ChangeLog,v 1.62 2010/11/25 18:40:59 reavertm Exp $ |
30 |
+ |
31 |
+*phonon-4.4.3 (25 Nov 2010) |
32 |
+ |
33 |
+ 25 Nov 2010; Maciej Mrozowski <reavertm@g.o> +phonon-4.4.3.ebuild: |
34 |
+ Version bump |
35 |
|
36 |
19 Sep 2010; Tobias Klausmann <klausman@g.o> phonon-4.4.2.ebuild: |
37 |
Stable on alpha, bug #329847 |
38 |
|
39 |
|
40 |
|
41 |
1.1 media-sound/phonon/phonon-4.4.3.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/phonon/phonon-4.4.3.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/phonon/phonon-4.4.3.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: phonon-4.4.3.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/phonon/phonon-4.4.3.ebuild,v 1.1 2010/11/25 18:40:59 reavertm Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit cmake-utils |
55 |
|
56 |
DESCRIPTION="KDE multimedia API" |
57 |
HOMEPAGE="http://phonon.kde.org" |
58 |
SRC_URI="mirror://kde/stable/phonon/${PV}/${P}.tar.bz2" |
59 |
|
60 |
LICENSE="LGPL-2.1" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" |
63 |
IUSE="alsa aqua debug gstreamer pulseaudio +xcb +xine" |
64 |
|
65 |
RDEPEND=" |
66 |
!kde-base/phonon-xine |
67 |
!x11-libs/qt-phonon:4 |
68 |
>=x11-libs/qt-test-4.6.0:4[aqua=] |
69 |
>=x11-libs/qt-dbus-4.6.0:4[aqua=] |
70 |
>=x11-libs/qt-gui-4.6.0:4[aqua=] |
71 |
>=x11-libs/qt-opengl-4.6.0:4[aqua=] |
72 |
gstreamer? ( |
73 |
media-libs/gstreamer |
74 |
media-plugins/gst-plugins-meta[alsa?] |
75 |
) |
76 |
pulseaudio? ( |
77 |
dev-libs/glib:2 |
78 |
>=media-sound/pulseaudio-0.9.21[glib] |
79 |
) |
80 |
xine? ( |
81 |
>=media-libs/xine-lib-1.1.15-r1[xcb?] |
82 |
xcb? ( x11-libs/libxcb ) |
83 |
) |
84 |
" |
85 |
DEPEND="${RDEPEND} |
86 |
>=dev-util/automoc-0.9.87 |
87 |
" |
88 |
|
89 |
S=${WORKDIR}/${P/.0} |
90 |
|
91 |
pkg_setup() { |
92 |
if use xine && use aqua; then |
93 |
die "XINE backend needs X11 which is not available for USE=aqua" |
94 |
fi |
95 |
} |
96 |
|
97 |
src_prepare() { |
98 |
# Fix the qt7 backend for MacOS 10.6. |
99 |
[[ ${CHOST} == *-darwin10 ]] && epatch "${FILESDIR}"/${PN}-4.4-qt7.patch |
100 |
|
101 |
# On MacOS we additionally want the gstreamer plugin. |
102 |
if use aqua && use gstreamer; then |
103 |
sed -e "/add_subdirectory(qt7)/a add_subdirectory(gstreamer)" \ |
104 |
-i CMakeLists.txt \ |
105 |
|| die "failed to enable GStreamer backend" |
106 |
fi |
107 |
|
108 |
base_src_prepare |
109 |
} |
110 |
|
111 |
src_configure() { |
112 |
mycmakeargs=( |
113 |
$(cmake-utils_use_with alsa) |
114 |
$(cmake-utils_use_build aqua PHONON_QT7) |
115 |
$(cmake-utils_use_with gstreamer GStreamer) |
116 |
$(cmake-utils_use_with gstreamer GStreamerPlugins) |
117 |
$(cmake-utils_use_with pulseaudio PulseAudio) |
118 |
$(cmake-utils_use_with pulseaudio GLib2) |
119 |
$(cmake-utils_use_with xine) |
120 |
$(cmake-utils_use_with xcb) |
121 |
) |
122 |
|
123 |
cmake-utils_src_configure |
124 |
} |
125 |
|
126 |
src_install() { |
127 |
cmake-utils_src_install |
128 |
|
129 |
if use aqua; then |
130 |
local MY_PV=4.4.0 |
131 |
|
132 |
install_name_tool \ |
133 |
-id "${EPREFIX}/usr/lib/libphonon.${MY_PV::1}.dylib" \ |
134 |
"${ED}/usr/lib/libphonon.${MY_PV}.dylib" \ |
135 |
|| die "failed to fix libphonon.${MY_PV}.dylib" |
136 |
|
137 |
install_name_tool \ |
138 |
-id "${EPREFIX}/usr/lib/libphononexperimental.${MY_PV::1}.dylib" \ |
139 |
-change "libphonon.${MY_PV::1}.dylib" \ |
140 |
"${EPREFIX}/usr/lib/libphononexperimental.${MY_PV::1}.dylib" \ |
141 |
"${ED}/usr/lib/libphononexperimental.${MY_PV}.dylib" \ |
142 |
|| die "failed to fix libphononexperimental.${MY_PV}.dylib" |
143 |
|
144 |
# fake the framework for the qt-apps depending on qt-frameworks (qt-webkit) |
145 |
dodir /usr/lib/qt4/phonon.framework/Versions/${MY_PV::1} |
146 |
dosym ${MY_PV::1} /usr/lib/qt4/phonon.framework/Versions/Current \ |
147 |
|| die "failed to create symlink" |
148 |
dosym ../../../../libphonon.${MY_PV::1}.dylib /usr/lib/qt4/phonon.framework/Versions/${MY_PV::1}/phonon \ |
149 |
|| die "failed to create symlink" |
150 |
dosym Versions/${MY_PV::1}/phonon /usr/lib/qt4/phonon.framework/phonon \ |
151 |
|| die "failed to create symlink" |
152 |
fi |
153 |
} |