Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: media-sound/amarok/files/, media-sound/amarok/
Date: Wed, 27 Apr 2016 17:52:27
Message-Id: 1461779521.d7bd8b80fc776de1c90e9eedc9a3543aa3c22be8.johu@gentoo
1 commit: d7bd8b80fc776de1c90e9eedc9a3543aa3c22be8
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 27 17:51:36 2016 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 27 17:52:01 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=d7bd8b80
7
8 media-sound/amarok: Remove 2.8.90
9
10 Moved to gentoo main tree.
11
12 Package-Manager: portage-2.2.28
13
14 media-sound/amarok/amarok-2.8.90.ebuild | 128 ---------------------
15 .../amarok/files/amarok-2.8.0-taglib110.patch | 40 -------
16 .../files/amarok-2.8.90-mysql-embedded.patch | 34 ------
17 media-sound/amarok/metadata.xml | 1 -
18 4 files changed, 203 deletions(-)
19
20 diff --git a/media-sound/amarok/amarok-2.8.90.ebuild b/media-sound/amarok/amarok-2.8.90.ebuild
21 deleted file mode 100644
22 index 4db4e97..0000000
23 --- a/media-sound/amarok/amarok-2.8.90.ebuild
24 +++ /dev/null
25 @@ -1,128 +0,0 @@
26 -# Copyright 1999-2016 Gentoo Foundation
27 -# Distributed under the terms of the GNU General Public License v2
28 -# $Id$
29 -
30 -EAPI=6
31 -
32 -KDE_LINGUAS="bs ca ca@valencia cs da de el en_GB es et eu fi fr ga gl hu it ja
33 -lt lv nb nl pa pl pt pt_BR ro ru sl sr sr@ijekavian sr@ijekavianlatin sr@latin
34 -sv tr uk zh_CN zh_TW"
35 -KDE_REQUIRED="never"
36 -KDE_HANDBOOK="optional"
37 -VIRTUALX_REQUIRED="test"
38 -VIRTUALDBUS_TEST="true"
39 -inherit flag-o-matic kde4-base pax-utils
40 -
41 -DESCRIPTION="Advanced audio player based on KDE framework"
42 -HOMEPAGE="http://amarok.kde.org/"
43 -if [[ ${PV} != *9999* ]]; then
44 - SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
45 - KEYWORDS="~amd64 ~ppc ~x86"
46 -else
47 - KEYWORDS=""
48 -fi
49 -
50 -LICENSE="GPL-2"
51 -SLOT="4"
52 -IUSE="cdda debug +embedded ipod lastfm mp3tunes mtp ofa opengl test +utils"
53 -
54 -if [[ ${KDE_BUILD_TYPE} == live ]]; then
55 - RESTRICT="test"
56 -fi
57 -
58 -# ipod requires gdk enabled and also gtk compiled in libgpod
59 -COMMONDEPEND="
60 - app-crypt/qca:2[qt4(+)]
61 - $(add_kdebase_dep kdelibs 'opengl?' 4.8.4)
62 - $(add_kdeapps_dep kdebase-kioslaves)
63 - >=media-libs/taglib-1.7[asf,mp4]
64 - >=media-libs/taglib-extras-1.0.1
65 - sys-libs/zlib
66 - >=virtual/mysql-5.1[embedded?]
67 - >=dev-qt/qtcore-4.8:4
68 - >=dev-qt/qtdbus-4.8:4
69 - >=dev-qt/qtscript-4.8:4
70 - >=x11-libs/qtscriptgenerator-0.1.0
71 - cdda? (
72 - $(add_kdeapps_dep libkcddb)
73 - $(add_kdeapps_dep libkcompactdisc)
74 - $(add_kdeapps_dep audiocd-kio)
75 - )
76 - ipod? ( >=media-libs/libgpod-0.7.0[gtk] )
77 - lastfm? ( >=media-libs/liblastfm-1.0.3[qt4(+)] )
78 - mp3tunes? (
79 - dev-libs/glib:2
80 - dev-libs/libxml2
81 - dev-libs/openssl:0
82 - net-libs/loudmouth
83 - net-misc/curl
84 - >=dev-qt/qtcore-4.8.4:4[glib]
85 - )
86 - mtp? ( >=media-libs/libmtp-1.0.0 )
87 - ofa? ( >=media-libs/libofa-0.9.0 )
88 - opengl? ( virtual/opengl )
89 -"
90 -DEPEND="${COMMONDEPEND}
91 - dev-util/automoc
92 - virtual/pkgconfig
93 - test? ( dev-cpp/gmock )
94 -"
95 -RDEPEND="${COMMONDEPEND}
96 - !media-sound/amarok-utils
97 - $(add_kdeapps_dep phonon-kde)
98 -"
99 -
100 -PATCHES=(
101 - "${FILESDIR}/${PN}-2.8.0-taglib110.patch"
102 - "${FILESDIR}/${P}-mysql-embedded.patch"
103 -)
104 -
105 -src_configure() {
106 - # Append minimal-toc cflag for ppc64, see bug 280552 and 292707
107 - use ppc64 && append-flags -mminimal-toc
108 -
109 - local mycmakeargs=(
110 - -DWITH_PLAYER=ON
111 - -DWITH_Libgcrypt=OFF
112 - -DWITH_SPECTRUM_ANALYZER=OFF
113 - -DWITH_NepomukCore=OFF
114 - -DWITH_Soprano=OFF
115 - -DWITH_MYSQL_EMBEDDED=$(usex embedded)
116 - -DWITH_IPOD=$(usex ipod)
117 - -DWITH_GDKPixBuf=$(usex ipod)
118 - -DWITH_LibLastFm=$(usex lastfm)
119 - -DWITH_MP3Tunes=$(usex mp3tunes)
120 - -DWITH_Mtp=$(usex mtp)
121 - -DWITH_LibOFA=$(usex ofa)
122 - -DWITH_UTILITIES=$(usex utils)
123 - )
124 -
125 - kde4-base_src_configure
126 -}
127 -
128 -src_install() {
129 - kde4-base_src_install
130 -
131 - # bug 481592
132 - pax-mark m "${ED}"/usr/bin/amarok
133 -}
134 -
135 -pkg_postinst() {
136 - kde4-base_pkg_postinst
137 -
138 - if ! use embedded; then
139 - echo
140 - elog "You've disabled the amarok support for embedded mysql DBs."
141 - elog "You'll have to configure amarok to use an external db server."
142 - echo
143 - elog "Please read http://amarok.kde.org/wiki/MySQL_Server for details on how"
144 - elog "to configure the external db and migrate your data from the embedded database."
145 - echo
146 -
147 - if has_version "virtual/mysql[minimal]"; then
148 - elog "You built mysql with the minimal use flag, so it doesn't include the server."
149 - elog "You won't be able to use the local mysql installation to store your amarok collection."
150 - echo
151 - fi
152 - fi
153 -}
154
155 diff --git a/media-sound/amarok/files/amarok-2.8.0-taglib110.patch b/media-sound/amarok/files/amarok-2.8.0-taglib110.patch
156 deleted file mode 100644
157 index 0934816..0000000
158 --- a/media-sound/amarok/files/amarok-2.8.0-taglib110.patch
159 +++ /dev/null
160 @@ -1,40 +0,0 @@
161 -From: Omar Plummer <omarplummer@××××××××××××××××××.com>
162 -Date: Thu, 06 Aug 2015 22:24:27 +0000
163 -Subject: Fix TagLib version check.
164 -X-Git-Url: http://quickgit.kde.org/?p=amarok.git&a=commitdiff&h=fec8817c530ce42b6485fdabff6051784b8d9904
165 ----
166 -Fix TagLib version check.
167 -
168 -The version check compared version strings lexicographically, so "1.7"
169 -(the min version) compared as greater than "1.10.0".
170 -
171 -BUG: 351013
172 -REVIEW: 124639
173 ----
174 -
175 -
176 ---- a/cmake/modules/FindTaglib.cmake
177 -+++ b/cmake/modules/FindTaglib.cmake
178 -@@ -29,10 +29,10 @@
179 -
180 - exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --version RETURN_VALUE _return_VALUE OUTPUT_VARIABLE TAGLIB_VERSION)
181 -
182 -- if(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}")
183 -+ if("${TAGLIB_MIN_VERSION}" VERSION_GREATER TAGLIB_VERSION)
184 - message(STATUS "TagLib version too old: version searched :${TAGLIB_MIN_VERSION}, found ${TAGLIB_VERSION}")
185 - set(TAGLIB_FOUND FALSE)
186 -- else(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}")
187 -+ else("${TAGLIB_MIN_VERSION}" VERSION_GREATER TAGLIB_VERSION)
188 -
189 - exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE TAGLIB_LIBRARIES)
190 -
191 -@@ -42,7 +42,7 @@
192 - set(TAGLIB_FOUND TRUE)
193 - endif(TAGLIB_LIBRARIES AND TAGLIB_CFLAGS)
194 - string(REGEX REPLACE " *-I" ";" TAGLIB_INCLUDES "${TAGLIB_CFLAGS}")
195 -- endif(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}")
196 -+ endif("${TAGLIB_MIN_VERSION}" VERSION_GREATER TAGLIB_VERSION)
197 - mark_as_advanced(TAGLIB_CFLAGS TAGLIB_LIBRARIES TAGLIB_INCLUDES)
198 -
199 - else(TAGLIBCONFIG_EXECUTABLE)
200 -
201
202 diff --git a/media-sound/amarok/files/amarok-2.8.90-mysql-embedded.patch b/media-sound/amarok/files/amarok-2.8.90-mysql-embedded.patch
203 deleted file mode 100644
204 index b03aa18..0000000
205 --- a/media-sound/amarok/files/amarok-2.8.90-mysql-embedded.patch
206 +++ /dev/null
207 @@ -1,34 +0,0 @@
208 -From 048ca3d57228759f05af7b9553200fd362aeaa8b Mon Sep 17 00:00:00 2001
209 -From: Matt Whitlock <kde@××××××××××××.name>
210 -Date: Tue, 29 Mar 2016 12:22:41 -0400
211 -Subject: [PATCH] Only link with MYSQL_EMBEDDED_LIBRARIES if
212 - WITH_MYSQL_EMBEDDED
213 -
214 -REVIEW: 127523
215 ----
216 - src/core-impl/collections/db/sql/mysqlcollection/CMakeLists.txt | 5 ++++-
217 - 1 file changed, 4 insertions(+), 1 deletion(-)
218 -
219 -diff --git a/src/core-impl/collections/db/sql/mysqlcollection/CMakeLists.txt b/src/core-impl/collections/db/sql/mysqlcollection/CMakeLists.txt
220 -index 244cde1..4c618fc 100644
221 ---- a/src/core-impl/collections/db/sql/mysqlcollection/CMakeLists.txt
222 -+++ b/src/core-impl/collections/db/sql/mysqlcollection/CMakeLists.txt
223 -@@ -21,11 +21,14 @@ target_link_libraries(amarok_collection-mysqlcollection
224 - ${KDE4_KDECORE_LIBS}
225 - ${QT_QTCORE_LIBRARY}
226 - ${QT_QTGUI_LIBRARY}
227 -- ${MYSQL_EMBEDDED_LIBRARIES}
228 - ${CMAKE_DL_LIBS}
229 - ${ZLIB_LIBRARIES}
230 - )
231 -
232 -+if(WITH_MYSQL_EMBEDDED)
233 -+ target_link_libraries( amarok_collection-mysqlcollection ${MYSQL_EMBEDDED_LIBRARIES} )
234 -+endif(WITH_MYSQL_EMBEDDED)
235 -+
236 - if(NOT WIN32 AND NOT APPLE)
237 - target_link_libraries( amarok_collection-mysqlcollection crypt pthread )
238 - endif(NOT WIN32 AND NOT APPLE)
239 ---
240 -2.8.1
241 -
242
243 diff --git a/media-sound/amarok/metadata.xml b/media-sound/amarok/metadata.xml
244 index 6043c6c..136f0c7 100644
245 --- a/media-sound/amarok/metadata.xml
246 +++ b/media-sound/amarok/metadata.xml
247 @@ -19,7 +19,6 @@
248 it will make amarok rely only on standalone MySQL server.</flag>
249 <flag name="lastfm">Enable Last.fm streaming services support through
250 <pkg>media-libs/liblastfm</pkg></flag>
251 - <flag name="mp3tunes">Enable mp3tunes integration</flag>
252 <flag name="mtp">Enable support for libMTP (Plays4Sure) devices access through libmtp</flag>
253 <flag name="ofa">Use <pkg>media-libs/libofa</pkg> to compute MusicDNS acoustic
254 fingerprints (used by MusicBrainz)</flag>