diff options
| -rw-r--r-- | kde-plasma/kwin/files/kwin-5.26.80-gstreamer-optional.patch | 25 | ||||
| -rw-r--r-- | kde-plasma/kwin/kwin-9999.ebuild | 2 |
2 files changed, 26 insertions, 1 deletions
diff --git a/kde-plasma/kwin/files/kwin-5.26.80-gstreamer-optional.patch b/kde-plasma/kwin/files/kwin-5.26.80-gstreamer-optional.patch new file mode 100644 index 00000000000..268d88a09cd --- /dev/null +++ b/kde-plasma/kwin/files/kwin-5.26.80-gstreamer-optional.patch @@ -0,0 +1,25 @@ +From e15641e466b4802f73b34ea2e510df7f78c50afd 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 + +--- + src/kcms/effects/package/contents/ui/Effect.qml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/kcms/effects/package/contents/ui/Effect.qml b/src/kcms/effects/package/contents/ui/Effect.qml +index f8a36c03e..ce673728e 100644 +--- a/src/kcms/effects/package/contents/ui/Effect.qml ++++ b/src/kcms/effects/package/contents/ui/Effect.qml +@@ -116,7 +116,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.39.0 + diff --git a/kde-plasma/kwin/kwin-9999.ebuild b/kde-plasma/kwin/kwin-9999.ebuild index 3d3b61f8d50..0d640461e49 100644 --- a/kde-plasma/kwin/kwin-9999.ebuild +++ b/kde-plasma/kwin/kwin-9999.ebuild @@ -105,7 +105,7 @@ PDEPEND=">=kde-plasma/kde-cli-tools-${PVCUT}:5" src_prepare() { ecm_src_prepare - use multimedia || eapply "${FILESDIR}/${PN}-5.21.80-gstreamer-optional.patch" + use multimedia || eapply "${FILESDIR}/${PN}-5.26.80-gstreamer-optional.patch" # TODO: try to get a build switch upstreamed if ! use screencast; then |
