1 |
grknight 14/07/30 23:58:57 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: amarok-2.8.0-r3.ebuild |
5 |
Log: |
6 |
Revision bump to fix libmysqld rpath. Patch by Gabriel Marcano <gabemarcano@×××××.com> from bug 508824. Ack by |
7 |
jmbsvicetto |
8 |
|
9 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 67C78E1D) |
10 |
|
11 |
Revision Changes Path |
12 |
1.471 media-sound/amarok/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/ChangeLog?rev=1.471&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/ChangeLog?rev=1.471&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/ChangeLog?r1=1.470&r2=1.471 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v |
21 |
retrieving revision 1.470 |
22 |
retrieving revision 1.471 |
23 |
diff -u -r1.470 -r1.471 |
24 |
--- ChangeLog 17 Jul 2014 13:22:57 -0000 1.470 |
25 |
+++ ChangeLog 30 Jul 2014 23:58:57 -0000 1.471 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for media-sound/amarok |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v 1.470 2014/07/17 13:22:57 kensington Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v 1.471 2014/07/30 23:58:57 grknight Exp $ |
31 |
+ |
32 |
+*amarok-2.8.0-r3 (30 Jul 2014) |
33 |
+ |
34 |
+ 30 Jul 2014; Brian Evans <grknight@g.o> +amarok-2.8.0-r3.ebuild, |
35 |
+ +files/amarok-2.8.0-mysqld-rpath.patch: |
36 |
+ Revision bump to fix libmysqld rpath. Patch by Gabriel Marcano |
37 |
+ <gabemarcano@×××××.com> from bug 508824. Ack by jmbsvicetto |
38 |
|
39 |
17 Jul 2014; Michael Palimaka <kensington@g.o> amarok-2.8.0-r2.ebuild: |
40 |
Remove workaround now handled in the eclass. |
41 |
|
42 |
|
43 |
|
44 |
1.1 media-sound/amarok/amarok-2.8.0-r3.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/amarok-2.8.0-r3.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/amarok/amarok-2.8.0-r3.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: amarok-2.8.0-r3.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2014 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-2.8.0-r3.ebuild,v 1.1 2014/07/30 23:58:57 grknight Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
KDE_LINGUAS="bs ca ca@valencia cs da de el en_GB es et eu fi fr ga gl hu it ja |
58 |
lt lv nb nl pa pl pt pt_BR ro ru sl sr sr@ijekavian sr@ijekavianlatin sr@latin |
59 |
sv tr uk zh_CN zh_TW" |
60 |
KDE_REQUIRED="never" |
61 |
KDE_HANDBOOK="optional" |
62 |
KDE_MINIMAL="4.13.1" |
63 |
VIRTUALX_REQUIRED="test" |
64 |
VIRTUALDBUS_TEST="true" |
65 |
inherit flag-o-matic kde4-base pax-utils |
66 |
|
67 |
DESCRIPTION="Advanced audio player based on KDE framework." |
68 |
HOMEPAGE="http://amarok.kde.org/" |
69 |
if [[ ${PV} != *9999* ]]; then |
70 |
if [[ $PV == *[6-9][0-9]* ]]; then |
71 |
SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.bz2" |
72 |
else |
73 |
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.bz2" |
74 |
fi |
75 |
KEYWORDS="~amd64 ~ppc ~x86" |
76 |
else |
77 |
KEYWORDS="" |
78 |
fi |
79 |
|
80 |
LICENSE="GPL-2" |
81 |
SLOT="4" |
82 |
IUSE="cdda debug +embedded ipod lastfm mp3tunes mtp nepomuk ofa opengl test +utils" |
83 |
|
84 |
if [[ ${KDE_BUILD_TYPE} == live ]]; then |
85 |
RESTRICT="test" |
86 |
fi |
87 |
|
88 |
# ipod requires gdk enabled and also gtk compiled in libgpod |
89 |
COMMONDEPEND=" |
90 |
app-crypt/qca:2 |
91 |
$(add_kdebase_dep kdelibs 'nepomuk?,opengl?' 4.8.4) |
92 |
$(add_kdebase_dep kdebase-kioslaves) |
93 |
>=media-libs/taglib-1.7[asf,mp4] |
94 |
>=media-libs/taglib-extras-1.0.1 |
95 |
sys-libs/zlib |
96 |
>=virtual/mysql-5.1[embedded?] |
97 |
>=dev-qt/qtcore-4.8:4 |
98 |
>=dev-qt/qtdbus-4.8:4 |
99 |
>=dev-qt/qtscript-4.8:4 |
100 |
>=x11-libs/qtscriptgenerator-0.1.0 |
101 |
cdda? ( |
102 |
$(add_kdebase_dep libkcddb) |
103 |
$(add_kdebase_dep libkcompactdisc) |
104 |
$(add_kdebase_dep audiocd-kio) |
105 |
) |
106 |
ipod? ( >=media-libs/libgpod-0.7.0[gtk] ) |
107 |
lastfm? ( >=media-libs/liblastfm-1.0.3 ) |
108 |
mp3tunes? ( |
109 |
dev-libs/glib:2 |
110 |
dev-libs/libxml2 |
111 |
dev-libs/openssl |
112 |
net-libs/loudmouth |
113 |
net-misc/curl |
114 |
>=dev-qt/qtcore-4.8.4:4[glib] |
115 |
) |
116 |
mtp? ( >=media-libs/libmtp-1.0.0 ) |
117 |
nepomuk? ( >=kde-base/nepomuk-core-4.9.0 ) |
118 |
ofa? ( >=media-libs/libofa-0.9.0 ) |
119 |
opengl? ( virtual/opengl ) |
120 |
" |
121 |
DEPEND="${COMMONDEPEND} |
122 |
dev-util/automoc |
123 |
virtual/pkgconfig |
124 |
test? ( dev-cpp/gmock ) |
125 |
" |
126 |
RDEPEND="${COMMONDEPEND} |
127 |
!media-sound/amarok-utils |
128 |
$(add_kdebase_dep phonon-kde) |
129 |
" |
130 |
|
131 |
PATCHES=( |
132 |
"${FILESDIR}/${P}-gmock-1.7.patch" |
133 |
"${FILESDIR}/${P}-mysqld-rpath.patch" |
134 |
) |
135 |
|
136 |
src_configure() { |
137 |
# Append minimal-toc cflag for ppc64, see bug 280552 and 292707 |
138 |
use ppc64 && append-flags -mminimal-toc |
139 |
|
140 |
local mycmakeargs=( |
141 |
-DWITH_PLAYER=ON |
142 |
-DWITH_Libgcrypt=OFF |
143 |
-DWITH_SPECTRUM_ANALYZER=OFF |
144 |
$(cmake-utils_use embedded WITH_MYSQL_EMBEDDED) |
145 |
$(cmake-utils_use_with ipod) |
146 |
$(cmake-utils_use_with ipod Gdk) |
147 |
$(cmake-utils_use_with lastfm LibLastFm) |
148 |
$(cmake-utils_use_with mtp) |
149 |
$(cmake-utils_use_with mp3tunes MP3Tunes) |
150 |
$(cmake-utils_use_with nepomuk) |
151 |
$(cmake-utils_use_with nepomuk Soprano) |
152 |
$(cmake-utils_use_with ofa LibOFA) |
153 |
$(cmake-utils_use_with utils UTILITIES) |
154 |
) |
155 |
|
156 |
# Add libmysqld location for rpath patch; bug 508824 |
157 |
use embedded && mycmakeargs+=(-DMYSQLD_DIR="${EPREFIX}/usr/$(get_libdir)/mysql") |
158 |
|
159 |
kde4-base_src_configure |
160 |
} |
161 |
|
162 |
src_install() { |
163 |
kde4-base_src_install |
164 |
|
165 |
# bug 481592 |
166 |
pax-mark m "${ED}"/usr/bin/amarok |
167 |
} |
168 |
|
169 |
pkg_postinst() { |
170 |
kde4-base_pkg_postinst |
171 |
|
172 |
if ! use embedded; then |
173 |
echo |
174 |
elog "You've disabled the amarok support for embedded mysql DBs." |
175 |
elog "You'll have to configure amarok to use an external db server." |
176 |
echo |
177 |
elog "Please read http://amarok.kde.org/wiki/MySQL_Server for details on how" |
178 |
elog "to configure the external db and migrate your data from the embedded database." |
179 |
echo |
180 |
|
181 |
if has_version "virtual/mysql[minimal]"; then |
182 |
elog "You built mysql with the minimal use flag, so it doesn't include the server." |
183 |
elog "You won't be able to use the local mysql installation to store your amarok collection." |
184 |
echo |
185 |
fi |
186 |
fi |
187 |
} |