commit: 4689fa76c4f2a1ce41df0b82c9345be09acdb065 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Tue Aug 6 20:43:30 2019 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Aug 6 20:43:30 2019 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=4689fa76
kde-plasma/kwin: Rebase gstreamer-optional.patch on git master Broken by upstream commit 52eba31ea23d73731600851838f61118a3fd9f9e Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../files/kwin-5.16.80-gstreamer-optional.patch | 25 ++++++++++++++++++++++ kde-plasma/kwin/kwin-9999.ebuild | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/kde-plasma/kwin/files/kwin-5.16.80-gstreamer-optional.patch b/kde-plasma/kwin/files/kwin-5.16.80-gstreamer-optional.patch new file mode 100644 index 0000000000..08a472ad55 --- /dev/null +++ b/kde-plasma/kwin/files/kwin-5.16.80-gstreamer-optional.patch @@ -0,0 +1,25 @@ +From b5b277996322b0a37ed8a9443724183b82800e81 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 + +--- + 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/kcmkwin/kwineffects/package/contents/ui/Effect.qml ++++ b/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 f0b90c2bba..cf1130f7cc 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}-5.15.80-gstreamer-optional.patch" + use multimedia || eapply "${FILESDIR}/${PN}-5.16.80-gstreamer-optional.patch" # Access violations, bug #640432 sed -e "s/^ecm_find_qmlmodule.*QtMultimedia/#&/" \
