summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2010-12-19 19:44:03 +0000
committerPacho Ramos <pacho@gentoo.org>2010-12-19 19:44:03 +0000
commit528bc550747fe98dd66fd5ca0419849dc126cd01 (patch)
treec187165c7489204385d2ea81d528fac8ae36a4db
parentx86 stable wrt security bug #340807 (diff)
downloadgentoo-2-528bc550747fe98dd66fd5ca0419849dc126cd01.tar.gz
gentoo-2-528bc550747fe98dd66fd5ca0419849dc126cd01.tar.bz2
gentoo-2-528bc550747fe98dd66fd5ca0419849dc126cd01.zip
Revision bump for dropping -DG.*DISABLE_DEPRECATED that was causing breakage on people emerging muine against gtk+-2.22 (bug #346129 by Diego Elio Pettenò), also drop la files and update homepage.
(Portage version: 2.1.9.25/cvs/Linux x86_64)
-rw-r--r--media-sound/muine/ChangeLog9
-rw-r--r--media-sound/muine/muine-0.8.11-r2.ebuild93
2 files changed, 101 insertions, 1 deletions
diff --git a/media-sound/muine/ChangeLog b/media-sound/muine/ChangeLog
index d8049aa6f692..ac3a8c22c651 100644
--- a/media-sound/muine/ChangeLog
+++ b/media-sound/muine/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/muine
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/muine/ChangeLog,v 1.62 2010/10/07 20:34:08 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/muine/ChangeLog,v 1.63 2010/12/19 19:44:03 pacho Exp $
+
+*muine-0.8.11-r2 (19 Dec 2010)
+
+ 19 Dec 2010; Pacho Ramos <pacho@gentoo.org> +muine-0.8.11-r2.ebuild:
+ Revision bump for dropping -DG.*DISABLE_DEPRECATED that was causing breakage
+ on people emerging muine against gtk+-2.22 (bug #346129 by Diego Elio
+ Pettenò), also drop la files and update homepage.
07 Oct 2010; Pacho Ramos <pacho@gentoo.org> -muine-0.8.10-r1.ebuild,
-files/muine-0.8.10-buttons.patch,
diff --git a/media-sound/muine/muine-0.8.11-r2.ebuild b/media-sound/muine/muine-0.8.11-r2.ebuild
new file mode 100644
index 000000000000..bb9fc344e980
--- /dev/null
+++ b/media-sound/muine/muine-0.8.11-r2.ebuild
@@ -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/muine/muine-0.8.11-r2.ebuild,v 1.1 2010/12/19 19:44:03 pacho Exp $
+
+EAPI=2
+
+inherit base gnome2 mono eutils multilib flag-o-matic
+
+DESCRIPTION="A music player for GNOME"
+HOMEPAGE="http://muine.gooeylinux.org/"
+SRC_URI="http://download.gnome.org/sources/muine/0.8/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="flac mad vorbis"
+
+RDEPEND="
+ x11-themes/gnome-icon-theme
+ >=dev-lang/mono-2
+ >=x11-libs/gtk+-2.6:2
+ >=dev-dotnet/gtk-sharp-2.12.9
+ >=dev-dotnet/glade-sharp-2.12.6
+ >=dev-dotnet/gnome-sharp-2.6
+ >=dev-dotnet/gconf-sharp-2.6
+ >=dev-dotnet/gnomevfs-sharp-2.6
+ >=dev-dotnet/dbus-sharp-0.4
+ >=dev-dotnet/dbus-glib-sharp-0.3
+ >=dev-dotnet/taglib-sharp-2.0.3
+ sys-libs/gdbm
+ =media-libs/gstreamer-0.10*
+ =media-libs/gst-plugins-base-0.10*
+ =media-libs/gst-plugins-good-0.10*
+ =media-plugins/gst-plugins-gconf-0.10*
+ =media-plugins/gst-plugins-gnomevfs-0.10*
+ flac? ( =media-plugins/gst-plugins-flac-0.10* )
+ mad? ( =media-plugins/gst-plugins-mad-0.10* )
+ vorbis? (
+ =media-plugins/gst-plugins-ogg-0.10*
+ =media-plugins/gst-plugins-vorbis-0.10*
+ )
+ "
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ app-text/scrollkeeper
+ gnome-base/gnome-common
+ >=dev-util/intltool-0.29
+ virtual/monodoc"
+
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS PLUGINS README TODO"
+ G2CONF="${G2CONF}
+ --enable-compile-warnings=yes
+ --docdir=/usr/share/doc/"${PF}"
+ "
+}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Fix multimedia key support for >=Gnome-2.22
+ epatch "${FILESDIR}/${P}-multimedia-keys.patch"
+
+ # Replace some deprecated gtk functions
+ epatch "${FILESDIR}/${P}-drop-deprecated.patch"
+
+ # Update icons, upstream bug #623480
+ sed "s:stock_timer:list-add:g" -i src/AddWindow.cs src/StockIcons.cs || die
+
+ # Fix intltoolize broken file, see upstream #577133
+ sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \
+ || die "sed failed"
+
+ # Drop -DG.*DISABLE_DEPRECATED cflags
+ sed 's:-DG.*DISABLE_DEPRECATED::g' -i libmuine/Makefile.am libmuine/Makefile.in || die
+}
+
+src_install() {
+ gnome2_src_install
+ find "${ED}" -name "*.la" -delete || die "failed to delete *.la files"
+ insinto /usr/$(get_libdir)/${PN}/plugins
+ doins "${S}"/plugins/TrayIcon.dll
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ elog
+ elog "Upstream no longer packages the tray icon plugin by default."
+ elog "The Gentoo ebuilds will continue to install the plugin, if you don't"
+ elog "want to use the plugin, remove TrayIcon.dll from"
+ elog "/usr/$(get_libdir)/muine/plugins/"
+ elog
+}