Gentoo Archives: gentoo-commits

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