pmaports/kde/kwin/APKBUILD
Bhushan Shah 75652ad9d3 kde/kwin: workaround the regression introduced in upstream (#1579) (#1579)
I have better fix planned but unfortunately I won't get it to work
before Plasma 5.13.2 release (Plasma 5.13.1 is due today).

Fixes #1574
2018-06-19 22:34:23 +00:00

46 lines
2 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kwin
pkgver=5.13.0
pkgrel=1
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"
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="0ccd927e0745a0afc831f59882f3e33169b276ed79c7e42721842ab2fbf2f8b17ac451943d140ce98ee89478b476f900f9004a3f513fe4d8753666be4a4375e2 kwin-5.13.0.tar.xz
a34ff6926f020117fafd8a31c18a183eecb3e0a5fe6c3f2784f531171552350615fb06cbac2f3a1248011eb83ec32fc9df4b64f82443dee1d8e90c1be49e2690 0001-Revert-udev-Only-handle-devices-from-the-current-sea.patch"