summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2015-09-12 18:22:12 +0200
committerManuel Rüger <mrueg@gentoo.org>2015-09-12 18:22:12 +0200
commit54bf6af181e9d9f51a3ad2ab1f0a93cb04eb5059 (patch)
tree97d1d4d399806f1847d9deb2af0cd90d33c91ad3 /kde-plasma/kwin
parentkde-plasma: Drop redundant whitespace in KEYWORDS (diff)
downloadgentoo-54bf6af181e9d9f51a3ad2ab1f0a93cb04eb5059.tar.gz
gentoo-54bf6af181e9d9f51a3ad2ab1f0a93cb04eb5059.tar.bz2
gentoo-54bf6af181e9d9f51a3ad2ab1f0a93cb04eb5059.zip
kde-plasma: Version bump
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'kde-plasma/kwin')
-rw-r--r--kde-plasma/kwin/Manifest1
-rw-r--r--kde-plasma/kwin/files/kwin-gstreamer-optional.patch15
-rw-r--r--kde-plasma/kwin/kwin-5.4.1.ebuild93
3 files changed, 109 insertions, 0 deletions
diff --git a/kde-plasma/kwin/Manifest b/kde-plasma/kwin/Manifest
index ad4c456bc617..6832730e08ea 100644
--- a/kde-plasma/kwin/Manifest
+++ b/kde-plasma/kwin/Manifest
@@ -1 +1,2 @@
DIST kwin-5.4.0.tar.xz 3782816 SHA256 81f0caced49288f38ef1b34f70d4f62f4f261bdf57f6875631ec1017cfd6c7d3 SHA512 877df9dccc57e7c09d526f42ba7e53c27787a7070fb20a3cc0fa31e533ccaa5f233de5469cd96f57cca3ff334e5e22cc6431129637f0b070be9d83e484a82ade WHIRLPOOL 8691f410e2e57711e37faca7c815351883104c5ea30591c1c62b19e51f5793fd5af90a01144c2eef8bfbd5191b9d003b6dbe10d1cf86131e7103204f7808ca34
+DIST kwin-5.4.1.tar.xz 3783308 SHA256 9cbeffd3dd2abf8ab05a65d71f7596f2d536b882914973eb77f3f44df92da957 SHA512 d2d0fbe4e8e1855e31ef7ce74a613e8a6e6ccc9dd3ba0f40c70c6c0a36110ab42c082c49c1fa8c3b6abb7093c916af966555e737d09d722d1745b530a11da55a WHIRLPOOL 021fcbbfc825119ebfbe7c2b42270cb0cb992ca0e23384c6f5cfa6c261200935826a6dd42cee316d1f5773cff30f7f31394977aee173449cd2c76644f0ab5fe9
diff --git a/kde-plasma/kwin/files/kwin-gstreamer-optional.patch b/kde-plasma/kwin/files/kwin-gstreamer-optional.patch
new file mode 100644
index 000000000000..d9ace476f956
--- /dev/null
+++ b/kde-plasma/kwin/files/kwin-gstreamer-optional.patch
@@ -0,0 +1,15 @@
+Disable the effect video button if gstreamer is missing.
+
+diff --git a/kcmkwin/kwincompositing/qml/Effect.qml b/kcmkwin/kwincompositing/qml/Effect.qml
+index fcd5e8a..2331da2 100644
+--- a/kcmkwin/kwincompositing/qml/Effect.qml
++++ b/kcmkwin/kwincompositing/qml/Effect.qml
+@@ -144,7 +144,7 @@ Rectangle {
+
+ Button {
+ id: videoButton
+- visible: model.VideoRole.toString() !== ""
++ visible: false
+ iconName: "video"
+ onClicked: videoItem.showHide()
+ }
diff --git a/kde-plasma/kwin/kwin-5.4.1.ebuild b/kde-plasma/kwin/kwin-5.4.1.ebuild
new file mode 100644
index 000000000000..f22f22da5b06
--- /dev/null
+++ b/kde-plasma/kwin/kwin-5.4.1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+KDE_TEST="true"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="KDE window manager"
+LICENSE="GPL-2+"
+KEYWORDS="~amd64"
+IUSE="gles2 gstreamer wayland"
+
+COMMON_DEPEND="
+ $(add_frameworks_dep kactivities)
+ $(add_frameworks_dep kauth)
+ $(add_frameworks_dep kcmutils)
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kcrash)
+ $(add_frameworks_dep kdeclarative)
+ $(add_frameworks_dep kglobalaccel)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep kinit)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep knewstuff)
+ $(add_frameworks_dep knotifications)
+ $(add_frameworks_dep kpackage)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kwindowsystem X)
+ $(add_frameworks_dep kxmlgui)
+ $(add_frameworks_dep plasma)
+ $(add_plasma_dep kdecoration)
+ dev-qt/qtdbus:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5[gles2=,opengl(+)]
+ dev-qt/qtscript:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ media-libs/libepoxy
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ >=x11-libs/libxcb-1.10
+ x11-libs/xcb-util-cursor
+ x11-libs/xcb-util-image
+ x11-libs/xcb-util-keysyms
+ wayland? (
+ $(add_plasma_dep kwayland)
+ dev-qt/qtwayland:5
+ >=dev-libs/libinput-0.10
+ >=dev-libs/wayland-1.2
+ virtual/libudev:=
+ >=x11-libs/libxkbcommon-0.4.1
+ )
+"
+RDEPEND="${COMMON_DEPEND}
+ $(add_plasma_dep kde-cli-tools)
+ gstreamer? ( dev-qt/qtmultimedia:5[gstreamer,qml] )
+ !kde-base/kwin
+ !kde-base/systemsettings
+"
+DEPEND="${COMMON_DEPEND}
+ dev-qt/designer:5
+ dev-qt/qtconcurrent:5
+ media-libs/mesa[egl,gles2?,wayland?]
+ x11-proto/xproto
+ test? ( x11-libs/xcb-util-wm )
+"
+
+src_prepare() {
+ kde5_src_prepare
+
+ use gstreamer || epatch "${FILESDIR}/${PN}-gstreamer-optional.patch"
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package wayland)
+ $(cmake-utils_use_find_package wayland KF5Wayland)
+ $(cmake-utils_use_find_package wayland Libinput)
+ $(cmake-utils_use_find_package wayland UDev)
+ )
+
+ kde5_src_configure
+}