summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-plasma/kwin/files/kwin-5.21.80-gstreamer-optional.patch25
-rw-r--r--kde-plasma/kwin/kwin-9999.ebuild2
2 files changed, 26 insertions, 1 deletions
diff --git a/kde-plasma/kwin/files/kwin-5.21.80-gstreamer-optional.patch b/kde-plasma/kwin/files/kwin-5.21.80-gstreamer-optional.patch
new file mode 100644
index 00000000000..15936e6dd31
--- /dev/null
+++ b/kde-plasma/kwin/files/kwin-5.21.80-gstreamer-optional.patch
@@ -0,0 +1,25 @@
+From b5b277996322b0a37ed8a9443724183b82800e81 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Tue, 6 Aug 2019 22:36:44 +0200
+Subject: [PATCH] Disable the effect video button if gstreamer is missing
+
+---
+ kcmkwin/kwineffects/package/contents/ui/Effect.qml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/kcmkwin/kwineffects/package/contents/ui/Effect.qml b/kcmkwin/kwineffects/package/contents/ui/Effect.qml
+index 71dbc5935..86ddf40b3 100644
+--- a/src/kcmkwin/kwineffects/package/contents/ui/Effect.qml
++++ b/src/kcmkwin/kwineffects/package/contents/ui/Effect.qml
+@@ -112,7 +112,7 @@ Kirigami.SwipeListItem {
+ }
+ actions: [
+ Kirigami.Action {
+- visible: model.VideoRole.toString() !== ""
++ visible: false
+ icon.name: "videoclip-amarok"
+ tooltip: i18nc("@info:tooltip", "Show/Hide Video")
+ onTriggered: videoItem.showHide()
+--
+2.22.0
+
diff --git a/kde-plasma/kwin/kwin-9999.ebuild b/kde-plasma/kwin/kwin-9999.ebuild
index a14e8d4d78f..1e7d628b617 100644
--- a/kde-plasma/kwin/kwin-9999.ebuild
+++ b/kde-plasma/kwin/kwin-9999.ebuild
@@ -102,7 +102,7 @@ PDEPEND="
src_prepare() {
ecm_src_prepare
- use multimedia || eapply "${FILESDIR}/${PN}-5.16.80-gstreamer-optional.patch"
+ use multimedia || eapply "${FILESDIR}/${PN}-5.21.80-gstreamer-optional.patch"
# TODO: try to get a build switch upstreamed
if ! use screencast; then