Gentoo Archives: gentoo-commits

From: "Carsten Lohrke (carlo)" <carlo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/amarok: amarok-1.4.10_p20090130.ebuild ChangeLog amarok-1.4.10_p20090130-r1.ebuild
Date: Fri, 30 Jan 2009 15:35:32
Message-Id: E1LSvP0-0001lG-IQ@stork.gentoo.org
1 carlo 09/01/30 15:35:30
2
3 Modified: ChangeLog
4 Added: amarok-1.4.10_p20090130.ebuild
5 amarok-1.4.10_p20090130-r1.ebuild
6 Log:
7 Sync to stable branch, fixing bug #256389. Desktop entry fixes.
8 (Portage version: 2.2_rc23/cvs/Linux i686)
9
10 Revision Changes Path
11 1.301 media-sound/amarok/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amarok/ChangeLog?rev=1.301&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amarok/ChangeLog?rev=1.301&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amarok/ChangeLog?r1=1.300&r2=1.301
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v
20 retrieving revision 1.300
21 retrieving revision 1.301
22 diff -u -r1.300 -r1.301
23 --- ChangeLog 25 Jan 2009 22:17:57 -0000 1.300
24 +++ ChangeLog 30 Jan 2009 15:35:30 -0000 1.301
25 @@ -1,6 +1,13 @@
26 # ChangeLog for media-sound/amarok
27 # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v 1.300 2009/01/25 22:17:57 jokey Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v 1.301 2009/01/30 15:35:30 carlo Exp $
30 +
31 +*amarok-1.4.10_p20090130-r1 (30 Jan 2009)
32 +*amarok-1.4.10_p20090130 (30 Jan 2009)
33 +
34 + 30 Jan 2009; Carsten Lohrke <carlo@g.o>
35 + +amarok-1.4.10_p20090130.ebuild, +amarok-1.4.10_p20090130-r1.ebuild:
36 + Sync to stable branch, fixing bug #256389. Desktop entry fixes.
37
38 25 Jan 2009; <jokey@g.o> amarok-2.0.1.1.ebuild:
39 Revert keyword per #gentoo-dev talk
40
41
42
43 1.1 media-sound/amarok/amarok-1.4.10_p20090130.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amarok/amarok-1.4.10_p20090130.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amarok/amarok-1.4.10_p20090130.ebuild?rev=1.1&content-type=text/plain
47
48 Index: amarok-1.4.10_p20090130.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-1.4.10_p20090130.ebuild,v 1.1 2009/01/30 15:35:30 carlo Exp $
53
54 ARTS_REQUIRED="never"
55
56 LANGS="af ar az be bg bn br ca cs cy da de el en_GB eo es et eu fa fi
57 fr ga gl he hi hu id is it ja km ko ku lo lt mk ms nb nds ne nl nn pa
58 pl pt pt_BR ro ru rw se sk sl sq sr sr@Latn ss sv ta tg th tr uk uz
59 zh_CN zh_TW"
60
61 LANGS_DOC="da de es et fr it nl pl pt pt_BR ru sv"
62
63 USE_KEG_PACKAGING=1
64
65 inherit kde
66
67 PKG_SUFFIX=""
68
69 MY_P="${P/_*/}"
70 S="${WORKDIR}/${MY_P}"
71
72 SRC_URI="mirror://kde/stable/amarok/${PV/_*/}/src/${MY_P}.tar.bz2
73 mirror://gentoo/amarok-1.4.10-post20090130.diff.tar.bz2"
74
75 DESCRIPTION="Advanced audio player based on KDE framework."
76 HOMEPAGE="http://amarok.kde.org/"
77
78 LICENSE="GPL-2"
79
80 SLOT="0"
81 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
82 IUSE="mp4 kde mysql amazon opengl postgres
83 visualization ipod ifp real njb mtp musicbrainz daap
84 python"
85 # kde: enables compilation of the konqueror sidebar plugin
86
87 RDEPEND="kde? ( || ( =kde-base/konqueror-3.5* =kde-base/kdebase-3.5* ) )
88 >=media-libs/xine-lib-1.1.2_pre20060328-r8
89 >=media-libs/taglib-1.4
90 mysql? ( >=virtual/mysql-4.0 )
91 postgres? ( virtual/postgresql-base )
92 opengl? ( virtual/opengl )
93 visualization? ( media-libs/libsdl
94 =media-plugins/libvisual-plugins-0.4* )
95 ipod? ( >=media-libs/libgpod-0.5.2 )
96 mp4? ( media-libs/libmp4v2 )
97 ifp? ( media-libs/libifp )
98 real? (
99 media-video/realplayer
100 media-libs/alsa-lib )
101 njb? ( >=media-libs/libnjb-2.2.4 )
102 mtp? ( <media-libs/libmtp-0.3.0 )
103 musicbrainz? ( media-libs/tunepimp )
104 =dev-lang/ruby-1.8*"
105
106 DEPEND="${RDEPEND}"
107
108 RDEPEND="${RDEPEND}
109 app-arch/unzip
110 python? ( dev-python/PyQt )
111 daap? ( www-servers/mongrel )"
112
113 PATCHES=( "${FILESDIR}/amarok-1.4.10-gcc-4.3.patch"
114 "${WORKDIR}/amarok-1.4.10-post20090130.diff"
115 "${WORKDIR}/amarok-1.4.10-desktop-entry.diff" )
116
117 need-kde 3.5
118
119 src_compile() {
120 # Extra, unsupported engines are forcefully disabled.
121 local myconf="$(use_enable mysql) $(use_enable postgres postgresql)
122 $(use_with opengl)
123 $(use_with visualization libvisual)
124 $(use_enable amazon)
125 $(use_with ipod libgpod)
126 $(use_with mp4 mp4v2)
127 $(use_with ifp)
128 $(use_with real helix)
129 $(use_with njb libnjb)
130 $(use_with mtp libmtp)
131 $(use_with musicbrainz)
132 $(use_with daap)
133 --with-xine
134 --without-nmm"
135
136 kde_src_compile
137 }
138
139 src_install() {
140 kde_src_install
141
142 # As much as I respect Ian, I'd rather leave Amarok to use mongrel
143 # from Portage, for security and policy reasons.
144 rm -rf "${D}"/usr/share/apps/amarok/ruby_lib/rbconfig \
145 "${D}"/usr/share/apps/amarok/ruby_lib/mongrel* \
146 "${D}"/usr/share/apps/amarok/ruby_lib/rubygems* \
147 "${D}"/usr/share/apps/amarok/ruby_lib/gem* \
148 "${D}"/usr/$(get_libdir)/ruby_lib
149
150 if ! use python; then
151 rm -r "${D}"/usr/share/apps/amarok/scripts/webcontrol \
152 || die "Unable to remove webcontrol."
153 fi
154 }
155
156
157
158 1.1 media-sound/amarok/amarok-1.4.10_p20090130-r1.ebuild
159
160 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amarok/amarok-1.4.10_p20090130-r1.ebuild?rev=1.1&view=markup
161 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amarok/amarok-1.4.10_p20090130-r1.ebuild?rev=1.1&content-type=text/plain
162
163 Index: amarok-1.4.10_p20090130-r1.ebuild
164 ===================================================================
165 # Copyright 1999-2009 Gentoo Foundation
166 # Distributed under the terms of the GNU General Public License v2
167 # $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-1.4.10_p20090130-r1.ebuild,v 1.1 2009/01/30 15:35:30 carlo Exp $
168
169 ARTS_REQUIRED="never"
170
171 LANGS="af ar az be bg bn br ca cs cy da de el en_GB eo es et eu fa fi
172 fr ga gl he hi hu id is it ja km ko ku lo lt mk ms nb nds ne nl nn pa
173 pl pt pt_BR ro ru rw se sk sl sq sr sr@Latn ss sv ta tg th tr uk uz
174 zh_CN zh_TW"
175
176 LANGS_DOC="da de es et fr it nl pl pt pt_BR ru sv"
177
178 USE_KEG_PACKAGING=1
179
180 inherit kde
181
182 PKG_SUFFIX=""
183
184 MY_P="${P/_*/}"
185 S="${WORKDIR}/${MY_P}"
186
187 SRC_URI="mirror://kde/stable/amarok/${PV/_*/}/src/${MY_P}.tar.bz2
188 mirror://gentoo/amarok-1.4.10-post20090130.diff.tar.bz2"
189
190 DESCRIPTION="Advanced audio player based on KDE framework."
191 HOMEPAGE="http://amarok.kde.org/"
192
193 LICENSE="GPL-2"
194
195 SLOT="0"
196 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
197 IUSE="mp4 kde mysql amazon opengl postgres
198 visualization ipod ifp real njb mtp musicbrainz daap
199 python"
200 # kde: enables compilation of the konqueror sidebar plugin
201
202 RDEPEND="kde? ( || ( =kde-base/konqueror-3.5* =kde-base/kdebase-3.5* ) )
203 >=media-libs/xine-lib-1.1.2_pre20060328-r8
204 >=media-libs/taglib-1.4
205 mysql? ( >=virtual/mysql-4.0 )
206 postgres? ( virtual/postgresql-base )
207 opengl? ( virtual/opengl )
208 visualization? ( media-libs/libsdl
209 =media-plugins/libvisual-plugins-0.4* )
210 ipod? ( >=media-libs/libgpod-0.5.2 )
211 mp4? ( media-libs/libmp4v2 )
212 ifp? ( media-libs/libifp )
213 real? (
214 media-video/realplayer
215 media-libs/alsa-lib )
216 njb? ( >=media-libs/libnjb-2.2.4 )
217 mtp? ( >=media-libs/libmtp-0.3.0 )
218 musicbrainz? ( media-libs/tunepimp )
219 =dev-lang/ruby-1.8*"
220
221 DEPEND="${RDEPEND}"
222
223 RDEPEND="${RDEPEND}
224 app-arch/unzip
225 python? ( dev-python/PyQt )
226 daap? ( www-servers/mongrel )"
227
228 PATCHES=( "${FILESDIR}/amarok-1.4.9.1-libmtp-0.3.0-API.patch"
229 "${FILESDIR}/amarok-1.4.10-gcc-4.3.patch"
230 "${WORKDIR}/amarok-1.4.10-post20090130.diff"
231 "${WORKDIR}/amarok-1.4.10-desktop-entry.diff" )
232
233 need-kde 3.5
234
235 src_compile() {
236 # Extra, unsupported engines are forcefully disabled.
237 local myconf="$(use_enable mysql) $(use_enable postgres postgresql)
238 $(use_with opengl)
239 $(use_with visualization libvisual)
240 $(use_enable amazon)
241 $(use_with ipod libgpod)
242 $(use_with mp4 mp4v2)
243 $(use_with ifp)
244 $(use_with real helix)
245 $(use_with njb libnjb)
246 $(use_with mtp libmtp)
247 $(use_with musicbrainz)
248 $(use_with daap)
249 --with-xine
250 --without-nmm"
251
252 kde_src_compile
253 }
254
255 src_install() {
256 kde_src_install
257
258 # As much as I respect Ian, I'd rather leave Amarok to use mongrel
259 # from Portage, for security and policy reasons.
260 rm -rf "${D}"/usr/share/apps/amarok/ruby_lib/rbconfig \
261 "${D}"/usr/share/apps/amarok/ruby_lib/mongrel* \
262 "${D}"/usr/share/apps/amarok/ruby_lib/rubygems* \
263 "${D}"/usr/share/apps/amarok/ruby_lib/gem* \
264 "${D}"/usr/$(get_libdir)/ruby_lib
265
266 if ! use python; then
267 rm -r "${D}"/usr/share/apps/amarok/scripts/webcontrol \
268 || die "Unable to remove webcontrol."
269 fi
270 }