summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2012-10-27 15:10:23 +0000
committerMichael Palimaka <kensington@gentoo.org>2012-10-27 15:10:23 +0000
commit4760cca84d6765697f4badf39e140d92e3c23663 (patch)
tree27d11d00e98c22bd28c4d76dd2da56456e870aa3 /media-sound/cantata
parentStore -std=gnu++11 flag in CXXFLAGS in icu-config and icu-*.pc files for API ... (diff)
downloadgentoo-2-4760cca84d6765697f4badf39e140d92e3c23663.tar.gz
gentoo-2-4760cca84d6765697f4badf39e140d92e3c23663.tar.bz2
gentoo-2-4760cca84d6765697f4badf39e140d92e3c23663.zip
Version bump. Fixes build problems (bug #428400) and automagic dependencies (bug #428524).
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)
Diffstat (limited to 'media-sound/cantata')
-rw-r--r--media-sound/cantata/ChangeLog9
-rw-r--r--media-sound/cantata/cantata-0.8.3.1.ebuild61
-rw-r--r--media-sound/cantata/metadata.xml1
3 files changed, 70 insertions, 1 deletions
diff --git a/media-sound/cantata/ChangeLog b/media-sound/cantata/ChangeLog
index 8ab969b46c4d..0f7321bce669 100644
--- a/media-sound/cantata/ChangeLog
+++ b/media-sound/cantata/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/cantata
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/cantata/ChangeLog,v 1.7 2012/08/01 12:36:09 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cantata/ChangeLog,v 1.8 2012/10/27 15:10:23 kensington Exp $
+
+*cantata-0.8.3.1 (27 Oct 2012)
+
+ 27 Oct 2012; Michael Palimaka <kensington@gentoo.org> +cantata-0.8.3.1.ebuild,
+ metadata.xml:
+ Version bump. Fixes build problems (bug #428400) and automagic dependencies
+ (bug #428524).
01 Aug 2012; Johannes Huber <johu@gentoo.org> cantata-0.8.2.ebuild,
metadata.xml:
diff --git a/media-sound/cantata/cantata-0.8.3.1.ebuild b/media-sound/cantata/cantata-0.8.3.1.ebuild
new file mode 100644
index 000000000000..4502c0dc183f
--- /dev/null
+++ b/media-sound/cantata/cantata-0.8.3.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cantata/cantata-0.8.3.1.ebuild,v 1.1 2012/10/27 15:10:23 kensington Exp $
+
+EAPI=4
+
+KDE_REQUIRED="optional"
+inherit kde4-base
+
+DESCRIPTION="Cantata is a client for the music player daemon (MPD)"
+HOMEPAGE="http://kde-apps.org/content/show.php?content=147733"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE="kde mtp replaygain"
+
+DEPEND="
+ x11-libs/qt-core:4
+ x11-libs/qt-dbus:4
+ x11-libs/qt-gui:4
+ x11-libs/qt-webkit:4
+ kde? (
+ media-libs/taglib
+ media-libs/taglib-extras
+ )
+ mtp? ( media-libs/libmtp )
+ replaygain? (
+ media-libs/speex
+ media-libs/taglib
+ media-libs/taglib-extras
+ media-sound/mpg123
+ virtual/ffmpeg
+ )
+"
+RDEPEND="${DEPEND}
+ $(add_kdebase_dep oxygen-icons)
+"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_enable kde)
+ $(cmake-utils_use_enable kde PHONON)
+ $(cmake-utils_use_enable replaygain FFMPEG)
+ $(cmake-utils_use_enable replaygain MPG123)
+ $(cmake-utils_use_enable replaygain SPEEXDSP)
+ $(cmake-utils_use_enable mtp)
+ )
+
+ # kde fails and to build without taglib
+ # taglib is is required to enable replaygain
+ if use kde || use replaygain; then
+ mycmakeargs+=(
+ -DENABLE_TAGLIB=ON
+ -DENABLE_TAGLIB_EXTRAS=ON
+ )
+ fi
+
+ kde4-base_src_configure
+}
diff --git a/media-sound/cantata/metadata.xml b/media-sound/cantata/metadata.xml
index ade892bd4e33..aa578a260188 100644
--- a/media-sound/cantata/metadata.xml
+++ b/media-sound/cantata/metadata.xml
@@ -8,5 +8,6 @@
</maintainer>
<use>
<flag name="mpg123">Enable support for mp3 decoding over media-sound/mpg123.</flag>
+ <flag name="replaygain">Enable ReplayGain support, for relative volume adjustments.</flag>
</use>
</pkgmetadata>