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: ChangeLog amarok-2.3.2-r1.ebuild
Date: Mon, 27 Sep 2010 11:01:37
Message-Id: 20100927110133.E4B4520051@flycatcher.gentoo.org
1 jmbsvicetto 10/09/27 11:01:33
2
3 Modified: ChangeLog
4 Added: amarok-2.3.2-r1.ebuild
5 Log:
6 [media-sound/amarok-2.3.2-r1] Now that we finally have working patches for mariadb and mysql 5.1.50,
7 fixed the embedded deps and added embedded to IUSE defaults.
8 Added an upstream patch to fix issues with the collection scanning caused by a QT bug/regression -
9 https://bugs.kde.org/show_bug.cgi?id=251762#c10
10
11 (Portage version: 2.2_rc87/cvs/Linux x86_64)
12
13 Revision Changes Path
14 1.391 media-sound/amarok/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/ChangeLog?rev=1.391&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/ChangeLog?rev=1.391&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/ChangeLog?r1=1.390&r2=1.391
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v
23 retrieving revision 1.390
24 retrieving revision 1.391
25 diff -u -r1.390 -r1.391
26 --- ChangeLog 19 Sep 2010 13:03:20 -0000 1.390
27 +++ ChangeLog 27 Sep 2010 11:01:33 -0000 1.391
28 @@ -1,6 +1,17 @@
29 # ChangeLog for media-sound/amarok
30 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v 1.390 2010/09/19 13:03:20 jmbsvicetto Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v 1.391 2010/09/27 11:01:33 jmbsvicetto Exp $
33 +
34 +*amarok-2.3.2-r1 (27 Sep 2010)
35 +
36 + 27 Sep 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o>
37 + +amarok-2.3.2-r1.ebuild, +files/amarok-2.3.2-fix-qt-regression.patch:
38 + [media-sound/amarok-2.3.2-r1] Now that we finally have working patches for
39 + mariadb and mysql 5.1.50,
40 + fixed the embedded deps and added embedded to IUSE defaults.
41 + Added an upstream patch to fix issues with the collection scanning caused
42 + by a QT bug/regression -
43 + https://bugs.kde.org/show_bug.cgi?id=251762#c10
44
45 19 Sep 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o>
46 amarok-2.3.1.90.ebuild:
47
48
49
50 1.1 media-sound/amarok/amarok-2.3.2-r1.ebuild
51
52 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/amarok-2.3.2-r1.ebuild?rev=1.1&view=markup
53 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/amarok-2.3.2-r1.ebuild?rev=1.1&content-type=text/plain
54
55 Index: amarok-2.3.2-r1.ebuild
56 ===================================================================
57 # Copyright 1999-2010 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-2.3.2-r1.ebuild,v 1.1 2010/09/27 11:01:33 jmbsvicetto Exp $
60
61 EAPI="2"
62
63 # Translations are only in the tarballs, not the git repo
64 if [[ ${PV} != *9999* ]]; then
65 KDE_LINGUAS="af bg ca ca@valencia cs da de el en_GB es et fr it ja lt lv nb nds pa pl
66 pt pt_BR ru sk sl sr sr@ijekavian sr@ijekavianlatin sr@latin sv th tr uk zh_CN zh_TW"
67 SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.bz2"
68 else
69 EGIT_REPO_URI="git://git.kde.org/${PN}/${PN}.git"
70 GIT_ECLASS="git"
71 fi
72
73 KDE_REQUIRED="never"
74 inherit flag-o-matic kde4-base ${GIT_ECLASS}
75
76 DESCRIPTION="Advanced audio player based on KDE framework."
77 HOMEPAGE="http://amarok.kde.org/"
78
79 LICENSE="GPL-2"
80 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
81 SLOT="4"
82 IUSE="cdda daap debug +embedded ipod lastfm mp3tunes mtp opengl +player semantic-desktop +utils"
83
84 # Tests require gmock - http://code.google.com/p/gmock/
85 # It's not in the tree yet
86 RESTRICT="test"
87
88 # The QT regression patch was submitted by Jeff Mitchell at
89 # http://gitweb.kde.org/amarok/amarok.git/commitdiff_plain/79d86829294ac54132c01153660e70e30c15c378?hp=fd2a40d970c57fa2102e95de1a60c59e37892638
90 PATCHES=(
91 "${FILESDIR}/${P}-flac-fix.patch"
92 "${FILESDIR}/${P}-fix-qt-regression.patch"
93 )
94
95 # ipod requires gdk enabled and also gtk compiled in libgpod
96 COMMONDEPEND="
97 >=media-libs/taglib-1.6.1[asf,mp4]
98 >=media-libs/taglib-extras-1.0.1
99 player? (
100 app-crypt/qca:2
101 >=app-misc/strigi-0.5.7[dbus,qt4]
102 >=kde-base/kdelibs-${KDE_MINIMAL}[opengl?,semantic-desktop?]
103 sys-libs/zlib
104 >=virtual/mysql-5.1
105 x11-libs/qt-script
106 >=x11-libs/qtscriptgenerator-0.1.0
107 cdda? (
108 >=kde-base/libkcddb-${KDE_MINIMAL}
109 >=kde-base/libkcompactdisc-${KDE_MINIMAL}
110 >=kde-base/kdemultimedia-kioslaves-${KDE_MINIMAL}
111 )
112 embedded? (
113 || ( >=dev-db/mysql-5.1.50-r3 >=dev-db/mariadb-5.1.50 )
114 )
115 ipod? ( >=media-libs/libgpod-0.7.0[gtk] )
116 lastfm? ( >=media-libs/liblastfm-0.3.0 )
117 mp3tunes? (
118 dev-libs/glib:2
119 dev-libs/libxml2
120 dev-libs/openssl
121 net-libs/loudmouth
122 net-misc/curl
123 x11-libs/qt-core[glib]
124 )
125 mtp? ( >=media-libs/libmtp-1.0.0 )
126 opengl? ( virtual/opengl )
127 )
128 utils? (
129 x11-libs/qt-core
130 x11-libs/qt-dbus
131 )
132 !player? ( !utils? ( media-sound/amarok[player] ) )
133 "
134 DEPEND="${COMMONDEPEND}
135 dev-util/automoc
136 dev-util/pkgconfig
137 "
138 RDEPEND="${COMMONDEPEND}
139 !media-sound/amarok-utils
140 player? ( >=kde-base/phonon-kde-${KDE_MINIMAL} )
141 "
142
143 src_prepare() {
144 if ! use player; then
145 # Disable po processing
146 sed -e "s:include(MacroOptionalAddSubdirectory)::" \
147 -i "${S}/CMakeLists.txt" \
148 || die "Removing include of MacroOptionalAddSubdirectory failed."
149 sed -e "s:macro_optional_add_subdirectory( po )::" \
150 -i "${S}/CMakeLists.txt" \
151 || die "Removing include of MacroOptionalAddSubdirectory failed."
152 fi
153
154 kde4-base_src_prepare
155 }
156
157 src_configure() {
158 # Append minimal-toc cflag for ppc64, see bug 280552 and 292707
159 use ppc64 && append-flags -mminimal-toc
160
161 if use player; then
162 mycmakeargs=(
163 -DWITH_PLAYER=ON
164 -DWITH_Libgcrypt=OFF
165 $(cmake-utils_use embedded WITH_MYSQL_EMBEDDED)
166 $(cmake-utils_use_with ipod)
167 $(cmake-utils_use_with ipod Gdk)
168 $(cmake-utils_use_with lastfm LibLastFm)
169 $(cmake-utils_use_with mtp)
170 $(cmake-utils_use_with mp3tunes MP3Tunes)
171 )
172 else
173 mycmakeargs=(
174 -DWITH_PLAYER=OFF
175 )
176 fi
177
178 mycmakeargs+=(
179 $(cmake-utils_use_with utils UTILITIES)
180 )
181 # $(cmake-utils_use_with semantic-desktop Nepomuk)
182 # $(cmake-utils_use_with semantic-desktop Soprano)
183
184 kde4-base_src_configure
185 }
186
187 pkg_postinst() {
188 kde4-base_pkg_postinst
189
190 if use player; then
191
192 if use daap; then
193 echo
194 elog "You have installed amarok with daap support."
195 elog "You may be interested in installing www-servers/mongrel as well."
196 echo
197 fi
198
199 if ! use embedded; then
200 echo
201 elog "You've disabled the amarok support for embedded mysql DBs."
202 elog "You'll have to configure amarok to use an external db server."
203 echo
204 elog "Please read http://amaroklive.com/wiki/MySQL_Server for details on how"
205 elog "to configure the external db and migrate your data from the embedded database."
206 echo
207
208 if has_version "dev-db/mysql[minimal]"; then
209 elog "You built mysql with the minimal use flag, so it doesn't include the server."
210 elog "You won't be able to use the local mysql installation to store your amarok collection."
211 echo
212 fi
213 fi
214 fi
215 }