Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/cantata/
Date: Sat, 11 Nov 2017 19:39:04
Message-Id: 1510429116.4da5ede43011555c0c24f1389bbbdf4d3d1dc0f4.asturm@gentoo
1 commit: 4da5ede43011555c0c24f1389bbbdf4d3d1dc0f4
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 11 19:07:36 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 11 19:38:36 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da5ede4
7
8 media-sound/cantata: Add elog message about MPD
9
10 Closes: https://bugs.gentoo.org/637138
11 Package-Manager: Portage-2.3.13, Repoman-2.3.4
12
13 media-sound/cantata/cantata-2.2.0.ebuild | 7 +++++--
14 1 file changed, 5 insertions(+), 2 deletions(-)
15
16 diff --git a/media-sound/cantata/cantata-2.2.0.ebuild b/media-sound/cantata/cantata-2.2.0.ebuild
17 index 3a22fc20439..90ad03106b6 100644
18 --- a/media-sound/cantata/cantata-2.2.0.ebuild
19 +++ b/media-sound/cantata/cantata-2.2.0.ebuild
20 @@ -37,8 +37,8 @@ RDEPEND="
21 sys-libs/zlib
22 virtual/libudev:=
23 cdda? ( media-sound/cdparanoia )
24 - cdio? ( dev-libs/libcdio-paranoia )
25 cddb? ( media-libs/libcddb )
26 + cdio? ( dev-libs/libcdio-paranoia )
27 mtp? ( media-libs/libmtp )
28 musicbrainz? ( media-libs/musicbrainz:5= )
29 replaygain? (
30 @@ -81,8 +81,8 @@ src_configure() {
31 local mycmakeargs=(
32 -DCANTATA_HELPERS_LIB_DIR="$(get_libdir)"
33 -DENABLE_CDPARANOIA=$(usex cdda)
34 - -DENABLE_CDIOPARANOIA=$(usex cdio)
35 -DENABLE_CDDB=$(usex cddb)
36 + -DENABLE_CDIOPARANOIA=$(usex cdio)
37 -DENABLE_HTTP_SERVER=$(usex http-server)
38 -DENABLE_MTP=$(usex mtp)
39 -DENABLE_MUSICBRAINZ=$(usex musicbrainz)
40 @@ -108,6 +108,9 @@ pkg_preinst() {
41 pkg_postinst() {
42 gnome2_icon_cache_update
43 xdg_pkg_postinst
44 +
45 + has_version media-sound/mpd || \
46 + elog "An instance of media-sound/mpd, local or remote, is required to set up Cantata."
47 }
48
49 pkg_postrm() {