mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 14:04:43 +02:00
56 lines
1.3 KiB
Text
56 lines
1.3 KiB
Text
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-plasma
|
|
maintainer="team/kde <bribbers@disroot.org>"
|
|
pkgname=kwayland
|
|
pkgver=6.3.5
|
|
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-only OR LGPL-3.0-only"
|
|
depends_dev="
|
|
qt6-qtwayland-dev
|
|
wayland-dev
|
|
"
|
|
makedepends="$depends_dev
|
|
doxygen
|
|
extra-cmake-modules
|
|
graphviz
|
|
plasma-wayland-protocols
|
|
qt6-qtbase-dev
|
|
qt6-qttools-dev
|
|
wayland-protocols
|
|
samurai
|
|
"
|
|
|
|
case "$pkgver" in
|
|
*.*.9*) _rel=unstable;;
|
|
*) _rel=stable;;
|
|
esac
|
|
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg"
|
|
_repo_url="https://invent.kde.org/plasma/kwayland.git"
|
|
source="https://download.kde.org/$_rel/plasma/$pkgver/kwayland-$pkgver.tar.xz"
|
|
options="!check" # Fails to run
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_TESTING=ON \
|
|
-DBUILD_QCH=ON
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
ctest --test-dir build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
15ccede121c689b8849f8db3929435027e6c4ce0ee5cf0aaf9143b48e9ef05366efd6a17b51c9ba3fa799bba841405b193a645633e8a95d9667b12daaea7448a kwayland-6.3.5.tar.xz
|
|
"
|