diff options
author | Sergiy Borodych <Sergiy.Borodych@gmail.com> | 2016-10-25 11:26:06 +0300 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-11-06 20:33:07 +0100 |
commit | 23ecb40f19437413860b9e69022cc24a81a5bfe3 (patch) | |
tree | a0cf5983c927bdfa19d8fe737155c92450a2a0bc /media-sound/gmusicbrowser | |
parent | media-sound/gmusicbrowser: migrate to EAPI=6 & git-r3 eclass (for 9999) (diff) | |
download | gentoo-23ecb40f19437413860b9e69022cc24a81a5bfe3.tar.gz gentoo-23ecb40f19437413860b9e69022cc24a81a5bfe3.tar.bz2 gentoo-23ecb40f19437413860b9e69022cc24a81a5bfe3.zip |
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 <soap@gentoo.org>
Diffstat (limited to 'media-sound/gmusicbrowser')
-rw-r--r-- | media-sound/gmusicbrowser/gmusicbrowser-1.1.15-r2.ebuild | 9 | ||||
-rw-r--r-- | media-sound/gmusicbrowser/gmusicbrowser-9999.ebuild | 9 | ||||
-rw-r--r-- | media-sound/gmusicbrowser/metadata.xml | 1 |
3 files changed, 13 insertions, 6 deletions
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 @@ </maintainer> <use> <flag name="extras">Install some extra deps for plugins (ex. Titlebar)</flag> + <flag name="gstreamer-0">Enable audio support via legacy gstreamer:0.10</flag> </use> </pkgmetadata> |