added clementine-9999
authorAndrea Rizzolo <andrea.rizzolo@gmail.com>
Fri, 22 Oct 2010 08:00:57 +0000 (22 10:00 +0200)
committerAndrea Rizzolo <andrea.rizzolo@gmail.com>
Fri, 22 Oct 2010 08:00:57 +0000 (22 10:00 +0200)
media-sound/clementine/Manifest [new file with mode: 0644]
media-sound/clementine/clementine-9999.ebuild [new file with mode: 0644]

diff --git a/media-sound/clementine/Manifest b/media-sound/clementine/Manifest
new file mode 100644 (file)
index 0000000..1a69ba5
--- /dev/null
@@ -0,0 +1 @@
+EBUILD clementine-9999.ebuild 2132 RMD160 dd310ff8c17493e1f81435f0cf87f480ccbf0d14 SHA1 3695c905dc890ae7c66c009b9ac2a463136f86fb SHA256 00297b99a9fc25af5722b3fea46ee069af602b2c2be2d6b619bc9c63cf2f29c1
diff --git a/media-sound/clementine/clementine-9999.ebuild b/media-sound/clementine/clementine-9999.ebuild
new file mode 100644 (file)
index 0000000..81f094f
--- /dev/null
@@ -0,0 +1,93 @@
+# 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.2.ebuild,v 1.2 2010/08/20 11:14:13 ssuominen Exp $
+
+EAPI=2
+inherit cmake-utils gnome2-utils flag-o-matic subversion
+
+ESVN_REPO_URI="http://clementine-player.googlecode.com/svn/trunk/"
+ESVN_PROJECT="clementine"
+
+
+DESCRIPTION="A modern music player and library organizer based on Amarok 1.4 and Qt4"
+HOMEPAGE="http://code.google.com/p/clementine-player/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gstreamer projectm +xine"
+
+COMMON_DEPEND="dev-libs/glib:2
+       dev-libs/libxml2
+       media-libs/liblastfm
+       >=media-libs/taglib-1.6
+       x11-libs/qt-gui:4
+       x11-libs/qt-opengl:4
+       x11-libs/qt-sql:4[sqlite]
+       x11-libs/qt-test:4
+       gstreamer? ( >=media-libs/gstreamer-0.10
+               >=media-libs/gst-plugins-base-0.10
+               projectm? ( media-libs/glew ) )
+       xine? ( media-libs/xine-lib )
+       !gstreamer? ( media-libs/xine-lib )"
+RDEPEND="${COMMON_DEPEND}
+       gstreamer? ( >=media-plugins/gst-plugins-meta-0.10 )"
+DEPEND="${COMMON_DEPEND}
+       >=dev-libs/boost-1.39
+       dev-util/pkgconfig"
+
+DOCS="Changelog TODO"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_unpack() {
+        subversion_src_unpack
+  #      AT_M4DIR="m4" eautoreconf
+ #       elibtoolize
+}
+
+src_prepare() {
+       echo "" > pig.txt
+}
+
+src_configure() {
+       append-cppflags "$(pkg-config --cflags-only-I glib-2.0)" #320699
+
+       mycmakeargs=(
+               "-DENABLE_VISUALISATIONS=OFF"
+               $(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"
+                       )
+       else
+               mycmakeargs+=(
+                       $(cmake-utils_use_enable projectm VISUALISATIONS)
+                       )
+       fi
+
+       cmake-utils_src_configure
+}
+
+pkg_preinst() {
+       gnome2_icon_savelist
+}
+
+pkg_postinst() {
+       if use gstreamer; then
+               ewarn
+               ewarn "If media-plugins/gst-plugins-meta doesn't pull in the plugins you"
+               ewarn "need, you have to install them yourself."
+               ewarn
+       fi
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}