diff options
| -rw-r--r-- | kde-plasma/kwin/files/kwin-5.90.0-gstreamer-optional.patch | 25 | ||||
| -rw-r--r-- | kde-plasma/kwin/kwin-9999.ebuild | 17 |
2 files changed, 27 insertions, 15 deletions
diff --git a/kde-plasma/kwin/files/kwin-5.90.0-gstreamer-optional.patch b/kde-plasma/kwin/files/kwin-5.90.0-gstreamer-optional.patch new file mode 100644 index 00000000000..a6cd6729a16 --- /dev/null +++ b/kde-plasma/kwin/files/kwin-5.90.0-gstreamer-optional.patch @@ -0,0 +1,25 @@ +From a6eec8e984aa97110a9cad22121fc4e88d3f12ba 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/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 c973afb941..b083d3ac22 100644 +--- a/src/kcms/effects/ui/Effect.qml ++++ b/src/kcms/effects/ui/Effect.qml +@@ -122,7 +122,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.43.0 + diff --git a/kde-plasma/kwin/kwin-9999.ebuild b/kde-plasma/kwin/kwin-9999.ebuild index 6fc43a856af..dcdf163bc37 100644 --- a/kde-plasma/kwin/kwin-9999.ebuild +++ b/kde-plasma/kwin/kwin-9999.ebuild @@ -8,7 +8,7 @@ ECM_TEST="optional" KFMIN=5.245.0 PVCUT=$(ver_cut 1-3) QTMIN=6.6.0 -inherit ecm plasma.kde.org optfeature +inherit ecm plasma.kde.org DESCRIPTION="Flexible, composited Window Manager for windowing systems on Linux" @@ -96,7 +96,7 @@ PDEPEND=">=kde-plasma/kde-cli-tools-${PVCUT}:*" src_prepare() { ecm_src_prepare - use multimedia || eapply "${FILESDIR}/${PN}-5.26.80-gstreamer-optional.patch" + use multimedia || eapply "${FILESDIR}/${PN}-5.90.0-gstreamer-optional.patch" # TODO: try to get a build switch upstreamed if ! use screencast; then @@ -115,16 +115,3 @@ src_configure() { ecm_src_configure } - -pkg_postinst() { - ecm_pkg_postinst - optfeature "color management support" x11-misc/colord - elog - elog "In Plasma 5.20, default behavior of the Task Switcher to move minimised" - elog "windows to the end of the list was changed so that it remains in the" - elog "original order. To revert to the well established behavior:" - elog - elog " - Edit ~/.config/kwinrc" - elog " - Find [TabBox] section" - elog " - Add \"MoveMinimizedWindowsToEndOfTabBoxFocusChain=true\"" -} |
