From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1078961-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 3FA7D138335
	for <garchives@archives.gentoo.org>; Fri, 22 Mar 2019 22:48:33 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 265D0E0952;
	Fri, 22 Mar 2019 22:48:32 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id F00E4E094E
	for <gentoo-commits@lists.gentoo.org>; Fri, 22 Mar 2019 22:48:31 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 91F6F335D35
	for <gentoo-commits@lists.gentoo.org>; Fri, 22 Mar 2019 22:48:30 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A316854A
	for <gentoo-commits@lists.gentoo.org>; Fri, 22 Mar 2019 22:48:28 +0000 (UTC)
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org>
Message-ID: <1553292636.629e28dccb9f78c9c2d8dcc5d2bf65267cc4c026.asturm@gentoo>
Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/kwin/, kde-plasma/kwin/files/
X-VCS-Repository: proj/kde
X-VCS-Files: kde-plasma/kwin/files/kwin-5.15.80-gstreamer-optional.patch kde-plasma/kwin/kwin-9999.ebuild
X-VCS-Directories: kde-plasma/kwin/files/ kde-plasma/kwin/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: 629e28dccb9f78c9c2d8dcc5d2bf65267cc4c026
X-VCS-Branch: master
Date: Fri, 22 Mar 2019 22:48:28 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 75ecb73a-1a54-4231-b212-b18226e29a6e
X-Archives-Hash: 926bf418206de00aa124d0908d4579e8

commit:     629e28dccb9f78c9c2d8dcc5d2bf65267cc4c026
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 22 22:10:36 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Mar 22 22:10:36 2019 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=629e28dc

kde-plasma/kwin: Rebase gstreamer-optional.patch

Closes: https://bugs.gentoo.org/681238
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-plasma/kwin/files/kwin-5.15.80-gstreamer-optional.patch | 13 +++++++++++++
 kde-plasma/kwin/kwin-9999.ebuild                            |  2 +-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/kde-plasma/kwin/files/kwin-5.15.80-gstreamer-optional.patch b/kde-plasma/kwin/files/kwin-5.15.80-gstreamer-optional.patch
new file mode 100644
index 0000000000..81db399f6b
--- /dev/null
+++ b/kde-plasma/kwin/files/kwin-5.15.80-gstreamer-optional.patch
@@ -0,0 +1,13 @@
+Disable the effect video button if gstreamer is missing.
+
+--- a/kcmkwin/kwineffects/package/contents/ui/Effect.qml	2019-03-22 23:06:45.172699544 +0100
++++ b/kcmkwin/kwineffects/package/contents/ui/Effect.qml	2019-03-22 23:07:30.435043637 +0100
+@@ -111,7 +111,7 @@
+ 
+         QtControls.Button {
+             icon.name: "video"
+-            visible: model.VideoRole.toString() !== ""
++            visible: false
+ 
+             onClicked: videoItem.showHide()
+         }

diff --git a/kde-plasma/kwin/kwin-9999.ebuild b/kde-plasma/kwin/kwin-9999.ebuild
index dc24e073c6..f0b90c2bba 100644
--- a/kde-plasma/kwin/kwin-9999.ebuild
+++ b/kde-plasma/kwin/kwin-9999.ebuild
@@ -89,7 +89,7 @@ RESTRICT+=" test"
 
 src_prepare() {
 	kde5_src_prepare
-	use multimedia || eapply "${FILESDIR}/${PN}-gstreamer-optional.patch"
+	use multimedia || eapply "${FILESDIR}/${PN}-5.15.80-gstreamer-optional.patch"
 
 	# Access violations, bug #640432
 	sed -e "s/^ecm_find_qmlmodule.*QtMultimedia/#&/" \