Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/amarok/
Date: Fri, 30 Jun 2017 17:27:09
Message-Id: 1498843582.dd5fdb08a31661779afbe0c6ad3ddf99c026c332.asturm@gentoo
1 commit: dd5fdb08a31661779afbe0c6ad3ddf99c026c332
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 28 17:03:40 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 30 17:26:22 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd5fdb08
7
8 media-sound/amarok: Drop old
9
10 Gentoo-bug: 622684
11
12 Package-Manager: Portage-2.3.6, Repoman-2.3.1
13 RepoMan-Options: --force
14
15 media-sound/amarok/Manifest | 1 -
16 media-sound/amarok/amarok-2.8.0-r3.ebuild | 138 -----------------------------
17 media-sound/amarok/amarok-2.8.90-r2.ebuild | 135 ----------------------------
18 3 files changed, 274 deletions(-)
19
20 diff --git a/media-sound/amarok/Manifest b/media-sound/amarok/Manifest
21 index 164d0d3c5cb..81273e9657d 100644
22 --- a/media-sound/amarok/Manifest
23 +++ b/media-sound/amarok/Manifest
24 @@ -1,2 +1 @@
25 -DIST amarok-2.8.0.tar.bz2 39950028 SHA256 f4b89b28f217a6d947e55fb0890de22fad8c404794c6beeb2dcaf2711b4f8ec6 SHA512 09f7f675f1223d36fb9df2f8c88923c6616524e022ad83b12bcb770dfbf60cb6b191e4035633f2ea2eee5fb7b38e6d5092cf69fe222ef9c3f3c46ba8f157a62d WHIRLPOOL 108cfd95d65e74f28f85a846f605bc349e5b2962b7f9a357415225f3e48ff87148d7f50a642665cc3c809bb2cb4c22f339ad049cdeb4659bb7c0a48e798833ad
26 DIST amarok-2.8.90.tar.xz 48890580 SHA256 b057369ab70d192b669ee6c2c11e9e7d4140663f6a60d6175ef0bb56b4bef9a7 SHA512 1ff5f43100dbe027c8676946a4e82e914927b03ac0bb9e95bfc7e9e03fcc1cad81d9ea2a343bc4f644a025242e224ea9ae3cae7423d68b0b3c68f346922537fc WHIRLPOOL 22da35ea61dcda04d882f4c0da7327cab10edf50140b3ae891738d10e1b9e5062eb541e35e817fd04a7f0284eb085b5ccf3edfa20438b764a9ce3615de35ca8c
27
28 diff --git a/media-sound/amarok/amarok-2.8.0-r3.ebuild b/media-sound/amarok/amarok-2.8.0-r3.ebuild
29 deleted file mode 100644
30 index 0a5d5cef805..00000000000
31 --- a/media-sound/amarok/amarok-2.8.0-r3.ebuild
32 +++ /dev/null
33 @@ -1,138 +0,0 @@
34 -# Copyright 1999-2016 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=5
38 -
39 -KDE_LINGUAS="bs ca ca@valencia cs da de el en_GB es et eu fi fr ga gl hu it ja
40 -lt lv nb nl pa pl pt pt_BR ro ru sl sr sr@ijekavian sr@ijekavianlatin sr@latin
41 -sv tr uk zh_CN zh_TW"
42 -KDE_REQUIRED="never"
43 -KDE_HANDBOOK="optional"
44 -KDE_MINIMAL="4.13.1"
45 -VIRTUALX_REQUIRED="test"
46 -VIRTUALDBUS_TEST="true"
47 -WEBKIT_REQUIRED="always"
48 -inherit flag-o-matic kde4-base pax-utils
49 -
50 -DESCRIPTION="Advanced audio player based on KDE framework"
51 -HOMEPAGE="https://amarok.kde.org/"
52 -if [[ ${PV} != *9999* ]]; then
53 - if [[ $PV == *[6-9][0-9]* ]]; then
54 - SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.bz2"
55 - else
56 - SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.bz2"
57 - fi
58 - KEYWORDS="amd64 x86"
59 -else
60 - KEYWORDS=""
61 -fi
62 -
63 -LICENSE="GPL-2"
64 -SLOT="4"
65 -IUSE="cdda debug +embedded ipod lastfm mp3tunes mtp ofa opengl test +utils"
66 -
67 -if [[ ${KDE_BUILD_TYPE} == live ]]; then
68 - RESTRICT="test"
69 -fi
70 -
71 -# ipod requires gdk enabled and also gtk compiled in libgpod
72 -COMMONDEPEND="
73 - app-crypt/qca:2[qt4(+)]
74 - kde-frameworks/kdelibs:4[opengl?]
75 - $(add_kdeapps_dep kdebase-kioslaves)
76 - >=media-libs/taglib-1.7[asf(+),mp4(+)]
77 - >=media-libs/taglib-extras-1.0.1
78 - sys-libs/zlib
79 - >=virtual/mysql-5.1[embedded?]
80 - >=dev-qt/qtcore-4.8:4
81 - >=dev-qt/qtdbus-4.8:4
82 - >=dev-qt/qtscript-4.8:4
83 - >=x11-libs/qtscriptgenerator-0.1.0
84 - cdda? (
85 - $(add_kdeapps_dep libkcddb)
86 - $(add_kdeapps_dep libkcompactdisc)
87 - $(add_kdeapps_dep audiocd-kio)
88 - )
89 - ipod? ( >=media-libs/libgpod-0.7.0[gtk] )
90 - lastfm? ( >=media-libs/liblastfm-1.0.3[qt4(+)] )
91 - mp3tunes? (
92 - dev-libs/glib:2
93 - dev-libs/libxml2
94 - dev-libs/openssl:0
95 - net-libs/loudmouth
96 - net-misc/curl
97 - >=dev-qt/qtcore-4.8.4:4[glib]
98 - )
99 - mtp? ( >=media-libs/libmtp-1.0.0 )
100 - ofa? ( >=media-libs/libofa-0.9.0 )
101 - opengl? ( virtual/opengl )
102 -"
103 -DEPEND="${COMMONDEPEND}
104 - dev-util/automoc
105 - virtual/pkgconfig
106 - test? ( dev-cpp/gmock )
107 -"
108 -RDEPEND="${COMMONDEPEND}
109 - !media-sound/amarok-utils
110 - || ( kde-apps/phonon-kde:4
111 - $(add_kdeapps_dep phonon-kde) )
112 -"
113 -
114 -PATCHES=(
115 - "${FILESDIR}/${P}-gmock-1.7.patch"
116 - "${FILESDIR}/${P}-mysqld-rpath.patch"
117 - "${FILESDIR}/${P}-taglib110.patch"
118 -)
119 -
120 -src_configure() {
121 - # Append minimal-toc cflag for ppc64, see bug 280552 and 292707
122 - use ppc64 && append-flags -mminimal-toc
123 -
124 - local mycmakeargs=(
125 - -DWITH_PLAYER=ON
126 - -DWITH_Libgcrypt=OFF
127 - -DWITH_SPECTRUM_ANALYZER=OFF
128 - -DWITH_NepomukCore=OFF
129 - -DWITH_Soprano=OFF
130 - $(cmake-utils_use embedded WITH_MYSQL_EMBEDDED)
131 - $(cmake-utils_use_with ipod)
132 - $(cmake-utils_use_with ipod Gdk)
133 - $(cmake-utils_use_with lastfm LibLastFm)
134 - $(cmake-utils_use_with mtp)
135 - $(cmake-utils_use_with mp3tunes MP3Tunes)
136 - $(cmake-utils_use_with ofa LibOFA)
137 - $(cmake-utils_use_with utils UTILITIES)
138 - )
139 -
140 - # Add libmysqld location for rpath patch; bug 508824
141 - use embedded && mycmakeargs+=(-DMYSQLD_DIR="${EPREFIX}/usr/$(get_libdir)/mysql")
142 -
143 - kde4-base_src_configure
144 -}
145 -
146 -src_install() {
147 - kde4-base_src_install
148 -
149 - # bug 481592
150 - pax-mark m "${ED}"/usr/bin/amarok
151 -}
152 -
153 -pkg_postinst() {
154 - kde4-base_pkg_postinst
155 -
156 - if ! use embedded; then
157 - echo
158 - elog "You've disabled the amarok support for embedded mysql DBs."
159 - elog "You'll have to configure amarok to use an external db server."
160 - echo
161 - elog "Please read https://amarok.kde.org/wiki/MySQL_Server for details on how"
162 - elog "to configure the external db and migrate your data from the embedded database."
163 - echo
164 -
165 - if has_version "virtual/mysql[minimal]"; then
166 - elog "You built mysql with the minimal use flag, so it doesn't include the server."
167 - elog "You won't be able to use the local mysql installation to store your amarok collection."
168 - echo
169 - fi
170 - fi
171 -}
172
173 diff --git a/media-sound/amarok/amarok-2.8.90-r2.ebuild b/media-sound/amarok/amarok-2.8.90-r2.ebuild
174 deleted file mode 100644
175 index baae7f4d2f0..00000000000
176 --- a/media-sound/amarok/amarok-2.8.90-r2.ebuild
177 +++ /dev/null
178 @@ -1,135 +0,0 @@
179 -# Copyright 1999-2017 Gentoo Foundation
180 -# Distributed under the terms of the GNU General Public License v2
181 -
182 -EAPI=6
183 -
184 -KDE_LINGUAS="bs ca ca@valencia cs da de el en_GB es et eu fi fr ga gl hu it ja
185 -lt lv nb nl pa pl pt pt_BR ro ru sl sr sr@ijekavian sr@ijekavianlatin sr@latin
186 -sv tr uk zh_CN zh_TW"
187 -KDE_REQUIRED="never"
188 -KDE_HANDBOOK="optional"
189 -VIRTUALX_REQUIRED="test"
190 -VIRTUALDBUS_TEST="true"
191 -WEBKIT_REQUIRED="always"
192 -inherit flag-o-matic kde4-base pax-utils
193 -
194 -DESCRIPTION="Advanced audio player based on KDE framework"
195 -HOMEPAGE="http://amarok.kde.org/"
196 -if [[ ${PV} != *9999* ]]; then
197 - SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
198 - KEYWORDS="amd64 x86"
199 -else
200 - KEYWORDS="amd64 x86"
201 -fi
202 -
203 -LICENSE="GPL-2"
204 -SLOT="4"
205 -IUSE="cdda debug +embedded ipod lastfm mp3tunes mtp ofa opengl test +utils"
206 -
207 -if [[ ${KDE_BUILD_TYPE} == live ]]; then
208 - RESTRICT="test"
209 -fi
210 -
211 -# ipod requires gdk enabled and also gtk compiled in libgpod
212 -COMMONDEPEND="
213 - app-crypt/qca:2[qt4(+)]
214 - kde-frameworks/kdelibs:4[opengl?]
215 - $(add_kdeapps_dep kdebase-kioslaves)
216 - >=media-libs/taglib-1.7[asf(+),mp4(+)]
217 - >=media-libs/taglib-extras-1.0.1
218 - sys-libs/zlib
219 - >=virtual/mysql-5.1[embedded?]
220 - >=dev-qt/qtcore-4.8:4
221 - >=dev-qt/qtdbus-4.8:4
222 - >=dev-qt/qtscript-4.8:4
223 - >=x11-libs/qtscriptgenerator-0.1.0
224 - cdda? (
225 - $(add_kdeapps_dep libkcddb)
226 - $(add_kdeapps_dep libkcompactdisc)
227 - $(add_kdeapps_dep audiocd-kio)
228 - )
229 - ipod? ( >=media-libs/libgpod-0.7.0[gtk] )
230 - lastfm? ( >=media-libs/liblastfm-1.0.3[qt4(+)] )
231 - mp3tunes? (
232 - dev-libs/glib:2
233 - dev-libs/libxml2
234 - dev-libs/openssl:0
235 - net-libs/loudmouth
236 - net-misc/curl
237 - >=dev-qt/qtcore-4.8.4:4[glib]
238 - )
239 - mtp? ( >=media-libs/libmtp-1.0.0 )
240 - ofa? ( >=media-libs/libofa-0.9.0 )
241 - opengl? ( virtual/opengl )
242 -"
243 -DEPEND="${COMMONDEPEND}
244 - dev-util/automoc
245 - virtual/pkgconfig
246 - test? ( dev-cpp/gmock )
247 -"
248 -RDEPEND="${COMMONDEPEND}
249 - !media-sound/amarok-utils
250 - $(add_kdeapps_dep phonon-kde)
251 -"
252 -
253 -PATCHES=(
254 - "${FILESDIR}/${PN}-2.8.0-taglib110.patch"
255 - "${FILESDIR}/${P}-mysql-embedded.patch"
256 - "${FILESDIR}/${P}-mysqld-rpath.patch"
257 - "${FILESDIR}/${P}-scriptconsole.patch"
258 - "${FILESDIR}/${P}-gcc6.patch"
259 - "${FILESDIR}/${P}-ffmpeg3.patch"
260 -)
261 -
262 -src_configure() {
263 - # Append minimal-toc cflag for ppc64, see bug 280552 and 292707
264 - use ppc64 && append-flags -mminimal-toc
265 -
266 - local mycmakeargs=(
267 - -DWITH_PLAYER=ON
268 - -DWITH_Libgcrypt=OFF
269 - -DWITH_SPECTRUM_ANALYZER=OFF
270 - -DWITH_NepomukCore=OFF
271 - -DWITH_Soprano=OFF
272 - -DWITH_MYSQL_EMBEDDED=$(usex embedded)
273 - -DWITH_IPOD=$(usex ipod)
274 - -DWITH_GDKPixBuf=$(usex ipod)
275 - -DWITH_LibLastFm=$(usex lastfm)
276 - -DWITH_MP3Tunes=$(usex mp3tunes)
277 - -DWITH_Mtp=$(usex mtp)
278 - -DWITH_LibOFA=$(usex ofa)
279 - -DWITH_UTILITIES=$(usex utils)
280 - )
281 -
282 - # bug 581554: add libmysqld location for rpath patch
283 - use embedded && mycmakeargs+=( -DMYSQLD_DIR="${EPREFIX}/usr/$(get_libdir)/mysql" )
284 -
285 - kde4-base_src_configure
286 -}
287 -
288 -src_install() {
289 - kde4-base_src_install
290 -
291 - # bug 481592
292 - pax-mark m "${ED}"/usr/bin/amarok
293 -}
294 -
295 -pkg_postinst() {
296 - kde4-base_pkg_postinst
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 -}