From ed741bf09d897eff31f2b47dfd54928a032aa8ed Mon Sep 17 00:00:00 2001
From: Moritz Schlarb <moschlar@metalabs.de>
Date: Wed, 7 Jun 2017 23:21:28 +0200
Subject: net-im/corebird: Really fix video playback (#618996)

By adding the dependency use flag gst-plugins-bad[gtk].

Bug: https://bugs.gentoo.org/618996
Closes: https://github.com/gentoo/gentoo/pull/4881
---
 net-im/corebird/corebird-1.5-r1.ebuild | 58 ----------------------------------
 net-im/corebird/corebird-1.5-r2.ebuild | 58 ++++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+), 58 deletions(-)
 delete mode 100644 net-im/corebird/corebird-1.5-r1.ebuild
 create mode 100644 net-im/corebird/corebird-1.5-r2.ebuild

diff --git a/net-im/corebird/corebird-1.5-r1.ebuild b/net-im/corebird/corebird-1.5-r1.ebuild
deleted file mode 100644
index b2a66dafc764..000000000000
--- a/net-im/corebird/corebird-1.5-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-VALA_MIN_API_VERSION=0.34
-
-inherit autotools gnome2 vala virtualx
-
-DESCRIPTION="Native GTK+3 Twitter client"
-HOMEPAGE="http://corebird.baedert.org/"
-SRC_URI="https://github.com/baedert/corebird/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug gstreamer spellcheck"
-
-RDEPEND="dev-db/sqlite:3
-	>=dev-libs/glib-2.44:2
-	dev-libs/json-glib
-	gstreamer? ( media-plugins/gst-plugins-meta:1.0[X]
-		media-libs/gst-plugins-base:1.0[X]
-		>=media-libs/gst-plugins-bad-1.6:1.0[X]
-		media-libs/gst-plugins-good:1.0
-		media-plugins/gst-plugins-libav:1.0
-		media-plugins/gst-plugins-soup:1.0
-		media-plugins/gst-plugins-hls:1.0 )
-	spellcheck? ( >=app-text/gspell-1.0 )
-	>=net-libs/libsoup-2.42.3.1
-	>=net-libs/rest-0.7.91:0.7
-	>=x11-libs/gtk+-3.18:3"
-DEPEND="${RDEPEND}
-	$(vala_depend)
-	>=dev-util/intltool-0.40
-	sys-apps/sed
-	virtual/pkgconfig"
-
-src_prepare() {
-	sed -i -e "/highlighting/d" tests/Makefile.am || die
-	sed -i -e "/manpagedir/s/manpagedir.*/&\/man1/g" data/Makefile.am || die
-	eautoreconf
-	gnome2_src_prepare
-	vala_src_prepare
-}
-
-src_configure() {
-	local myeconfargs=(
-		$(usex gstreamer "" --disable-video)
-		--disable-gst-check
-		$(usex spellcheck "" --disable-spellcheck)
-	)
-	gnome2_src_configure "${myeconfargs[@]}"
-}
-
-src_test() {
-	virtx emake check
-}
diff --git a/net-im/corebird/corebird-1.5-r2.ebuild b/net-im/corebird/corebird-1.5-r2.ebuild
new file mode 100644
index 000000000000..453848c8adca
--- /dev/null
+++ b/net-im/corebird/corebird-1.5-r2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VALA_MIN_API_VERSION=0.34
+
+inherit autotools gnome2 vala virtualx
+
+DESCRIPTION="Native GTK+3 Twitter client"
+HOMEPAGE="http://corebird.baedert.org/"
+SRC_URI="https://github.com/baedert/corebird/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug gstreamer spellcheck"
+
+RDEPEND="dev-db/sqlite:3
+	>=dev-libs/glib-2.44:2
+	dev-libs/json-glib
+	gstreamer? ( media-plugins/gst-plugins-meta:1.0[X]
+		media-libs/gst-plugins-base:1.0[X]
+		>=media-libs/gst-plugins-bad-1.6:1.0[X,gtk]
+		media-libs/gst-plugins-good:1.0
+		media-plugins/gst-plugins-libav:1.0
+		media-plugins/gst-plugins-soup:1.0
+		media-plugins/gst-plugins-hls:1.0 )
+	spellcheck? ( >=app-text/gspell-1.0 )
+	>=net-libs/libsoup-2.42.3.1
+	>=net-libs/rest-0.7.91:0.7
+	>=x11-libs/gtk+-3.18:3"
+DEPEND="${RDEPEND}
+	$(vala_depend)
+	>=dev-util/intltool-0.40
+	sys-apps/sed
+	virtual/pkgconfig"
+
+src_prepare() {
+	sed -i -e "/highlighting/d" tests/Makefile.am || die
+	sed -i -e "/manpagedir/s/manpagedir.*/&\/man1/g" data/Makefile.am || die
+	eautoreconf
+	gnome2_src_prepare
+	vala_src_prepare
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(usex gstreamer "" --disable-video)
+		--disable-gst-check
+		$(usex spellcheck "" --disable-spellcheck)
+	)
+	gnome2_src_configure "${myeconfargs[@]}"
+}
+
+src_test() {
+	virtx emake check
+}
-- 
cgit v1.2.3-65-gdbad