aports/community/wacomtablet/APKBUILD
2025-05-09 06:12:35 +00:00

61 lines
1.5 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=wacomtablet
pkgver=6.3.5
pkgrel=0
pkgdesc="GUI for Wacom Linux drivers that supports different button/pen layout profiles"
# armhf blocked by qt6-qtdeclarative
arch="all !armhf"
url="https://kde.org/plasma-desktop/"
license="GPL-2.0-or-later"
depends="xinput"
makedepends="
extra-cmake-modules
kconfig-dev
kcoreaddons-dev
kdbusaddons-dev
kdoctools-dev
kglobalaccel-dev
ki18n-dev
knotifications-dev
kwidgetsaddons-dev
kwindowsystem-dev
kxmlgui-dev
libwacom-dev
libplasma-dev
plasma5support-dev
qt6-qtbase-dev
qt6-qtdeclarative-dev
samurai
xf86-input-wacom-dev
"
checkdepends="xwayland-run"
subpackages="$pkgname-lang $pkgname-doc"
case "$pkgver" in
*.*.9*) _rel=unstable;;
*) _rel=stable;;
esac
_repo_url="https://invent.kde.org/system/wacomtablet.git"
source="https://download.kde.org/$_rel/plasma/$pkgver/wacomtablet-$pkgver.tar.xz"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
xwfb-run -- ctest --test-dir build -E "Test.KDED.(DBusTabletService|XInputAdaptor|XsetWacomAdaptor)"
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
35843cbe3e62085e3f726f4512a5a69a5db26a9cd5e64024f19088cfab0efb081b4646e5c55b324a87ef676b58fe7cad32b9d71e5043bfb44a1df5ee985aa6fa wacomtablet-6.3.5.tar.xz
"