Hi, @Hwenray. Just wanna say thank you for sharing the aarch64 support patch. It’s working really well for me. Wish the maintainer would merge your patch soon.
Search Criteria
Package Details: opentabletdriver-git 0.6.6.1.r125.g14fad7a5-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/opentabletdriver-git.git (read-only, click to copy) |
|---|---|
| Package Base: | opentabletdriver-git |
| Description: | A cross-platform open source tablet driver |
| Upstream URL: | https://opentabletdriver.net |
| Keywords: | artisul digimend gaomon huion otd parblo uc-logic uclogic ugtablet veikk wacom xencelabs xp-pen xppen |
| Licenses: | LGPL-3.0-or-later |
| Conflicts: | digimend-drivers-git-dkms, digimend-kernel-drivers, digimend-kernel-drivers-dkms, digimend-kernel-drivers-dkms-git, opentabletdriver |
| Provides: | opentabletdriver |
| Submitter: | LavaDesu |
| Maintainer: | gonX (jamesbt365) |
| Last Packager: | gonX |
| Votes: | 18 |
| Popularity: | 0.78 |
| First Submitted: | 2020-01-02 07:53 (UTC) |
| Last Updated: | 2025-10-24 16:09 (UTC) |
Dependencies (8)
- dotnet-runtime-8.0 (dotnet-runtime-8.0-binAUR)
- gtk3 (gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR, gtk3-no_deadkeys_underlineAUR)
- libevdev (libevdev-gitAUR)
- dotnet-sdk (dotnet-sdk-2.2AUR, dotnet-sdk-2.2-vs2017AUR, dotnet-sdk-3.0AUR, dotnet-sdk-2.1AUR, dotnet-sdk-preview-binAUR, dotnet-sdk-binAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- jq (jq-gitAUR, jq-staticAUR, jaq-binAUR, jaq-gitAUR) (make)
- libx11 (libx11-gitAUR) (optional)
- libxrandr (libxrandr-gitAUR) (optional) – x11 display querying support
Required by (0)
Sources (2)
mdrv commented on 2026-02-01 02:55 (UTC)
Hwenray commented on 2025-12-27 06:01 (UTC) (edited on 2025-12-27 06:03 (UTC) by Hwenray)
Hello,
I successfully built OpenTabletDriver on aarch64 (Arch Linux ARM, Orange Pi). The current PKGBUILD only targets x86_64, and the build system falls back to linux-x64 when no runtime is specified, causing ARM64 builds to fail.
This patch adds proper aarch64 support by:
1. Extending arch=() to include 'aarch64'
2. Automatically selecting the correct runtime (linux-arm64 / linux-x64)
3. Ensuring the build script no longer falls back to an incorrect runtime
The changes do not affect x86_64 builds and have been tested on aarch64.
Please consider merging this patch. Thank you!
diff --git a/PKGBUILD b/PKGBUILD
index fffc0a2..233fb93 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,10 +6,10 @@ pkgname=opentabletdriver-git
_pkgname=OpenTabletDriver
_lpkgname=opentabletdriver
_spkgname=otd
-pkgver=0.6.6.1.r125.g14fad7a5
-pkgrel=2
+pkgver=0.6.6.2.r346.g96e4992a
+pkgrel=1
pkgdesc="A cross-platform open source tablet driver"
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
url="https://opentabletdriver.net"
license=('LGPL-3.0-or-later')
depends=('dotnet-runtime-8.0' 'gtk3' 'libevdev')
@@ -55,7 +55,12 @@ build() {
fi
export OTD_CONFIGURATIONS="${PWD}/OpenTabletDriver.Configurations/Configurations"
- ./eng/bash/package.sh --dog-food "false" --package Generic -- /p:VersionSuffix="$VERSION_SUFFIX" $EXTRA_OPTIONS
+ if [[ "$CARCH" == "aarch64" ]]; then
+ RUNTIME="linux-arm64"
+ else
+ RUNTIME="linux-x64"
+ fi
+ ./eng/bash/package.sh --dog-food "false" --package Generic --runtime "$RUNTIME" -- /p:VersionSuffix="$VERSION_SUFFIX" $EXTRA_OPTIONS
}
package() {
gonX commented on 2025-09-20 20:27 (UTC)
This package now targets the 0.6.x branch as the master branch is discontinued.
Please see the upstream issue for more information:
https://github.com/OpenTabletDriver/OpenTabletDriver/issues/3989
jamesbt365 commented on 2025-01-26 03:19 (UTC) (edited on 2025-01-26 03:23 (UTC) by jamesbt365)
Current dotnet-runtime dependency is not up to the current version (version 9) making updates fail due to conflict. Update it when possible please!
OpenTabletDriver won't be bumping dotnet-runtime because arch maintainers messed up the packaging of their own packages, bumping dotnet affects other distros too and behaviour may be unpredictable without proper testing.
Please wait until the arch maintainers fix the conflict with dotnet-runtime-8.0 and dotnet-runtime or uninstall dotnet-runtime for now if you have nothing else depending on it
Upstream issue is here: https://gitlab.archlinux.org/archlinux/packaging/packages/dotnet-core-8.0/-/issues/1
stellarium commented on 2025-01-26 02:58 (UTC)
Current dotnet-runtime dependency is not up to the current version (version 9) making updates fail due to conflict. Update it when possible please!
MikeWalrus commented on 2023-11-08 08:58 (UTC)
Please add jq to makedepends.
hvafrancesco commented on 2023-11-08 08:36 (UTC)
I found out that my issue with building opentabletdriver-git was lack of 'jq' package, it should probably be included in dependencies
hvafrancesco commented on 2023-11-07 07:46 (UTC)
doesn't build
Moving /home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/dist to /home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/dist/usr/lib/opentabletdriver... Copying generic files... '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/eng/linux/Generic/usr/bin' -> '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/dist/usr/bin' '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/eng/linux/Generic/usr/bin/otd' -> '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/dist/usr/bin/otd' '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/eng/linux/Generic/usr/bin/otd-daemon' -> '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/dist/usr/bin/otd-daemon' '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/eng/linux/Generic/usr/bin/otd-gui' -> '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/dist/usr/bin/otd-gui' '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/eng/linux/Generic/usr/lib/modprobe.d' -> '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/dist/usr/lib/modprobe.d' '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/eng/linux/Generic/usr/lib/modprobe.d/99-opentabletdriver.conf' -> '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/dist/usr/lib/modprobe.d/99-opentabletdriver.conf' '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/eng/linux/Generic/usr/lib/modules-load.d' -> '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/dist/usr/lib/modules-load.d' '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/eng/linux/Generic/usr/lib/modules-load.d/opentabletdriver.conf' -> '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/dist/usr/lib/modules-load.d/opentabletdriver.conf' '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/eng/linux/Generic/usr/lib/systemd' -> '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/dist/usr/lib/systemd' '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/eng/linux/Generic/usr/lib/systemd/user' -> '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/dist/usr/lib/systemd/user' '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/eng/linux/Generic/usr/lib/systemd/user/opentabletdriver.service' -> '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/dist/usr/lib/systemd/user/opentabletdriver.service'
'/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/LICENSE' -> '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/dist/usr/share/doc/opentabletdriver/LICENSE' Copying pixmap assets to '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/dist/usr/share/pixmaps'... Copying manpage(s) to '/home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/dist/usr/share/man'... Generating udev rules to /home/francesco/.cache/yay/opentabletdriver-git/src/OpenTabletDriver/dist/usr/lib/udev/rules.d/70-opentabletdriver.rules... ==> ERRORE: Si è verificato un errore in build(). L'operazione sta per essere interrotta... -> errore durante la creazione: opentabletdriver-git-exit status 4 -> Installazione dei seguenti pacchetti non riuscita. È richiesto l'intervento manuale: opentabletdriver-git - exit status 4
piuvas commented on 2023-08-01 00:14 (UTC)
can't build :/
==> Starting build()...
Unknown option: linux-x64
Usage: ./eng/linux/package.sh [OPTIONS]...
Options:
-o, --output <path> Output directory for build artifacts (default: bin)
-c, --configuration <config> Build configuration (default: Release)
-f, --framework <framework> Target framework (default: net7.0)
-r, --runtime <runtime> Target runtime (default: linux-x64)
--dog-food <bool> Whether to output dogfood binaries (default: true)
--build <bool> Whether to build binaries (default: true)
--portable <bool> Whether to build portable binaries (default: false)
--single-file <bool> Whether to build single-file binaries (default: true)
--self-contained <bool> Whether to build self-contained binaries (default: false)
-h, --help Print this help message
Platform-specific options:
--package <package_type> Package generation script to run after build
(see eng/linux/* for available package types)
Remarks:
Anything after '--', if it is specified, will be passed to dotnet publish as-is.
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
gonX commented on 2025-09-20 20:27 (UTC)
This package now targets the
0.6.xbranch as themasterbranch is discontinued.Please see the upstream issue for more information:
https://github.com/OpenTabletDriver/OpenTabletDriver/issues/3989