Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde-sunset:master commit in: media-sound/amarok/
Date: Wed, 12 Sep 2018 20:42:04
Message-Id: 1536784851.e1d7d29edb86b927d61574de3514a3247b60740d.asturm@gentoo
1 commit: e1d7d29edb86b927d61574de3514a3247b60740d
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 12 20:40:51 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 12 20:40:51 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=e1d7d29e
7
8 media-sound/amarok: Drop USE=embedded, fix USE=test
9
10 virtual/mysql[embedded] is gone and has no future.
11
12 media-sound/amarok/amarok-2.8.90-r5.ebuild | 33 +++++++++++++-----------------
13 1 file changed, 14 insertions(+), 19 deletions(-)
14
15 diff --git a/media-sound/amarok/amarok-2.8.90-r5.ebuild b/media-sound/amarok/amarok-2.8.90-r5.ebuild
16 index ee89cf9..6df63b2 100644
17 --- a/media-sound/amarok/amarok-2.8.90-r5.ebuild
18 +++ b/media-sound/amarok/amarok-2.8.90-r5.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2017 Gentoo Foundation
21 +# Copyright 1999-2018 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=6
25 @@ -19,7 +19,7 @@ fi
26
27 LICENSE="GPL-2"
28 SLOT="4"
29 -IUSE="debug +embedded ipod lastfm mp3tunes mtp ofa test +utils"
30 +IUSE="debug ipod lastfm mp3tunes mtp ofa test +utils"
31
32 if [[ ${KDE_BUILD_TYPE} == live ]]; then
33 RESTRICT+=" test"
34 @@ -36,7 +36,7 @@ COMMONDEPEND="
35 >=media-libs/taglib-1.7[asf(+),mp4(+)]
36 >=media-libs/taglib-extras-1.0.1
37 sys-libs/zlib
38 - >=virtual/mysql-5.1[embedded?]
39 + >=virtual/mysql-5.1
40 >=x11-libs/qtscriptgenerator-0.1.0
41 ipod? ( >=media-libs/libgpod-0.7.0[gtk] )
42 lastfm? ( >=media-libs/liblastfm-1.0.3[qt4] )
43 @@ -54,7 +54,7 @@ COMMONDEPEND="
44 DEPEND="${COMMONDEPEND}
45 dev-util/automoc
46 virtual/pkgconfig
47 - test? ( dev-cpp/gmock )
48 + test? ( >=dev-cpp/gtest-1.8.0 )
49 "
50 RDEPEND="${COMMONDEPEND}
51 !media-sound/amarok-utils
52 @@ -94,7 +94,7 @@ src_configure() {
53 -DWITH_PLAYER=ON
54 -DWITH_NepomukCore=OFF
55 -DWITH_Soprano=OFF
56 - -DWITH_MYSQL_EMBEDDED=$(usex embedded)
57 + -DWITH_MYSQL_EMBEDDED=OFF
58 -DWITH_IPOD=$(usex ipod)
59 -DWITH_LibLastFm=$(usex lastfm)
60 -DWITH_MP3Tunes=$(usex mp3tunes)
61 @@ -106,9 +106,6 @@ src_configure() {
62 use ipod && mycmakeargs+=( DWITH_GDKPixBuf=ON )
63 use mp3tunes && mycmakeargs+=( -DWITH_Libgcrypt=OFF )
64
65 - # bug 581554: add libmysqld location for rpath patch
66 - use embedded && mycmakeargs+=( -DMYSQLD_DIR="${EPREFIX}/usr/$(get_libdir)/mysql" )
67 -
68 kde4-base_src_configure
69 }
70
71 @@ -122,16 +119,14 @@ src_install() {
72 pkg_postinst() {
73 kde4-base_pkg_postinst
74
75 - if ! use embedded; then
76 - elog "You've disabled the amarok support for embedded mysql DBs."
77 - elog "You'll have to configure amarok to use an external db server."
78 - elog "Please read https://community.kde.org/Amarok/Community/MySQL for details on how"
79 - elog "to configure the external db and migrate your data from the embedded database."
80 -
81 - if has_version "virtual/mysql[minimal]"; then
82 - elog
83 - elog "You built mysql with the minimal use flag, so it doesn't include the server."
84 - elog "You won't be able to use the local mysql installation to store your amarok collection."
85 - fi
86 + elog "You've disabled the amarok support for embedded mysql DBs."
87 + elog "You'll have to configure amarok to use an external db server."
88 + elog "Please read https://community.kde.org/Amarok/Community/MySQL for details on how"
89 + elog "to configure the external db and migrate your data from the embedded database."
90 +
91 + if has_version "virtual/mysql[minimal]"; then
92 + elog
93 + elog "You built mysql with the minimal use flag, so it doesn't include the server."
94 + elog "You won't be able to use the local mysql installation to store your amarok collection."
95 fi
96 }