commit:     580d2472e6ab26fe76ec66fc71421f7f985fee4a
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Fri Dec 29 01:12:46 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 29 01:15:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=580d2472

kde-plasma/kwin: add missing patch for 5.91.0

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34527
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/kwin-5.90.90-gstreamer-optional.patch    | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/kde-plasma/kwin/files/kwin-5.90.90-gstreamer-optional.patch 
b/kde-plasma/kwin/files/kwin-5.90.90-gstreamer-optional.patch
new file mode 100644
index 000000000000..dfd544af0058
--- /dev/null
+++ b/kde-plasma/kwin/files/kwin-5.90.90-gstreamer-optional.patch
@@ -0,0 +1,25 @@
+From 3b851958984a2028780ee6078004690ca2b0723b Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <[email protected]>
+Date: Tue, 6 Aug 2019 22:36:44 +0200
+Subject: [PATCH] Disable the effect video button if gstreamer is missing
+
+---
+ src/kcms/effects/ui/Effect.qml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/kcms/effects/ui/Effect.qml b/src/kcms/effects/ui/Effect.qml
+index e4a7daca7e..23d32e63a1 100644
+--- a/src/kcms/effects/ui/Effect.qml
++++ b/src/kcms/effects/ui/Effect.qml
+@@ -120,7 +120,7 @@ QQC2.ItemDelegate {
+         }
+ 
+         QQC2.ToolButton {
+-            visible: model.VideoRole.toString() !== ""
++            visible: false
+             icon.name: "videoclip-amarok"
+             text: i18nc("@info:tooltip", "Show/Hide Video")
+             display: QQC2.AbstractButton.IconOnly
+-- 
+2.43.0
+

Reply via email to