diff options
Diffstat (limited to 'media-sound/cantata')
-rw-r--r-- | media-sound/cantata/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/cantata/cantata-0.9.1.ebuild | 62 |
2 files changed, 68 insertions, 1 deletions
diff --git a/media-sound/cantata/ChangeLog b/media-sound/cantata/ChangeLog index 3872567128b7..ab1a829fcc43 100644 --- a/media-sound/cantata/ChangeLog +++ b/media-sound/cantata/ChangeLog @@ -1,6 +1,11 @@ # 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.9 2012/10/27 15:45:53 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/cantata/ChangeLog,v 1.10 2012/12/23 16:19:47 dastergon Exp $ + +*cantata-0.9.1 (23 Dec 2012) + + 23 Dec 2012; Pavlos Ratis <dastergon@gentoo.org> +cantata-0.9.1.ebuild: + Version bump, wrt bug 448230 27 Oct 2012; Ben de Groot <yngwin@gentoo.org> cantata-0.8.3.1.ebuild, metadata.xml: diff --git a/media-sound/cantata/cantata-0.9.1.ebuild b/media-sound/cantata/cantata-0.9.1.ebuild new file mode 100644 index 000000000000..e3727d0d784c --- /dev/null +++ b/media-sound/cantata/cantata-0.9.1.ebuild @@ -0,0 +1,62 @@ +# 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.9.1.ebuild,v 1.1 2012/12/23 16:19:47 dastergon Exp $ + +EAPI=5 +KDE_REQUIRED="optional" +inherit kde4-base + +DESCRIPTION="A featureful and configurable Qt4 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 phonon replaygain webkit" +REQUIRED_USE="mtp? ( kde )" + +DEPEND=" + x11-libs/qt-core:4 + x11-libs/qt-dbus:4 + x11-libs/qt-gui:4 + kde? ( + media-libs/taglib[asf,mp4] + media-libs/taglib-extras + mtp? ( media-libs/libmtp ) + ) + phonon? ( || ( media-libs/phonon x11-libs/qt-phonon:4 ) ) + replaygain? ( + media-libs/speex + media-libs/taglib[asf,mp4] + media-libs/taglib-extras + media-sound/mpg123 + virtual/ffmpeg + ) + webkit? ( x11-libs/qt-webkit:4 ) +" +RDEPEND="${DEPEND} + $(add_kdebase_dep oxygen-icons) +" + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_enable kde) + $(cmake-utils_use_enable 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 to build without taglib + # taglib is required to enable replaygain + if use kde || use replaygain; then + mycmakeargs+=( + -DENABLE_TAGLIB=ON + -DENABLE_TAGLIB_EXTRAS=ON + ) + fi + + kde4-base_src_configure +} |