From 23ecb40f19437413860b9e69022cc24a81a5bfe3 Mon Sep 17 00:00:00 2001 From: Sergiy Borodych Date: Tue, 25 Oct 2016 11:26:06 +0300 Subject: media-sound/gmusicbrowser: add gstreamer-1 support and make it a higher priotity than gstreamer-0 Closes: https://github.com/gentoo/gentoo/pull/2661 Signed-off-by: David Seifert --- media-sound/gmusicbrowser/gmusicbrowser-1.1.15-r2.ebuild | 9 ++++++--- media-sound/gmusicbrowser/gmusicbrowser-9999.ebuild | 9 ++++++--- media-sound/gmusicbrowser/metadata.xml | 1 + 3 files changed, 13 insertions(+), 6 deletions(-) (limited to 'media-sound/gmusicbrowser') diff --git a/media-sound/gmusicbrowser/gmusicbrowser-1.1.15-r2.ebuild b/media-sound/gmusicbrowser/gmusicbrowser-1.1.15-r2.ebuild index 3566bb3321c3..8cfecfbd8eef 100644 --- a/media-sound/gmusicbrowser/gmusicbrowser-1.1.15-r2.ebuild +++ b/media-sound/gmusicbrowser/gmusicbrowser-1.1.15-r2.ebuild @@ -13,9 +13,10 @@ SRC_URI="http://${PN}.org/download/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="dbus doc extras gstreamer libnotify mplayer" +IUSE="dbus doc extras gstreamer gstreamer-0 libnotify mplayer" -GSTREAMER_DEPEND=" +GSTREAMER_DEPEND="dev-perl/Glib-Object-Introspection" +GSTREAMER0_DEPEND=" dev-perl/GStreamer dev-perl/GStreamer-Interfaces media-plugins/gst-plugins-meta:0.10" @@ -33,8 +34,9 @@ RDEPEND="dev-lang/perl || ( net-misc/wget dev-perl/AnyEvent-HTTP ) dbus? ( dev-perl/Net-DBus ) gstreamer? ( ${GSTREAMER_DEPEND} ) + gstreamer-0? ( ${GSTREAMER0_DEPEND} ) mplayer? ( || ( ${MPLAYER_DEPEND} ${MPV_DEPEND} ) ) - !gstreamer? ( !mplayer? ( ${OTHER_DEPEND} ) ) + !gstreamer? ( !gstreamer-0? ( !mplayer? ( ${OTHER_DEPEND} ) ) ) extras? ( dev-perl/gnome2-wnck ) libnotify? ( dev-perl/Gtk2-Notify )" DEPEND="sys-devel/gettext" @@ -60,6 +62,7 @@ pkg_postinst() { elog "Gmusicbrowser supports gstreamer, mplayer, mpv and mpg123/ogg123..." elog "for audio playback. Needed dependencies:" elog " Gstreamer: ${GSTREAMER_DEPEND}" + elog " Gstreamer-0.10: ${GSTREAMER0_DEPEND}" elog " mplayer: ${MPLAYER_DEPEND}" elog " mpv: ${MPV_DEPEND}" elog " mpg123/ogg123...: ${OTHER_DEPEND}" diff --git a/media-sound/gmusicbrowser/gmusicbrowser-9999.ebuild b/media-sound/gmusicbrowser/gmusicbrowser-9999.ebuild index 6837cdab1c7c..c2c17f37fffc 100644 --- a/media-sound/gmusicbrowser/gmusicbrowser-9999.ebuild +++ b/media-sound/gmusicbrowser/gmusicbrowser-9999.ebuild @@ -13,9 +13,10 @@ EGIT_REPO_URI="git://github.com/squentin/${PN}.git" LICENSE="GPL-3" SLOT="0" KEYWORDS="" -IUSE="dbus doc extras gstreamer libnotify mplayer" +IUSE="dbus doc extras gstreamer gstreamer-0 libnotify mplayer" -GSTREAMER_DEPEND=" +GSTREAMER_DEPEND="dev-perl/Glib-Object-Introspection" +GSTREAMER0_DEPEND=" dev-perl/GStreamer dev-perl/GStreamer-Interfaces media-plugins/gst-plugins-meta:0.10" @@ -33,8 +34,9 @@ RDEPEND="dev-lang/perl || ( net-misc/wget dev-perl/AnyEvent-HTTP ) dbus? ( dev-perl/Net-DBus ) gstreamer? ( ${GSTREAMER_DEPEND} ) + gstreamer-0? ( ${GSTREAMER0_DEPEND} ) mplayer? ( || ( ${MPLAYER_DEPEND} ${MPV_DEPEND} ) ) - !gstreamer? ( !mplayer? ( ${OTHER_DEPEND} ) ) + !gstreamer? ( !gstreamer-0? ( !mplayer? ( ${OTHER_DEPEND} ) ) ) extras? ( dev-perl/gnome2-wnck ) libnotify? ( dev-perl/Gtk2-Notify )" DEPEND="sys-devel/gettext @@ -65,6 +67,7 @@ pkg_postinst() { elog "Gmusicbrowser supports gstreamer, mplayer, mpv and mpg123/ogg123..." elog "for audio playback. Needed dependencies:" elog " Gstreamer: ${GSTREAMER_DEPEND}" + elog " Gstreamer-0.10: ${GSTREAMER0_DEPEND}" elog " mplayer: ${MPLAYER_DEPEND}" elog " mpv: ${MPV_DEPEND}" elog " mpg123/ogg123...: ${OTHER_DEPEND}" diff --git a/media-sound/gmusicbrowser/metadata.xml b/media-sound/gmusicbrowser/metadata.xml index 6c2c0dcaa759..f2a602018650 100644 --- a/media-sound/gmusicbrowser/metadata.xml +++ b/media-sound/gmusicbrowser/metadata.xml @@ -12,5 +12,6 @@ Install some extra deps for plugins (ex. Titlebar) + Enable audio support via legacy gstreamer:0.10 -- cgit v1.2.3-65-gdbad