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: amarok-2.3.1.90.ebuild ChangeLog
Date: Tue, 24 Aug 2010 01:17:41
Message-Id: 20100824011732.932022004E@flycatcher.gentoo.org
1 jmbsvicetto 10/08/24 01:17:32
2
3 Modified: ChangeLog
4 Added: amarok-2.3.1.90.ebuild
5 Log:
6 Added amarok 2.3.1.90 (2.3.2 Beta1).
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.387 media-sound/amarok/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/ChangeLog?rev=1.387&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/ChangeLog?rev=1.387&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/ChangeLog?r1=1.386&r2=1.387
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v
19 retrieving revision 1.386
20 retrieving revision 1.387
21 diff -u -r1.386 -r1.387
22 --- ChangeLog 10 Aug 2010 12:55:46 -0000 1.386
23 +++ ChangeLog 24 Aug 2010 01:17:32 -0000 1.387
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-sound/amarok
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v 1.386 2010/08/10 12:55:46 scarabeus Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v 1.387 2010/08/24 01:17:32 jmbsvicetto Exp $
29 +
30 +*amarok-2.3.1.90 (24 Aug 2010)
31 +
32 + 24 Aug 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o>
33 + +amarok-2.3.1.90.ebuild:
34 + Added amarok 2.3.1.90 (2.3.2 Beta1).
35
36 10 Aug 2010; Tomáš Chvátal <scarabeus@g.o>
37 -amarok-2.2.2-r1.ebuild, -files/amarok-2.2.2-nodebug.patch,
38
39
40
41 1.1 media-sound/amarok/amarok-2.3.1.90.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/amarok-2.3.1.90.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/amarok-2.3.1.90.ebuild?rev=1.1&content-type=text/plain
45
46 Index: amarok-2.3.1.90.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-2.3.1.90.ebuild,v 1.1 2010/08/24 01:17:32 jmbsvicetto Exp $
51
52 EAPI="2"
53
54 # Translations are only in the tarballs, not the git repo
55 if [[ ${PV} != *9999* ]]; then
56 KDE_LINGUAS="af bg ca ca@valencia cs da de el en_GB es et fr it ja lt lv nb nds pa pl
57 pt pt_BR ru sk sl sr sr@ijekavian sr@ijekavianlatin sr@latin sv th tr uk zh_CN zh_TW"
58 SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.bz2"
59 else
60 EGIT_REPO_URI="git://git.kde.org/${PN}/${PN}.git"
61 GIT_ECLASS="git"
62 fi
63
64 KDE_REQUIRED="never"
65 inherit flag-o-matic kde4-base ${GIT_ECLASS}
66
67 DESCRIPTION="Advanced audio player based on KDE framework."
68 HOMEPAGE="http://amarok.kde.org/"
69
70 LICENSE="GPL-2"
71 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
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 || ( >=dev-db/mysql-5.0.76 =virtual/mysql-5.1 )
87 >=kde-base/kdelibs-${KDE_MINIMAL}[opengl?,semantic-desktop?]
88 sys-libs/zlib
89 x11-libs/qt-script
90 >=x11-libs/qtscriptgenerator-0.1.0
91 cdda? (
92 >=kde-base/libkcddb-${KDE_MINIMAL}
93 >=kde-base/libkcompactdisc-${KDE_MINIMAL}
94 >=kde-base/kdemultimedia-kioslaves-${KDE_MINIMAL}
95 )
96 embedded? ( <dev-db/mysql-5.1[embedded,-minimal] )
97 ipod? ( >=media-libs/libgpod-0.7.0[gtk] )
98 lastfm? ( >=media-libs/liblastfm-0.3.0 )
99 mp3tunes? (
100 dev-libs/glib:2
101 dev-libs/libxml2
102 dev-libs/openssl
103 net-libs/loudmouth
104 net-misc/curl
105 x11-libs/qt-core[glib]
106 )
107 mtp? ( >=media-libs/libmtp-0.3.0 )
108 opengl? ( virtual/opengl )
109 )
110 utils? (
111 x11-libs/qt-core
112 x11-libs/qt-dbus
113 )
114 !player? ( !utils? ( media-sound/amarok[player] ) )
115 "
116 DEPEND="${COMMONDEPEND}
117 dev-util/automoc
118 dev-util/pkgconfig
119 "
120 RDEPEND="${COMMONDEPEND}
121 !media-sound/amarok-utils
122 player? ( >=kde-base/phonon-kde-${KDE_MINIMAL} )
123 "
124
125 src_prepare() {
126 if ! use player; then
127 # Disable po processing
128 sed -e "s:include(MacroOptionalAddSubdirectory)::" \
129 -i "${S}/CMakeLists.txt" \
130 || die "Removing include of MacroOptionalAddSubdirectory failed."
131 sed -e "s:macro_optional_add_subdirectory( po )::" \
132 -i "${S}/CMakeLists.txt" \
133 || die "Removing include of MacroOptionalAddSubdirectory failed."
134 fi
135
136 kde4-base_src_prepare
137 }
138
139 src_configure() {
140 # Append minimal-toc cflag for ppc64, see bug 280552 and 292707
141 use ppc64 && append-flags -mminimal-toc
142
143 if use player; then
144 mycmakeargs=(
145 -DWITH_PLAYER=ON
146 -DWITH_Libgcrypt=OFF
147 $(cmake-utils_use embedded WITH_MYSQL_EMBEDDED)
148 $(cmake-utils_use_with ipod)
149 $(cmake-utils_use_with ipod Gdk)
150 $(cmake-utils_use_with lastfm LibLastFm)
151 $(cmake-utils_use_with mtp)
152 $(cmake-utils_use_with mp3tunes MP3Tunes)
153 )
154 else
155 mycmakeargs=(
156 -DWITH_PLAYER=OFF
157 )
158 fi
159
160 mycmakeargs+=(
161 $(cmake-utils_use_with utils UTILITIES)
162 )
163 # $(cmake-utils_use_with semantic-desktop Nepomuk)
164 # $(cmake-utils_use_with semantic-desktop Soprano)
165
166 kde4-base_src_configure
167 }
168
169 pkg_postinst() {
170 kde4-base_pkg_postinst
171
172 if use player; then
173
174 if use daap; then
175 echo
176 elog "You have installed amarok with daap support."
177 elog "You may be interested in installing www-servers/mongrel as well."
178 echo
179 fi
180
181 if ! use embedded; then
182 echo
183 elog "You've disabled the amarok support for embedded mysql DBs."
184 elog "You'll have to configure amarok to use an external db server."
185 echo
186 elog "Please read http://amaroklive.com/wiki/MySQL_Server for details on how"
187 elog "to configure the external db and migrate your data from the embedded database."
188 echo
189
190 if has_version "dev-db/mysql[minimal]"; then
191 elog "You built mysql with the minimal use flag, so it doesn't include the server."
192 elog "You won't be able to use the local mysql installation to store your amarok collection."
193 echo
194 fi
195 fi
196 fi
197 }