summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-03-03 19:30:26 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-03-03 19:30:26 +0000
commitb47e6d507b80ddfc6cc17368270759d7a2abe74d (patch)
tree92002c2b1ebb2dec54fd0ce4f63bf387b685fff1
parentChange deps for xf86-input-wacom-0.10.8, see bug 356981. (diff)
downloadgentoo-2-b47e6d507b80ddfc6cc17368270759d7a2abe74d.tar.gz
gentoo-2-b47e6d507b80ddfc6cc17368270759d7a2abe74d.tar.bz2
gentoo-2-b47e6d507b80ddfc6cc17368270759d7a2abe74d.zip
Version bump wrt #357187 by Ralf Mayer
(Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
-rw-r--r--media-video/gnome-mplayer/ChangeLog9
-rw-r--r--media-video/gnome-mplayer/files/gnome-mplayer-1.0.2-implicit_declaration.patch11
-rw-r--r--media-video/gnome-mplayer/gnome-mplayer-1.0.2.ebuild66
3 files changed, 85 insertions, 1 deletions
diff --git a/media-video/gnome-mplayer/ChangeLog b/media-video/gnome-mplayer/ChangeLog
index 756d8d05e525..624354df9d7c 100644
--- a/media-video/gnome-mplayer/ChangeLog
+++ b/media-video/gnome-mplayer/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/gnome-mplayer
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/gnome-mplayer/ChangeLog,v 1.51 2011/01/30 18:44:42 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/gnome-mplayer/ChangeLog,v 1.52 2011/03/03 19:30:25 ssuominen Exp $
+
+*gnome-mplayer-1.0.2 (03 Mar 2011)
+
+ 03 Mar 2011; Samuli Suominen <ssuominen@gentoo.org>
+ +gnome-mplayer-1.0.2.ebuild,
+ +files/gnome-mplayer-1.0.2-implicit_declaration.patch:
+ Version bump wrt #357187 by Ralf Mayer
30 Jan 2011; Raúl Porcel <armin76@gentoo.org> gnome-mplayer-1.0.0.ebuild:
alpha stable wrt #346185
diff --git a/media-video/gnome-mplayer/files/gnome-mplayer-1.0.2-implicit_declaration.patch b/media-video/gnome-mplayer/files/gnome-mplayer-1.0.2-implicit_declaration.patch
new file mode 100644
index 000000000000..b4ed88a2dd28
--- /dev/null
+++ b/media-video/gnome-mplayer/files/gnome-mplayer-1.0.2-implicit_declaration.patch
@@ -0,0 +1,11 @@
+--- src/libgmlib/gm_audio.c
++++ src/libgmlib/gm_audio.c
+@@ -24,6 +24,8 @@
+
+ #include "gm_audio.h"
+
++#include <math.h> /* floor */
++
+ #ifdef HAVE_ASOUNDLIB
+ #include <asoundlib.h>
+ #endif
diff --git a/media-video/gnome-mplayer/gnome-mplayer-1.0.2.ebuild b/media-video/gnome-mplayer/gnome-mplayer-1.0.2.ebuild
new file mode 100644
index 000000000000..1dd18aeb63dd
--- /dev/null
+++ b/media-video/gnome-mplayer/gnome-mplayer-1.0.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/gnome-mplayer/gnome-mplayer-1.0.2.ebuild,v 1.1 2011/03/03 19:30:25 ssuominen Exp $
+
+EAPI=3
+GCONF_DEBUG=no
+inherit eutils gnome2
+
+DESCRIPTION="A GTK+ interface to MPlayer"
+HOMEPAGE="http://code.google.com/p/gnome-mplayer/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="alsa dbus gnome ipod libnotify musicbrainz pulseaudio"
+
+RDEPEND=">=dev-libs/glib-2.26:2
+ >=media-video/mplayer-1.0_rc4_p20091026[ass]
+ >=x11-libs/gtk+-2.22:2
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ alsa? ( media-libs/alsa-lib )
+ dbus? ( >=dev-libs/dbus-glib-0.88 )
+ gnome? ( gnome-base/gconf:2
+ gnome-base/gvfs
+ gnome-base/nautilus )
+ ipod? ( >=media-libs/libgpod-0.7 )
+ libnotify? ( x11-libs/libnotify )
+ musicbrainz? ( net-misc/curl
+ >=media-libs/musicbrainz-3 )
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.14 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-devel/gettext"
+
+pkg_setup() {
+ G2CONF="--disable-dependency-tracking
+ $(use_enable gnome schemas-install)
+ $(use_enable gnome nautilus)
+ --enable-panscan
+ --disable-gseal
+ --with-gio
+ $(use_with dbus)
+ $(use_with gnome gconf)
+ $(use_with alsa)
+ $(use_with pulseaudio)
+ $(use_with libnotify)
+ $(use_with ipod libgpod)
+ $(use_with musicbrainz libmusicbrainz3)
+ --without-gpm-new-method
+ --without-gpm-old-method"
+
+ DOCS="ChangeLog README DOCS/*.txt DOCS/tech/*"
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-implicit_declaration.patch
+ gnome2_src_prepare
+}
+
+src_install() {
+ gnome2_src_install
+ rm -rf "${D}"/usr/share/doc/${PN}
+ rmdir -p "${D}"/var/lib
+}