summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-11-11 20:07:36 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-11-11 20:38:36 +0100
commit4da5ede43011555c0c24f1389bbbdf4d3d1dc0f4 (patch)
treea916ac49e2cf5bd46557c853da4220e8d3bed481 /media-sound/cantata
parentkde-frameworks/sonnet: keyworded 5.37.0 for ppc/ppc64, bug #636228 (diff)
downloadgentoo-4da5ede43011555c0c24f1389bbbdf4d3d1dc0f4.tar.gz
gentoo-4da5ede43011555c0c24f1389bbbdf4d3d1dc0f4.tar.bz2
gentoo-4da5ede43011555c0c24f1389bbbdf4d3d1dc0f4.zip
media-sound/cantata: Add elog message about MPD
Closes: https://bugs.gentoo.org/637138 Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'media-sound/cantata')
-rw-r--r--media-sound/cantata/cantata-2.2.0.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/media-sound/cantata/cantata-2.2.0.ebuild b/media-sound/cantata/cantata-2.2.0.ebuild
index 3a22fc204396..90ad03106b6a 100644
--- a/media-sound/cantata/cantata-2.2.0.ebuild
+++ b/media-sound/cantata/cantata-2.2.0.ebuild
@@ -37,8 +37,8 @@ RDEPEND="
sys-libs/zlib
virtual/libudev:=
cdda? ( media-sound/cdparanoia )
- cdio? ( dev-libs/libcdio-paranoia )
cddb? ( media-libs/libcddb )
+ cdio? ( dev-libs/libcdio-paranoia )
mtp? ( media-libs/libmtp )
musicbrainz? ( media-libs/musicbrainz:5= )
replaygain? (
@@ -81,8 +81,8 @@ src_configure() {
local mycmakeargs=(
-DCANTATA_HELPERS_LIB_DIR="$(get_libdir)"
-DENABLE_CDPARANOIA=$(usex cdda)
- -DENABLE_CDIOPARANOIA=$(usex cdio)
-DENABLE_CDDB=$(usex cddb)
+ -DENABLE_CDIOPARANOIA=$(usex cdio)
-DENABLE_HTTP_SERVER=$(usex http-server)
-DENABLE_MTP=$(usex mtp)
-DENABLE_MUSICBRAINZ=$(usex musicbrainz)
@@ -108,6 +108,9 @@ pkg_preinst() {
pkg_postinst() {
gnome2_icon_cache_update
xdg_pkg_postinst
+
+ has_version media-sound/mpd || \
+ elog "An instance of media-sound/mpd, local or remote, is required to set up Cantata."
}
pkg_postrm() {