d2ce083552
Also includes a revert for the commit which broke the libinput devices for consolekit session. I am still unsure of solution for both of the problems to suggest upstream. But it is in my todo list. Fixes #1585
48 lines
2.3 KiB
Text
48 lines
2.3 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kwin
|
|
pkgver=5.13.2
|
|
pkgrel=0
|
|
pkgdesc='An easy to use, but flexible, composited Window Manager'
|
|
arch="all"
|
|
url='https://www.kde.org/workspaces/plasmadesktop/'
|
|
license="GPL-2.0"
|
|
depends="xorg-server-xwayland qt5-qtmultimedia breeze"
|
|
depends_dev="kdecoration-dev kjobwidgets-dev kcmutils-dev kscreenlocker-dev breeze-dev
|
|
qt5-qtdeclarative-dev qt5-qtscript-dev kcompletion-dev plasma-framework-dev
|
|
kinit-dev kio-dev xcb-util-keysyms-dev qt5-qtx11extras-dev kcrash-dev kglobalaccel-dev
|
|
knotifications-dev kiconthemes-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev
|
|
ki18n-dev kpackage-dev kwidgetsaddons-dev kwindowsystem-dev kidletime-dev
|
|
kauth-dev kcodecs-dev ktextwidgets-dev knewstuff-dev kservice-dev kxmlgui-dev
|
|
kbookmarks-dev kwayland-dev attica-qt-dev sonnet-dev kitemviews-dev solid-dev
|
|
kdeclarative-dev kactivities-dev qt5-qtsensors-dev"
|
|
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev kdoctools-dev libxkbcommon-dev
|
|
libepoxy-dev libinput-dev xcb-util-cursor-dev libdrm-dev eudev-dev xcb-util-wm-dev"
|
|
source="https://download.kde.org/stable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz
|
|
0001-Revert-udev-Only-handle-devices-from-the-current-sea.patch
|
|
0002-Revert-libinput-connection-Don-t-hardcode-seat0-anym.patch"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
options="!check" # Fails due to requiring running X11
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DKDE_INSTALL_LIBEXECDIR=lib \
|
|
-DLIBC_IS_GLIBC=0
|
|
SKIP_AUTOMOC=main.cpp make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="70b11e39f2e6186fa955bf338f96cdf363fc562b130839f1f82b9950ccff3707c6056c2bfc364f2d62ea5bfec8cfe3c2c215073928849d2a15d3c11bd9ebfcc7 kwin-5.13.2.tar.xz
|
|
a34ff6926f020117fafd8a31c18a183eecb3e0a5fe6c3f2784f531171552350615fb06cbac2f3a1248011eb83ec32fc9df4b64f82443dee1d8e90c1be49e2690 0001-Revert-udev-Only-handle-devices-from-the-current-sea.patch
|
|
a534a3d388f066f84813148743eda1da1be000907ddf2c762c098a7ce38fcc1992eaa74763c47d98e82b83e38a03a828f4f3368e7e7ab733714f993646af7c8b 0002-Revert-libinput-connection-Don-t-hardcode-seat0-anym.patch"
|