Gentoo Archives: gentoo-commits

From: "Jorge Manuel B. S. Vicetto (jmbsvicetto)" <jmbsvicetto@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/amarok: amarok-2.5.0-r4.ebuild metadata.xml amarok-2.5.0-r3.ebuild amarok-2.5.90-r1.ebuild ChangeLog
Date: Sun, 08 Jul 2012 15:11:00
Message-Id: 20120708151040.E1F3520063@flycatcher.gentoo.org
1 jmbsvicetto 12/07/08 15:10:40
2
3 Modified: metadata.xml amarok-2.5.0-r3.ebuild ChangeLog
4 Added: amarok-2.5.0-r4.ebuild amarok-2.5.90-r1.ebuild
5 Log:
6 [media-sound/amarok-2.5.0-r3] Fix whitespace.
7 [media-sound/amarok-2.5.0-r4] revision bump to add the patch to fix clipped context view - bug 424261.
8 [media-sound/amarok-2.5.90-r1] Move from the overlay the 2.6.0-beta1 - bug 419509.
9
10 (Portage version: 2.2.0_alpha115/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.31 media-sound/amarok/metadata.xml
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/metadata.xml?rev=1.31&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/metadata.xml?rev=1.31&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/metadata.xml?r1=1.30&r2=1.31
18
19 Index: metadata.xml
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/media-sound/amarok/metadata.xml,v
22 retrieving revision 1.30
23 retrieving revision 1.31
24 diff -u -r1.30 -r1.31
25 --- metadata.xml 26 May 2012 15:22:19 -0000 1.30
26 +++ metadata.xml 8 Jul 2012 15:10:40 -0000 1.31
27 @@ -1,35 +1,38 @@
28 <?xml version="1.0" encoding="UTF-8"?>
29 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
30 <pkgmetadata>
31 - <herd>kde</herd>
32 - <herd>sound</herd>
33 - <maintainer>
34 - <email>jmbsvicetto@g.o</email>
35 - <name>Jorge Manuel B. S. Vicetto</name>
36 - </maintainer>
37 - <use>
38 - <flag name="daap">
39 - Enable the scripts for music sharing through DAAP. This flag adds
40 - dependencies on <pkg>www-servers/mongrel</pkg> to allow sharing of
41 - the Amarok music collection through DAAP protocol. Please note
42 - that turning this flag off has no effect on DAAP browsing.
43 - </flag>
44 - <flag name="embedded">
45 - Use libmysqld, MySQL embedded server library.
46 - Try disabling this if you encounter -PIC related in amarok,
47 - it will make amarok rely only on standalone MySQL server.
48 - </flag>
49 - <flag name="lastfm">
50 - Enable Last.fm streaming services support through
51 - <pkg>media-libs/liblastfm</pkg>
52 - </flag>
53 - <flag name="mp3tunes">Enable mp3tunes integration</flag>
54 - <flag name="ofa">
55 - Use <pkg>media-libs/libofa</pkg> to compute MusicDNS acoustic
56 - fingerprints (used by MusicBrainz)
57 - </flag>
58 +<herd>kde</herd>
59 +<herd>sound</herd>
60 +<maintainer>
61 + <email>jmbsvicetto@g.o</email>
62 + <name>Jorge Manuel B. S. Vicetto</name>
63 +</maintainer>
64 +<use>
65 + <flag name="daap">
66 + Enable the scripts for music sharing through DAAP. This flag adds
67 + dependencies on <pkg>www-servers/mongrel</pkg> to allow sharing of
68 + the Amarok music collection through DAAP protocol. Please note
69 + that turning this flag off has no effect on DAAP browsing.
70 + </flag>
71 + <flag name="embedded">
72 + Use libmysqld, MySQL embedded server library.
73 + Try disabling this if you encounter -PIC related in amarok,
74 + it will make amarok rely only on standalone MySQL server.
75 + </flag>
76 + <flag name="lastfm">
77 + Enable Last.fm streaming services support through
78 + <pkg>media-libs/liblastfm</pkg>
79 + </flag>
80 + <flag name="mp3tunes">Enable mp3tunes integration</flag>
81 + <flag name="mtp">
82 + Enable support for libMTP (Plays4Sure) devices access through libmtp
83 + </flag>
84 + <flag name="ofa">
85 + Use <pkg>media-libs/libofa</pkg> to compute MusicDNS acoustic
86 + fingerprints (used by MusicBrainz)
87 + </flag>
88 <flag name="utils">
89 - Build the utils - old <pkg>media-sound/amarok-utils</pkg>
90 - </flag>
91 - </use>
92 + Build the utils - old <pkg>media-sound/amarok-utils</pkg>
93 + </flag>
94 +</use>
95 </pkgmetadata>
96
97
98
99 1.5 media-sound/amarok/amarok-2.5.0-r3.ebuild
100
101 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/amarok-2.5.0-r3.ebuild?rev=1.5&view=markup
102 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/amarok-2.5.0-r3.ebuild?rev=1.5&content-type=text/plain
103 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/amarok-2.5.0-r3.ebuild?r1=1.4&r2=1.5
104
105 Index: amarok-2.5.0-r3.ebuild
106 ===================================================================
107 RCS file: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-2.5.0-r3.ebuild,v
108 retrieving revision 1.4
109 retrieving revision 1.5
110 diff -u -r1.4 -r1.5
111 --- amarok-2.5.0-r3.ebuild 8 Jul 2012 13:53:38 -0000 1.4
112 +++ amarok-2.5.0-r3.ebuild 8 Jul 2012 15:10:40 -0000 1.5
113 @@ -1,6 +1,6 @@
114 # Copyright 1999-2012 Gentoo Foundation
115 # Distributed under the terms of the GNU General Public License v2
116 -# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-2.5.0-r3.ebuild,v 1.4 2012/07/08 13:53:38 jmbsvicetto Exp $
117 +# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-2.5.0-r3.ebuild,v 1.5 2012/07/08 15:10:40 jmbsvicetto Exp $
118
119 EAPI=4
120
121 @@ -47,7 +47,7 @@
122 || (
123 $(add_kdebase_dep kdemultimedia-kioslaves)
124 $(add_kdebase_dep audiocd-kio)
125 - )
126 + )
127 )
128 ipod? ( >=media-libs/libgpod-0.7.0[gtk] )
129 lastfm? ( =media-libs/liblastfm-0.3* )
130
131
132
133 1.429 media-sound/amarok/ChangeLog
134
135 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/ChangeLog?rev=1.429&view=markup
136 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/ChangeLog?rev=1.429&content-type=text/plain
137 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/ChangeLog?r1=1.428&r2=1.429
138
139 Index: ChangeLog
140 ===================================================================
141 RCS file: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v
142 retrieving revision 1.428
143 retrieving revision 1.429
144 diff -u -r1.428 -r1.429
145 --- ChangeLog 8 Jul 2012 13:53:38 -0000 1.428
146 +++ ChangeLog 8 Jul 2012 15:10:40 -0000 1.429
147 @@ -1,6 +1,18 @@
148 # ChangeLog for media-sound/amarok
149 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
150 -# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v 1.428 2012/07/08 13:53:38 jmbsvicetto Exp $
151 +# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v 1.429 2012/07/08 15:10:40 jmbsvicetto Exp $
152 +
153 +*amarok-2.5.90-r1 (08 Jul 2012)
154 +*amarok-2.5.0-r4 (08 Jul 2012)
155 +
156 + 08 Jul 2012; Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o>
157 + +amarok-2.5.0-r4.ebuild, +amarok-2.5.90-r1.ebuild,
158 + +files/amarok-2.5.0-fix-context-view-on-startup.patch, amarok-2.5.0-r3.ebuild,
159 + metadata.xml:
160 + [media-sound/amarok-2.5.0-r3] Fix whitespace. [media-sound/amarok-2.5.0-r4]
161 + revision bump to add the patch to fix clipped context view - bug 424261.
162 + [media-sound/amarok-2.5.90-r1] Move from the overlay the 2.6.0-beta1 - bug
163 + 419509.
164
165 08 Jul 2012; Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o>
166 amarok-2.4.3-r1.ebuild, amarok-2.5.0-r3.ebuild:
167
168
169
170 1.1 media-sound/amarok/amarok-2.5.0-r4.ebuild
171
172 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/amarok-2.5.0-r4.ebuild?rev=1.1&view=markup
173 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/amarok-2.5.0-r4.ebuild?rev=1.1&content-type=text/plain
174
175 Index: amarok-2.5.0-r4.ebuild
176 ===================================================================
177 # Copyright 1999-2012 Gentoo Foundation
178 # Distributed under the terms of the GNU General Public License v2
179 # $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-2.5.0-r4.ebuild,v 1.1 2012/07/08 15:10:40 jmbsvicetto Exp $
180
181 EAPI=4
182
183 KDE_LINGUAS="af ar ast be bg bs ca ca@valencia cs csb da de el en_GB eo es et
184 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
185 oc pa pl pt pt_BR ro ru se si sk sl sq sr sr@ijekavian sr@ijekavianlatin
186 sr@Latn sv tg th tr ug uk wa zh_CN zh_TW"
187 KDE_SCM="git"
188 KDE_REQUIRED="never"
189 inherit flag-o-matic kde4-base
190
191 DESCRIPTION="Advanced audio player based on KDE framework."
192 HOMEPAGE="http://amarok.kde.org/"
193 if [[ ${PV} != *9999* ]]; then
194 SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.bz2"
195 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
196 else
197 KEYWORDS=""
198 fi
199
200 LICENSE="GPL-2"
201 SLOT="4"
202 IUSE="cdda daap debug +embedded ipod lastfm mp3tunes mtp ofa opengl semantic-desktop +utils"
203
204 # Tests require gmock - http://code.google.com/p/gmock/
205 # It's not in the tree yet
206 RESTRICT="test"
207
208 # ipod requires gdk enabled and also gtk compiled in libgpod
209 COMMONDEPEND="
210 app-crypt/qca:2
211 >=app-misc/strigi-0.5.7
212 $(add_kdebase_dep kdelibs 'opengl?,semantic-desktop?')
213 $(add_kdebase_dep kdebase-kioslaves)
214 >=media-libs/taglib-1.6.1[asf,mp4]
215 >=media-libs/taglib-extras-1.0.1
216 sys-libs/zlib
217 >=virtual/mysql-5.1[embedded?]
218 x11-libs/qt-core
219 x11-libs/qt-dbus
220 x11-libs/qt-script
221 >=x11-libs/qtscriptgenerator-0.1.0
222 cdda? (
223 $(add_kdebase_dep libkcddb)
224 $(add_kdebase_dep libkcompactdisc)
225 || (
226 $(add_kdebase_dep audiocd-kio)
227 $(add_kdebase_dep kdemultimedia-kioslaves)
228 )
229 )
230 ipod? ( >=media-libs/libgpod-0.7.0[gtk] )
231 lastfm? ( =media-libs/liblastfm-0.3* )
232 mp3tunes? (
233 dev-libs/glib:2
234 dev-libs/libxml2
235 dev-libs/openssl
236 net-libs/loudmouth
237 net-misc/curl
238 x11-libs/qt-core[glib]
239 )
240 mtp? ( >=media-libs/libmtp-1.0.0 )
241 ofa? ( >=media-libs/libofa-0.9.0 )
242 opengl? ( virtual/opengl )
243 "
244 DEPEND="${COMMONDEPEND}
245 dev-util/automoc
246 virtual/pkgconfig
247 "
248 RDEPEND="${COMMONDEPEND}
249 !media-sound/amarok-utils
250 $(add_kdebase_dep phonon-kde)
251 "
252
253 PATCHES=(
254 "${FILESDIR}/${PN}-2.5.0-kde48.patch"
255 "${FILESDIR}/${PN}-2.5.0-qtdebug.patch"
256 "${FILESDIR}/${PN}-2.5.0-fix-context-view-on-startup.patch"
257 )
258
259 src_configure() {
260 # Append minimal-toc cflag for ppc64, see bug 280552 and 292707
261 use ppc64 && append-flags -mminimal-toc
262 local mycmakeargs
263
264 # Mygpo-qt not yet in portage, add IUSE when available
265 mycmakeargs=(
266 -DWITH_PLAYER=ON
267 -DWITH_Libgcrypt=OFF
268 -DWITH_Mygpo-qt=OFF
269 $(cmake-utils_use embedded WITH_MYSQL_EMBEDDED)
270 $(cmake-utils_use_with ipod)
271 $(cmake-utils_use_with ipod Gdk)
272 $(cmake-utils_use_with lastfm LibLastFm)
273 $(cmake-utils_use_with mtp)
274 $(cmake-utils_use_with mp3tunes MP3Tunes)
275 $(cmake-utils_use_with ofa LibOFA)
276 )
277
278 mycmakeargs+=(
279 $(cmake-utils_use_with utils UTILITIES)
280 )
281
282 # $(cmake-utils_use_with semantic-desktop Nepomuk)
283 # $(cmake-utils_use_with semantic-desktop Soprano)
284
285 kde4-base_src_configure
286 }
287
288 pkg_postinst() {
289 kde4-base_pkg_postinst
290
291 if use daap; then
292 echo
293 elog "You have installed amarok with daap support."
294 elog "You may be interested in installing www-servers/mongrel as well."
295 echo
296 fi
297
298 if ! use embedded; then
299 echo
300 elog "You've disabled the amarok support for embedded mysql DBs."
301 elog "You'll have to configure amarok to use an external db server."
302 echo
303 elog "Please read http://amarok.kde.org/wiki/MySQL_Server for details on how"
304 elog "to configure the external db and migrate your data from the embedded database."
305 echo
306
307 if has_version "virtual/mysql[minimal]"; then
308 elog "You built mysql with the minimal use flag, so it doesn't include the server."
309 elog "You won't be able to use the local mysql installation to store your amarok collection."
310 echo
311 fi
312 fi
313 }
314
315
316
317 1.1 media-sound/amarok/amarok-2.5.90-r1.ebuild
318
319 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/amarok-2.5.90-r1.ebuild?rev=1.1&view=markup
320 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/amarok-2.5.90-r1.ebuild?rev=1.1&content-type=text/plain
321
322 Index: amarok-2.5.90-r1.ebuild
323 ===================================================================
324 # Copyright 1999-2012 Gentoo Foundation
325 # Distributed under the terms of the GNU General Public License v2
326 # $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-2.5.90-r1.ebuild,v 1.1 2012/07/08 15:10:40 jmbsvicetto Exp $
327
328 EAPI=4
329
330 KDE_LINGUAS="bg ca cs da de en_GB es et eu fi fr it ja km nb nds nl pa
331 pl pt pt_BR ru sl sr sr@latin sv th tr uk wa zh_TW"
332 KDE_SCM="git"
333 KDE_REQUIRED="never"
334 inherit flag-o-matic kde4-base
335
336 DESCRIPTION="Advanced audio player based on KDE framework."
337 HOMEPAGE="http://amarok.kde.org/"
338 if [[ ${PV} != *9999* ]]; then
339 SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.bz2"
340 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
341 else
342 KEYWORDS=""
343 fi
344
345 LICENSE="GPL-2"
346 SLOT="4"
347 IUSE="cdda daap debug +embedded ipod lastfm mp3tunes mtp ofa opengl semantic-desktop +utils"
348
349 # Tests require gmock - http://code.google.com/p/gmock/
350 # It's not in the tree yet
351 RESTRICT="test"
352
353 # ipod requires gdk enabled and also gtk compiled in libgpod
354 COMMONDEPEND="
355 app-crypt/qca:2
356 >=app-misc/strigi-0.5.7
357 $(add_kdebase_dep kdelibs 'opengl?,semantic-desktop?')
358 $(add_kdebase_dep kdebase-kioslaves)
359 >=media-libs/taglib-1.6.1[asf,mp4]
360 >=media-libs/taglib-extras-1.0.1
361 sys-libs/zlib
362 >=virtual/mysql-5.1[embedded?]
363 x11-libs/qt-core
364 x11-libs/qt-dbus
365 x11-libs/qt-script
366 >=x11-libs/qtscriptgenerator-0.1.0
367 cdda? (
368 $(add_kdebase_dep libkcddb)
369 $(add_kdebase_dep libkcompactdisc)
370 || (
371 $(add_kdebase_dep audiocd-kio)
372 $(add_kdebase_dep kdemultimedia-kioslaves)
373 )
374 )
375 ipod? ( >=media-libs/libgpod-0.7.0[gtk] )
376 lastfm? ( =media-libs/liblastfm-0.3* )
377 mp3tunes? (
378 dev-libs/glib:2
379 dev-libs/libxml2
380 dev-libs/openssl
381 net-libs/loudmouth
382 net-misc/curl
383 x11-libs/qt-core[glib]
384 )
385 mtp? ( >=media-libs/libmtp-1.0.0 )
386 ofa? ( >=media-libs/libofa-0.9.0 )
387 opengl? ( virtual/opengl )
388 "
389 DEPEND="${COMMONDEPEND}
390 dev-util/automoc
391 virtual/pkgconfig
392 "
393 RDEPEND="${COMMONDEPEND}
394 !media-sound/amarok-utils
395 $(add_kdebase_dep phonon-kde)
396 "
397
398 src_configure() {
399 # Append minimal-toc cflag for ppc64, see bug 280552 and 292707
400 use ppc64 && append-flags -mminimal-toc
401 local mycmakeargs
402
403 mycmakeargs=(
404 -DWITH_PLAYER=ON
405 -DWITH_Libgcrypt=OFF
406 $(cmake-utils_use embedded WITH_MYSQL_EMBEDDED)
407 $(cmake-utils_use_with ipod)
408 $(cmake-utils_use_with ipod Gdk)
409 $(cmake-utils_use_with lastfm LibLastFm)
410 $(cmake-utils_use_with mtp)
411 $(cmake-utils_use_with mp3tunes MP3Tunes)
412 $(cmake-utils_use_with ofa LibOFA)
413 )
414
415 mycmakeargs+=(
416 $(cmake-utils_use_with utils UTILITIES)
417 )
418
419 # $(cmake-utils_use_with semantic-desktop Nepomuk)
420 # $(cmake-utils_use_with semantic-desktop Soprano)
421
422 kde4-base_src_configure
423 }
424
425 pkg_postinst() {
426 kde4-base_pkg_postinst
427
428 if use daap; then
429 echo
430 elog "You have installed amarok with daap support."
431 elog "You may be interested in installing www-servers/mongrel as well."
432 echo
433 fi
434
435 if ! use embedded; then
436 echo
437 elog "You've disabled the amarok support for embedded mysql DBs."
438 elog "You'll have to configure amarok to use an external db server."
439 echo
440 elog "Please read http://amarok.kde.org/wiki/MySQL_Server for details on how"
441 elog "to configure the external db and migrate your data from the embedded database."
442 echo
443
444 if has_version "virtual/mysql[minimal]"; then
445 elog "You built mysql with the minimal use flag, so it doesn't include the server."
446 elog "You won't be able to use the local mysql installation to store your amarok collection."
447 echo
448 fi
449 fi
450 }