1 |
commit: b3e5c28c145f7d089be2829f48e39567328ca6f0 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 9 21:28:23 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 9 21:28:23 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3e5c28c |
7 |
|
8 |
media-sound/amarok: Drop mysteriously broken -r4 |
9 |
|
10 |
Package-Manager: Portage-2.3.17, Repoman-2.3.6 |
11 |
|
12 |
media-sound/amarok/amarok-2.8.90-r4.ebuild | 132 ----------------------------- |
13 |
1 file changed, 132 deletions(-) |
14 |
|
15 |
diff --git a/media-sound/amarok/amarok-2.8.90-r4.ebuild b/media-sound/amarok/amarok-2.8.90-r4.ebuild |
16 |
deleted file mode 100644 |
17 |
index 4ea07c89b53..00000000000 |
18 |
--- a/media-sound/amarok/amarok-2.8.90-r4.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,132 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
- |
26 |
-KDE_REQUIRED="never" |
27 |
-KDE_HANDBOOK="optional" |
28 |
-SQL_REQUIRED="always" |
29 |
-VIRTUALX_REQUIRED="test" |
30 |
-VIRTUALDBUS_TEST="true" |
31 |
-inherit flag-o-matic kde4-base pax-utils |
32 |
- |
33 |
-DESCRIPTION="Advanced audio player based on KDE framework" |
34 |
-HOMEPAGE="https://amarok.kde.org/" |
35 |
-if [[ ${PV} != *9999* ]]; then |
36 |
- SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" |
37 |
- KEYWORDS="amd64 x86" |
38 |
-fi |
39 |
- |
40 |
-LICENSE="GPL-2" |
41 |
-SLOT="4" |
42 |
-IUSE="debug +embedded ipod lastfm mp3tunes mtp ofa test +utils" |
43 |
- |
44 |
-if [[ ${KDE_BUILD_TYPE} == live ]]; then |
45 |
- RESTRICT+=" test" |
46 |
-fi |
47 |
- |
48 |
-# ipod requires gdk enabled and also gtk compiled in libgpod |
49 |
-COMMONDEPEND=" |
50 |
- $(add_kdeapps_dep kdebase-kioslaves) |
51 |
- app-crypt/qca:2[qt4] |
52 |
- >=dev-qt/qtcore-4.8:4 |
53 |
- >=dev-qt/qtdbus-4.8:4 |
54 |
- >=dev-qt/qtscript-4.8:4 |
55 |
- >=kde-frameworks/kdelibs-4.14.37:4[plasma] |
56 |
- >=media-libs/taglib-1.7[asf(+),mp4(+)] |
57 |
- >=media-libs/taglib-extras-1.0.1 |
58 |
- sys-libs/zlib |
59 |
- >=virtual/mysql-5.1[embedded?] |
60 |
- >=x11-libs/qtscriptgenerator-0.1.0 |
61 |
- ipod? ( >=media-libs/libgpod-0.7.0[gtk] ) |
62 |
- lastfm? ( >=media-libs/liblastfm-1.0.3[qt4] ) |
63 |
- mp3tunes? ( |
64 |
- dev-libs/glib:2 |
65 |
- dev-libs/libxml2 |
66 |
- dev-libs/openssl:0 |
67 |
- >=dev-qt/qtcore-4.8.4:4[glib] |
68 |
- net-libs/loudmouth |
69 |
- net-misc/curl |
70 |
- ) |
71 |
- mtp? ( >=media-libs/libmtp-1.0.0 ) |
72 |
- ofa? ( >=media-libs/libofa-0.9.0 ) |
73 |
-" |
74 |
-DEPEND="${COMMONDEPEND} |
75 |
- dev-util/automoc |
76 |
- virtual/pkgconfig |
77 |
- test? ( dev-cpp/gmock ) |
78 |
-" |
79 |
-RDEPEND="${COMMONDEPEND} |
80 |
- !media-sound/amarok-utils |
81 |
- $(add_kdeapps_dep phonon-kde) |
82 |
-" |
83 |
- |
84 |
-PATCHES=( |
85 |
- "${FILESDIR}/${PN}-2.8.0-taglib110.patch" |
86 |
- "${FILESDIR}/${P}-mysql-embedded.patch" |
87 |
- "${FILESDIR}/${P}-mysqld-rpath.patch" |
88 |
- "${FILESDIR}/${P}-scriptconsole.patch" |
89 |
- "${FILESDIR}/${P}-gcc6.patch" |
90 |
- "${FILESDIR}/${P}-ffmpeg3.patch" |
91 |
- "${FILESDIR}/${P}-no-webkit.patch" |
92 |
-) |
93 |
- |
94 |
-src_prepare() { |
95 |
- kde4-base_src_prepare |
96 |
- |
97 |
- # requires qtwebkit |
98 |
- sed -i -e "s/wikipedia,//" data/amarok_homerc || die |
99 |
-} |
100 |
- |
101 |
-src_configure() { |
102 |
- # Append minimal-toc cflag for ppc64, see bug 280552 and 292707 |
103 |
- use ppc64 && append-flags -mminimal-toc |
104 |
- |
105 |
- local mycmakeargs=( |
106 |
- -DWITH_PLAYER=ON |
107 |
- -DWITH_Libgcrypt=OFF |
108 |
- -DWITH_SPECTRUM_ANALYZER=OFF |
109 |
- -DWITH_NepomukCore=OFF |
110 |
- -DWITH_Soprano=OFF |
111 |
- -DWITH_MYSQL_EMBEDDED=$(usex embedded) |
112 |
- -DWITH_IPOD=$(usex ipod) |
113 |
- -DWITH_GDKPixBuf=$(usex ipod) |
114 |
- -DWITH_LibLastFm=$(usex lastfm) |
115 |
- -DWITH_MP3Tunes=$(usex mp3tunes) |
116 |
- -DWITH_Mtp=$(usex mtp) |
117 |
- -DWITH_LibOFA=$(usex ofa) |
118 |
- -DWITH_UTILITIES=$(usex utils) |
119 |
- ) |
120 |
- |
121 |
- # bug 581554: add libmysqld location for rpath patch |
122 |
- use embedded && mycmakeargs+=( -DMYSQLD_DIR="${EPREFIX}/usr/$(get_libdir)/mysql" ) |
123 |
- |
124 |
- kde4-base_src_configure |
125 |
-} |
126 |
- |
127 |
-src_install() { |
128 |
- kde4-base_src_install |
129 |
- |
130 |
- # bug 481592 |
131 |
- pax-mark m "${ED}"/usr/bin/amarok |
132 |
-} |
133 |
- |
134 |
-pkg_postinst() { |
135 |
- kde4-base_pkg_postinst |
136 |
- |
137 |
- if ! use embedded; then |
138 |
- echo |
139 |
- elog "You've disabled the amarok support for embedded mysql DBs." |
140 |
- elog "You'll have to configure amarok to use an external db server." |
141 |
- echo |
142 |
- elog "Please read http://amarok.kde.org/wiki/MySQL_Server for details on how" |
143 |
- elog "to configure the external db and migrate your data from the embedded database." |
144 |
- echo |
145 |
- |
146 |
- if has_version "virtual/mysql[minimal]"; then |
147 |
- elog "You built mysql with the minimal use flag, so it doesn't include the server." |
148 |
- elog "You won't be able to use the local mysql installation to store your amarok collection." |
149 |
- echo |
150 |
- fi |
151 |
- fi |
152 |
-} |