summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-07-01 08:27:15 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-07-01 08:27:15 +0000
commit642ebf762aa9ac1d3ec7e80f176ccb834f9bd47f (patch)
tree8217803acfc55e9bc3136fa4382a7f4493daafbd /media-sound
parentDrop old. Update HOMEPAGE, thank upstream developer Dimitar Zhekov for notifi... (diff)
downloadhistorical-642ebf762aa9ac1d3ec7e80f176ccb834f9bd47f.tar.gz
historical-642ebf762aa9ac1d3ec7e80f176ccb834f9bd47f.tar.bz2
historical-642ebf762aa9ac1d3ec7e80f176ccb834f9bd47f.zip
Version bump wrt #326365 by Lars Wendler.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/clementine/ChangeLog8
-rw-r--r--media-sound/clementine/clementine-0.4.ebuild72
2 files changed, 79 insertions, 1 deletions
diff --git a/media-sound/clementine/ChangeLog b/media-sound/clementine/ChangeLog
index 7926e66e70e9..9a69b22c5fa0 100644
--- a/media-sound/clementine/ChangeLog
+++ b/media-sound/clementine/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/clementine
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/clementine/ChangeLog,v 1.9 2010/06/24 11:43:53 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/clementine/ChangeLog,v 1.10 2010/07/01 08:27:15 ssuominen Exp $
+
+*clementine-0.4 (01 Jul 2010)
+
+ 01 Jul 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +clementine-0.4.ebuild:
+ Version bump wrt #326365 by Lars Wendler.
24 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> clementine-0.3.ebuild:
Postinst message for installing libsoup gstreamer plug-in for internet
diff --git a/media-sound/clementine/clementine-0.4.ebuild b/media-sound/clementine/clementine-0.4.ebuild
new file mode 100644
index 000000000000..660ef1e02826
--- /dev/null
+++ b/media-sound/clementine/clementine-0.4.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/clementine/clementine-0.4.ebuild,v 1.1 2010/07/01 08:27:15 ssuominen Exp $
+
+EAPI=2
+inherit cmake-utils gnome2-utils flag-o-matic
+
+DESCRIPTION="A modern music player and library organizer based on Amarok 1.4 and Qt4"
+HOMEPAGE="http://code.google.com/p/clementine-player/"
+SRC_URI="http://clementine-player.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gstreamer +xine"
+
+COMMON_DEPEND="x11-libs/qt-gui:4
+ x11-libs/qt-opengl:4
+ x11-libs/qt-sql:4[sqlite]
+ >=media-libs/taglib-1.6
+ media-libs/liblastfm
+ dev-libs/glib:2
+ dev-libs/libxml2
+ media-libs/glew
+ gstreamer? ( >=media-libs/gstreamer-0.10
+ >=media-libs/gst-plugins-base-0.10 )
+ xine? ( media-libs/xine-lib )
+ !gstreamer? ( media-libs/xine-lib )"
+RDEPEND="${COMMON_DEPEND}
+ gstreamer? ( >=media-plugins/gst-plugins-meta-0.10
+ >=media-plugins/gst-plugins-gio-0.10 )"
+DEPEND="${COMMON_DEPEND}
+ >=dev-libs/boost-1.39
+ dev-util/pkgconfig"
+
+DOCS="Changelog TODO"
+
+src_configure() {
+ append-cppflags "$(pkg-config --cflags-only-I glib-2.0)" #320699
+
+ mycmakeargs=(
+ $(cmake-utils_use gstreamer ENGINE_GSTREAMER_ENABLED)
+ "-DENGINE_LIBVLC_ENABLED=OFF"
+ $(cmake-utils_use xine ENGINE_LIBXINE_ENABLED)
+ "-DENGINE_QT_PHONON_ENABLED=OFF"
+ )
+
+ if ! use gstreamer; then
+ mycmakeargs+=(
+ "-DENGINE_LIBXINE_ENABLED=ON"
+ )
+ fi
+
+ cmake-utils_src_configure
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ if use gstreamer; then
+ elog
+ elog "Install libsoup gstreamer plug-in for internet radio support."
+ elog
+ fi
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}