summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <ford_prefect@gentoo.org>2009-05-10 20:58:10 +0000
committerArun Raghavan <ford_prefect@gentoo.org>2009-05-10 20:58:10 +0000
commite5408a2e734661063a6c8e8b6980e2cf91ccbaaa (patch)
tree0ad33ca4d92a0b8cef78abe2cb8b437773347b56 /gnome-extra/gnome-media/gnome-media-2.26.0.ebuild
parentNew version for GNOME 2.26. Drop libgnome/gnome-vfs, merge eel, support cross... (diff)
downloadgentoo-2-e5408a2e734661063a6c8e8b6980e2cf91ccbaaa.tar.gz
gentoo-2-e5408a2e734661063a6c8e8b6980e2cf91ccbaaa.tar.bz2
gentoo-2-e5408a2e734661063a6c8e8b6980e2cf91ccbaaa.zip
Bump to 2.26.0. This now includes the volume control applet that sits in the systray to replace the old one, adds sound theme support using libcanberra, and uses pulseaudio/GStreamer, depending on the USE flag.
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'gnome-extra/gnome-media/gnome-media-2.26.0.ebuild')
-rw-r--r--gnome-extra/gnome-media/gnome-media-2.26.0.ebuild92
1 files changed, 92 insertions, 0 deletions
diff --git a/gnome-extra/gnome-media/gnome-media-2.26.0.ebuild b/gnome-extra/gnome-media/gnome-media-2.26.0.ebuild
new file mode 100644
index 000000000000..d84412733b08
--- /dev/null
+++ b/gnome-extra/gnome-media/gnome-media-2.26.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-media/gnome-media-2.26.0.ebuild,v 1.1 2009/05/10 20:58:09 ford_prefect Exp $
+
+EAPI="2"
+
+inherit autotools eutils gnome2
+
+DESCRIPTION="Multimedia related programs for the GNOME desktop"
+HOMEPAGE="http://ronald.bitfreak.net/gnome-media.php"
+
+LICENSE="LGPL-2 GPL-2 FDL-1.1"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~sparc ~x86 ~x86-fbsd"
+IUSE="canberra esd gnomecd ipv6 pulseaudio"
+
+RDEPEND=">=dev-libs/glib-2.18.2:2
+ >=x11-libs/gtk+-2.15.1:2
+ >=gnome-base/libglade-2
+ >=gnome-base/gconf-2.6.1
+ >=gnome-base/libgnomeui-2.13.2
+ esd? ( >=media-sound/esound-0.2.23 )
+ >=media-libs/gstreamer-0.10.3
+ >=media-libs/gst-plugins-base-0.10.3
+ >=media-libs/gst-plugins-good-0.10
+ >=gnome-base/orbit-2
+ canberra? ( >=media-libs/libcanberra-0.4[gtk] )
+ >=dev-libs/libunique-1
+ gnomecd? (
+ >=gnome-extra/nautilus-cd-burner-2.12
+ >=gnome-base/gail-0.0.3
+ >=gnome-base/libbonobo-2
+ || (
+ >=media-plugins/gst-plugins-cdio-0.10
+ >=media-plugins/gst-plugins-cdparanoia-0.10 ) )
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.15 )
+ dev-libs/libxml2
+ >=media-plugins/gst-plugins-meta-0.10-r2:0.10
+ >=media-plugins/gst-plugins-gconf-0.10.1"
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.9
+ >=app-text/scrollkeeper-0.3.11
+ >=app-text/gnome-doc-utils-0.3.2
+ >=dev-util/intltool-0.35.0"
+
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --enable-gstprops
+ --disable-esdtest
+ --disable-static
+ --disable-scrollkeeper
+ --disable-schemas-install
+ $(use_enable esd esound)
+ $(use_enable esd vumeter)
+ $(use_enable gnomecd cddbslave)
+ $(use_enable gnomecd)
+ $(use_enable ipv6)
+ $(use_enable pulseaudio)
+ $(use_enable !pulseaudio gstmix)
+ $(use_enable canberra)"
+}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ if use gnomecd; then
+ epatch "${FILESDIR}/${P}-missing-cddbslave-cflags.patch"
+ fi
+ # Fix automagic canberra support
+ epatch "${FILESDIR}/${P}-automagic-canberra.patch"
+ eautoreconf
+}
+
+src_compile() {
+ addpredict "$(unset HOME; echo ~)/.gconf"
+ addpredict "$(unset HOME; echo ~)/.gconfd"
+ gnome2_src_compile
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ ewarn
+ ewarn "If you cannot play some music format, please check your"
+ ewarn "USE flags on media-plugins/gst-plugins-meta"
+ ewarn
+ if use pulseaudio; then
+ ewarn "You have enabled pulseaudio support, gstmixer will not be built"
+ ewarn "If you do not use pulseaudio, you do not want this"
+ fi
+}