mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kwayland
|
|
pkgver=5.105.0
|
|
pkgrel=2
|
|
pkgdesc="Qt-style Client and Server library wrapper for the Wayland libraries"
|
|
arch="all !armhf" # armhf blocked by extra-cmake-modules
|
|
url="https://www.kde.org"
|
|
license="LGPL-2.1-only OR LGPL-3.0-only"
|
|
depends_dev="
|
|
qt5-qtwayland-dev
|
|
wayland-dev
|
|
"
|
|
makedepends="$depends_dev
|
|
doxygen
|
|
extra-cmake-modules
|
|
plasma-wayland-protocols
|
|
qt5-qtbase-dev
|
|
qt5-qttools-dev
|
|
wayland-protocols
|
|
samurai
|
|
"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kwayland-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg"
|
|
options="!check" # Fails due to requiring running Wayland compositor
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_QCH=ON
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
29f9dfccfc807b2ae7b5df2170ddfdb6dc4ad41e7cbb4e084785a6c0dd8bbf6be2277461fc26461222067ce6ad48fea65f6b016b68d3b19e317205dfa78aa23b kwayland-5.105.0.tar.xz
|
|
"
|