2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgname=kwin
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgver=5.11.2
|
|
|
|
pkgrel=0
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgdesc='An easy to use, but flexible, composited Window Manager'
|
|
|
|
arch="all"
|
|
|
|
url='https://www.kde.org/workspaces/plasmadesktop/'
|
2017-11-26 17:08:10 +00:00
|
|
|
license="GPL-2.0"
|
|
|
|
depends="xorg-server-xwayland qt5-qtmultimedia"
|
|
|
|
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-x11extras-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"
|
|
|
|
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"
|
2017-08-03 20:14:04 +00:00
|
|
|
source="https://download.kde.org/stable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz
|
2017-11-26 17:08:10 +00:00
|
|
|
0001-fbdev-support-RGB32-framebuffer-with-BGR-order.patch"
|
2017-08-17 16:19:36 +00:00
|
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
2017-11-26 17:08:10 +00:00
|
|
|
options="!check" # Fails due to requiring running X11
|
2017-08-03 20:14:04 +00:00
|
|
|
|
|
|
|
build() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cmake \
|
2017-08-03 20:14:04 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
|
|
-DKDE_INSTALL_LIBEXECDIR=lib \
|
|
|
|
-DLIBC_IS_GLIBC=0
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2017-11-26 17:08:10 +00:00
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
2017-08-03 20:14:04 +00:00
|
|
|
package() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cd "$builddir"
|
2017-08-03 20:14:04 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2017-11-26 17:08:10 +00:00
|
|
|
sha512sums="2d92676268b2d16eb27e8a44e6ac7b3f2a9126e92f6ec714e6ff64ba25e5ae732f3af126e69c98657af07140de5eb8e499358b58b98cd47a0b730c2a8bca6394 kwin-5.11.2.tar.xz
|
|
|
|
5c35ff9526eb5a239e384025d20840ef159ad1f82922a49bb92ebd251c61410361495da9b03a5e185a26c6ad587ece68a20bd7973cad05cbb4f6cd490a4cbf37 0001-fbdev-support-RGB32-framebuffer-with-BGR-order.patch"
|