commit: 629e28dccb9f78c9c2d8dcc5d2bf65267cc4c026 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Fri Mar 22 22:10:36 2019 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Fri Mar 22 22:10:36 2019 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=629e28dc
kde-plasma/kwin: Rebase gstreamer-optional.patch Closes: https://bugs.gentoo.org/681238 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> kde-plasma/kwin/files/kwin-5.15.80-gstreamer-optional.patch | 13 +++++++++++++ kde-plasma/kwin/kwin-9999.ebuild | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/kde-plasma/kwin/files/kwin-5.15.80-gstreamer-optional.patch b/kde-plasma/kwin/files/kwin-5.15.80-gstreamer-optional.patch new file mode 100644 index 0000000000..81db399f6b --- /dev/null +++ b/kde-plasma/kwin/files/kwin-5.15.80-gstreamer-optional.patch @@ -0,0 +1,13 @@ +Disable the effect video button if gstreamer is missing. + +--- a/kcmkwin/kwineffects/package/contents/ui/Effect.qml 2019-03-22 23:06:45.172699544 +0100 ++++ b/kcmkwin/kwineffects/package/contents/ui/Effect.qml 2019-03-22 23:07:30.435043637 +0100 +@@ -111,7 +111,7 @@ + + QtControls.Button { + icon.name: "video" +- visible: model.VideoRole.toString() !== "" ++ visible: false + + onClicked: videoItem.showHide() + } diff --git a/kde-plasma/kwin/kwin-9999.ebuild b/kde-plasma/kwin/kwin-9999.ebuild index dc24e073c6..f0b90c2bba 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}-gstreamer-optional.patch" + use multimedia || eapply "${FILESDIR}/${PN}-5.15.80-gstreamer-optional.patch" # Access violations, bug #640432 sed -e "s/^ecm_find_qmlmodule.*QtMultimedia/#&/" \
