aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wacomtablet/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/wacomtablet/APKBUILD')
-rw-r--r--testing/wacomtablet/APKBUILD59
1 files changed, 59 insertions, 0 deletions
diff --git a/testing/wacomtablet/APKBUILD b/testing/wacomtablet/APKBUILD
new file mode 100644
index 0000000000..1cd8be21b3
--- /dev/null
+++ b/testing/wacomtablet/APKBUILD
@@ -0,0 +1,59 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=wacomtablet
+pkgver=3.2.0
+pkgrel=0
+pkgdesc="GUI for Wacom Linux drivers that supports different button/pen layout profiles"
+# armhf blocked by qt5-qtdeclarative
+# mips64, s390x and riscv64 blocked by polkit -> kxmlgui
+arch="all !armhf !mips64 !s390x !riscv64"
+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
+ plasma-framework-dev
+ qt5-qtbase-dev
+ qt5-qtdeclarative-dev
+ xf86-input-wacom-dev
+ "
+checkdepends="xvfb-run"
+
+source="https://download.kde.org/stable/wacomtablet/$pkgver/wacomtablet-$pkgver.tar.xz
+ 0001-qt-5.15.patch
+ 0002-turn-off-gesture-support-by-default-and-warn-when-turning-it-on-manually.patch
+ "
+subpackages="$pkgname-lang $pkgname-doc"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ cmake --build build
+}
+
+check() {
+ cd build
+ CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "Test.KDED.DBusTabletService"
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
+sha512sums="
+acbabd6d6546bc85f0ed4e245668dc89b1c2ecaedd3754bf7ad8027b90f3ae81e5312395376de272dcbd416a9a1115bff2481351bd3f418bef7fa06d0db0c5a6 wacomtablet-3.2.0.tar.xz
+120b2e3b57159d0bcfbee707d4f328c2dbeef846d449f5fde7b452da99bcd2de79463bd63e88dc26d7c9071e6fbd112dd528d5c05817bc16c16276004ab4b78f 0001-qt-5.15.patch
+b17bb7afcea1eeda529ec0a5bdc90d134eae7b39529fe369b0b1e16b5a9354b41c7affa89d8b2ac58e48c8b3d044cb09025da85644ca7ac472d749f1fefbb067 0002-turn-off-gesture-support-by-default-and-warn-when-turning-it-on-manually.patch
+"