1 |
jmbsvicetto 11/12/28 01:39:32 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: amarok-2.5.0-r1.ebuild amarok-2.4.3-r1.ebuild |
5 |
Log: |
6 |
[media-sound/amarok] Drop the player use flag until upstream allows to |
7 |
disable the player again. Apply Matěj Laitl's patch to amarok-2.5.0. |
8 |
|
9 |
(Portage version: 2.2.0_alpha83/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.29 media-sound/amarok/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/metadata.xml?rev=1.29&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/metadata.xml?rev=1.29&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/metadata.xml?r1=1.28&r2=1.29 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/amarok/metadata.xml,v |
21 |
retrieving revision 1.28 |
22 |
retrieving revision 1.29 |
23 |
diff -u -r1.28 -r1.29 |
24 |
--- metadata.xml 19 Apr 2011 02:40:12 -0000 1.28 |
25 |
+++ metadata.xml 28 Dec 2011 01:39:32 -0000 1.29 |
26 |
@@ -19,11 +19,20 @@ |
27 |
Try disabling this if you encounter -PIC related in amarok, |
28 |
it will make amarok rely only on standalone MySQL server. |
29 |
</flag> |
30 |
- <flag name="lastfm">Enable Last.fm streaming services support through <pkg>media-libs/liblastfm</pkg></flag> |
31 |
+ <flag name="lastfm"> |
32 |
+ Enable Last.fm streaming services support through |
33 |
+ <pkg>media-libs/liblastfm</pkg> |
34 |
+ </flag> |
35 |
<flag name="mp3tunes">Enable mp3tunes integration</flag> |
36 |
+ <flag name="ofa"> |
37 |
+ Use <pkg>media-libs/libofa</pkg> to compute MusicDNS acoustic |
38 |
+ fingerprints (used by MusicBrainz) |
39 |
+ </flag> |
40 |
<flag name="playdar">Build the playdar collection</flag> |
41 |
<flag name="player">Build the player</flag> |
42 |
<flag name="upnp">Support for upnp servers</flag> |
43 |
- <flag name="utils">Build the utils - old <pkg>media-sound/amarok-utils</pkg></flag> |
44 |
+ <flag name="utils"> |
45 |
+ Build the utils - old <pkg>media-sound/amarok-utils</pkg> |
46 |
+ </flag> |
47 |
</use> |
48 |
</pkgmetadata> |
49 |
|
50 |
|
51 |
|
52 |
1.415 media-sound/amarok/ChangeLog |
53 |
|
54 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/ChangeLog?rev=1.415&view=markup |
55 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/ChangeLog?rev=1.415&content-type=text/plain |
56 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/ChangeLog?r1=1.414&r2=1.415 |
57 |
|
58 |
Index: ChangeLog |
59 |
=================================================================== |
60 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v |
61 |
retrieving revision 1.414 |
62 |
retrieving revision 1.415 |
63 |
diff -u -r1.414 -r1.415 |
64 |
--- ChangeLog 20 Dec 2011 09:22:09 -0000 1.414 |
65 |
+++ ChangeLog 28 Dec 2011 01:39:32 -0000 1.415 |
66 |
@@ -1,6 +1,14 @@ |
67 |
# ChangeLog for media-sound/amarok |
68 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
69 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v 1.414 2011/12/20 09:22:09 jmbsvicetto Exp $ |
70 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v 1.415 2011/12/28 01:39:32 jmbsvicetto Exp $ |
71 |
+ |
72 |
+*amarok-2.5.0-r1 (28 Dec 2011) |
73 |
+*amarok-2.4.3-r1 (28 Dec 2011) |
74 |
+ |
75 |
+ 28 Dec 2011; Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o> |
76 |
+ +amarok-2.4.3-r1.ebuild, +amarok-2.5.0-r1.ebuild, metadata.xml: |
77 |
+ [media-sound/amarok] Drop the player use flag until upstream allows to |
78 |
+ disable the player again. Apply Matěj Laitl's patch to amarok-2.5.0. |
79 |
|
80 |
*amarok-2.5.0 (20 Dec 2011) |
81 |
|
82 |
|
83 |
|
84 |
|
85 |
1.1 media-sound/amarok/amarok-2.5.0-r1.ebuild |
86 |
|
87 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/amarok-2.5.0-r1.ebuild?rev=1.1&view=markup |
88 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/amarok-2.5.0-r1.ebuild?rev=1.1&content-type=text/plain |
89 |
|
90 |
Index: amarok-2.5.0-r1.ebuild |
91 |
=================================================================== |
92 |
# Copyright 1999-2011 Gentoo Foundation |
93 |
# Distributed under the terms of the GNU General Public License v2 |
94 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-2.5.0-r1.ebuild,v 1.1 2011/12/28 01:39:32 jmbsvicetto Exp $ |
95 |
|
96 |
EAPI=4 |
97 |
|
98 |
KDE_LINGUAS="af ar ast be bg bs ca ca@valencia cs csb da de el en_GB eo es et |
99 |
eu fa fi fr ga gl he hr hu is it ja km ko ku lt lv mai ml ms nb nds ne nl nn |
100 |
oc pa pl pt pt_BR ro ru se si sk sl sq sr sr@ijekavian sr@ijekavianlatin |
101 |
sr@Latn sv tg th tr ug uk wa zh_CN zh_TW" |
102 |
KDE_SCM="git" |
103 |
KDE_REQUIRED="never" |
104 |
inherit flag-o-matic kde4-base |
105 |
|
106 |
DESCRIPTION="Advanced audio player based on KDE framework." |
107 |
HOMEPAGE="http://amarok.kde.org/" |
108 |
if [[ ${PV} != *9999* ]]; then |
109 |
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.bz2" |
110 |
KEYWORDS="~amd64 ~ppc ~x86" |
111 |
else |
112 |
KEYWORDS="" |
113 |
fi |
114 |
|
115 |
LICENSE="GPL-2" |
116 |
SLOT="4" |
117 |
IUSE="cdda daap debug +embedded ipod lastfm mp3tunes mtp ofa opengl semantic-desktop +utils" |
118 |
|
119 |
# Tests require gmock - http://code.google.com/p/gmock/ |
120 |
# It's not in the tree yet |
121 |
RESTRICT="test" |
122 |
|
123 |
# ipod requires gdk enabled and also gtk compiled in libgpod |
124 |
COMMONDEPEND=" |
125 |
app-crypt/qca:2 |
126 |
>=app-misc/strigi-0.5.7 |
127 |
$(add_kdebase_dep kdelibs 'opengl?,semantic-desktop?') |
128 |
$(add_kdebase_dep kdebase-kioslaves) |
129 |
>=media-libs/taglib-1.6.1[asf,mp4] |
130 |
>=media-libs/taglib-extras-1.0.1 |
131 |
sys-libs/zlib |
132 |
>=virtual/mysql-5.1[embedded?] |
133 |
x11-libs/qt-script |
134 |
>=x11-libs/qtscriptgenerator-0.1.0 |
135 |
cdda? ( |
136 |
$(add_kdebase_dep libkcddb) |
137 |
$(add_kdebase_dep libkcompactdisc) |
138 |
$(add_kdebase_dep kdemultimedia-kioslaves) |
139 |
) |
140 |
ipod? ( >=media-libs/libgpod-0.7.0[gtk] ) |
141 |
lastfm? ( >=media-libs/liblastfm-0.3.0 ) |
142 |
mp3tunes? ( |
143 |
dev-libs/glib:2 |
144 |
dev-libs/libxml2 |
145 |
dev-libs/openssl |
146 |
net-libs/loudmouth |
147 |
net-misc/curl |
148 |
x11-libs/qt-core[glib] |
149 |
) |
150 |
mtp? ( >=media-libs/libmtp-1.0.0 ) |
151 |
opengl? ( virtual/opengl ) |
152 |
" |
153 |
DEPEND="${COMMONDEPEND} |
154 |
dev-util/automoc |
155 |
dev-util/pkgconfig |
156 |
" |
157 |
RDEPEND="${COMMONDEPEND} |
158 |
$(add_kdebase_dep phonon-kde) |
159 |
!media-sound/amarok-utils |
160 |
" |
161 |
|
162 |
src_prepare() { |
163 |
# en locale is special in a way that it is always enabled. English Amarok |
164 |
# handbook however lies in the doc/en_US folder and thus is not picked |
165 |
# up by kde4-functions eclass. Rename it. |
166 |
sed -e 's:add_subdirectory(en_US):add_subdirectory(en):' \ |
167 |
-i "${S}/doc/CMakeLists.txt" \ |
168 |
|| die "Replacing en_US by en in doc/CMakeLists.txt failed." |
169 |
mv "${S}/doc/en_US" "${S}/doc/en" || die "Moving doc/en_US to doc/en failed." |
170 |
|
171 |
kde4-base_src_prepare |
172 |
} |
173 |
|
174 |
src_configure() { |
175 |
# Append minimal-toc cflag for ppc64, see bug 280552 and 292707 |
176 |
use ppc64 && append-flags -mminimal-toc |
177 |
local mycmakeargs |
178 |
|
179 |
# Mygpo-qt not yet in portage, add IUSE when available |
180 |
mycmakeargs=( |
181 |
-DWITH_PLAYER=ON |
182 |
-DWITH_Libgcrypt=OFF |
183 |
-DWITH_Mygpo-qt=OFF |
184 |
$(cmake-utils_use embedded WITH_MYSQL_EMBEDDED) |
185 |
$(cmake-utils_use_with ipod) |
186 |
$(cmake-utils_use_with ipod Gdk) |
187 |
$(cmake-utils_use_with lastfm LibLastFm) |
188 |
$(cmake-utils_use_with mtp) |
189 |
$(cmake-utils_use_with mp3tunes MP3Tunes) |
190 |
) |
191 |
|
192 |
mycmakeargs+=( |
193 |
$(cmake-utils_use_with utils UTILITIES) |
194 |
) |
195 |
# $(cmake-utils_use_with semantic-desktop Nepomuk) |
196 |
# $(cmake-utils_use_with semantic-desktop Soprano) |
197 |
|
198 |
kde4-base_src_configure |
199 |
} |
200 |
|
201 |
pkg_postinst() { |
202 |
kde4-base_pkg_postinst |
203 |
|
204 |
if use daap; then |
205 |
echo |
206 |
elog "You have installed amarok with daap support." |
207 |
elog "You may be interested in installing www-servers/mongrel as well." |
208 |
echo |
209 |
fi |
210 |
|
211 |
if ! use embedded; then |
212 |
echo |
213 |
elog "You've disabled the amarok support for embedded mysql DBs." |
214 |
elog "You'll have to configure amarok to use an external db server." |
215 |
echo |
216 |
elog "Please read http://amarok.kde.org/wiki/MySQL_Server for details on how" |
217 |
elog "to configure the external db and migrate your data from the embedded database." |
218 |
echo |
219 |
|
220 |
if has_version "virtual/mysql[minimal]"; then |
221 |
elog "You built mysql with the minimal use flag, so it doesn't include the server." |
222 |
elog "You won't be able to use the local mysql installation to store your amarok collection." |
223 |
echo |
224 |
fi |
225 |
fi |
226 |
} |
227 |
|
228 |
|
229 |
|
230 |
1.1 media-sound/amarok/amarok-2.4.3-r1.ebuild |
231 |
|
232 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/amarok-2.4.3-r1.ebuild?rev=1.1&view=markup |
233 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/amarok-2.4.3-r1.ebuild?rev=1.1&content-type=text/plain |
234 |
|
235 |
Index: amarok-2.4.3-r1.ebuild |
236 |
=================================================================== |
237 |
# Copyright 1999-2011 Gentoo Foundation |
238 |
# Distributed under the terms of the GNU General Public License v2 |
239 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-2.4.3-r1.ebuild,v 1.1 2011/12/28 01:39:32 jmbsvicetto Exp $ |
240 |
|
241 |
EAPI=4 |
242 |
|
243 |
KDE_LINGUAS="bg ca cs da de en_GB es et eu fi fr it ja km nb nds nl pa |
244 |
pl pt pt_BR ru sl sr sr@latin sv th tr uk wa zh_TW" |
245 |
KDE_SCM="git" |
246 |
KDE_REQUIRED="never" |
247 |
inherit flag-o-matic kde4-base |
248 |
|
249 |
DESCRIPTION="Advanced audio player based on KDE framework." |
250 |
HOMEPAGE="http://amarok.kde.org/" |
251 |
if [[ ${PV} != *9999* ]]; then |
252 |
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.bz2" |
253 |
KEYWORDS="~amd64 ~ppc ~x86" |
254 |
else |
255 |
KEYWORDS="" |
256 |
fi |
257 |
|
258 |
LICENSE="GPL-2" |
259 |
SLOT="4" |
260 |
IUSE="cdda daap debug +embedded ipod lastfm mp3tunes mtp opengl semantic-desktop +utils" |
261 |
|
262 |
# Tests require gmock - http://code.google.com/p/gmock/ |
263 |
# It's not in the tree yet |
264 |
RESTRICT="test" |
265 |
|
266 |
# ipod requires gdk enabled and also gtk compiled in libgpod |
267 |
COMMONDEPEND=" |
268 |
app-crypt/qca:2 |
269 |
>=app-misc/strigi-0.5.7 |
270 |
$(add_kdebase_dep kdelibs 'opengl?,semantic-desktop?') |
271 |
$(add_kdebase_dep kdebase-kioslaves) |
272 |
>=media-libs/taglib-1.6.1[asf,mp4] |
273 |
>=media-libs/taglib-extras-1.0.1 |
274 |
sys-libs/zlib |
275 |
>=virtual/mysql-5.1[embedded?] |
276 |
x11-libs/qt-script |
277 |
>=x11-libs/qtscriptgenerator-0.1.0 |
278 |
cdda? ( |
279 |
$(add_kdebase_dep libkcddb) |
280 |
$(add_kdebase_dep libkcompactdisc) |
281 |
$(add_kdebase_dep kdemultimedia-kioslaves) |
282 |
) |
283 |
ipod? ( >=media-libs/libgpod-0.7.0[gtk] ) |
284 |
lastfm? ( >=media-libs/liblastfm-0.3.0 ) |
285 |
mp3tunes? ( |
286 |
dev-libs/glib:2 |
287 |
dev-libs/libxml2 |
288 |
dev-libs/openssl |
289 |
net-libs/loudmouth |
290 |
net-misc/curl |
291 |
x11-libs/qt-core[glib] |
292 |
) |
293 |
mtp? ( >=media-libs/libmtp-1.0.0 ) |
294 |
opengl? ( virtual/opengl ) |
295 |
" |
296 |
DEPEND="${COMMONDEPEND} |
297 |
dev-util/automoc |
298 |
dev-util/pkgconfig |
299 |
" |
300 |
RDEPEND="${COMMONDEPEND} |
301 |
$(add_kdebase_dep phonon-kde) |
302 |
!media-sound/amarok-utils |
303 |
" |
304 |
|
305 |
src_configure() { |
306 |
# Append minimal-toc cflag for ppc64, see bug 280552 and 292707 |
307 |
use ppc64 && append-flags -mminimal-toc |
308 |
local mycmakeargs |
309 |
|
310 |
mycmakeargs=( |
311 |
-DWITH_PLAYER=ON |
312 |
-DWITH_Libgcrypt=OFF |
313 |
$(cmake-utils_use embedded WITH_MYSQL_EMBEDDED) |
314 |
$(cmake-utils_use_with ipod) |
315 |
$(cmake-utils_use_with ipod Gdk) |
316 |
$(cmake-utils_use_with lastfm LibLastFm) |
317 |
$(cmake-utils_use_with mtp) |
318 |
$(cmake-utils_use_with mp3tunes MP3Tunes) |
319 |
) |
320 |
|
321 |
mycmakeargs+=( |
322 |
$(cmake-utils_use_with utils UTILITIES) |
323 |
) |
324 |
# $(cmake-utils_use_with semantic-desktop Nepomuk) |
325 |
# $(cmake-utils_use_with semantic-desktop Soprano) |
326 |
|
327 |
kde4-base_src_configure |
328 |
} |
329 |
|
330 |
pkg_postinst() { |
331 |
kde4-base_pkg_postinst |
332 |
|
333 |
if use daap; then |
334 |
echo |
335 |
elog "You have installed amarok with daap support." |
336 |
elog "You may be interested in installing www-servers/mongrel as well." |
337 |
echo |
338 |
fi |
339 |
|
340 |
if ! use embedded; then |
341 |
echo |
342 |
elog "You've disabled the amarok support for embedded mysql DBs." |
343 |
elog "You'll have to configure amarok to use an external db server." |
344 |
echo |
345 |
elog "Please read http://amarok.kde.org/wiki/MySQL_Server for details on how" |
346 |
elog "to configure the external db and migrate your data from the embedded database." |
347 |
echo |
348 |
|
349 |
if has_version "virtual/mysql[minimal]"; then |
350 |
elog "You built mysql with the minimal use flag, so it doesn't include the server." |
351 |
elog "You won't be able to use the local mysql installation to store your amarok collection." |
352 |
echo |
353 |
fi |
354 |
fi |
355 |
} |