pmaports/kde/kwin/APKBUILD
2018-05-02 22:56:22 +02:00

46 lines
2 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kwin
pkgver=5.12.3
pkgrel=2
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-fbdev-support-RGB32-framebuffer-with-BGR-order.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="5c5162152fb4bb9827e540be0f2cc9a93fd9b4c850d04e7237b1de253958c7dd15e440103a35d7ecd0fd157ae90a94a48286a803f7a3bfbad8d5670889357277 kwin-5.12.3.tar.xz
5c35ff9526eb5a239e384025d20840ef159ad1f82922a49bb92ebd251c61410361495da9b03a5e185a26c6ad587ece68a20bd7973cad05cbb4f6cd490a4cbf37 0001-fbdev-support-RGB32-framebuffer-with-BGR-order.patch"