6761bc8e78
Built and tested on x86_64, everything works as before.
35 lines
1,020 B
Text
35 lines
1,020 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kwayland
|
|
pkgver=5.58.0
|
|
pkgrel=0
|
|
pkgdesc="Qt-style Client and Server library wrapper for the Wayland libraries"
|
|
arch="all"
|
|
url="https://www.kde.org"
|
|
license="LGPL-2.1"
|
|
depends_dev="qt5-qtbase-dev wayland-dev"
|
|
makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
options="!check" # Fails due to requiring running Wayland compositor
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_QCH=ON
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="5512621e69f354efccc52af1f571c6660ff72581ad00bc4766c4cc42d731baf1358107325af6a3b5685372c84f5c9f4b583d1bcf44ef81dbc252e15d6cede53a kwayland-5.58.0.tar.xz"
|