I did a one-time overhaul of the PKGBUILD, but I am not going to maintain it continuously because there is already hidapi in the official repositories.
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/hidapi-git.git (read-only, click to copy) |
|---|---|
| Package Base: | hidapi-git |
| Description: | Simple library for communicating with USB and Bluetooth HID devices. Latest git checkout. |
| Upstream URL: | https://github.com/libusb/hidapi |
| Licenses: | BSD-3-Clause, GPL-3.0-or-later, LicenseRef-HIDAPI |
| Conflicts: | hidapi |
| Provides: | hidapi |
| Submitter: | nicolasavru |
| Maintainer: | skarbricat |
| Last Packager: | tippfehlr |
| Votes: | 8 |
| Popularity: | 0.000000 |
| First Submitted: | 2012-08-05 11:17 (UTC) |
| Last Updated: | 2026-06-14 18:24 (UTC) |
I did a one-time overhaul of the PKGBUILD, but I am not going to maintain it continuously because there is already hidapi in the official repositories.
I'm not an Arch user anymore and lack the time to maintain packages. Feel free to adopt the package and implement the proposed feedback.
The package is building again. Thanks for the notice @odysseywestra.
Package is not building. I'm getting this error:
==> Starting build()...
+ autoreconf --install --verbose --force
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
configure.ac:16: error: AC_CONFIG_MACRO_DIR can only be used once
./lib/autoconf/general.m4:1969: AC_CONFIG_MACRO_DIR is expanded from...
configure.ac:16: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: error: aclocal failed with exit status: 1
==> ERROR: A failure occurred in build().
Aborting...
error making: hidapi-git
The package is now up to date. Unfortunately, I had to introduce an epoch to fix broken version monotonicity.
EDIT: introduced epoch
the git repository of hidapi has been moved to https://github.com/libusb/hidapi
this version builds the "test GUI" which uses the Fox Toolkit. I'm happy to entertain discussion about not doing this by default, but this package has had the test gui for a long time.
as for systemd-tools, I think that's to fulfill the udev dependency. However this already depends on libusb which requires libsystemd, which depends on libudev. I'm not sure if that's quite enough, as much as the actual udev system. But I think it's going to be rare that you're installing hidapi-git without udev in place somehow already.
is there a strong need to drop either of these? They appear to have moderate logic behind them
Hey, sorry to bother again. AFAIK, fox isn't a dependency for hidapi? I am also not sure why systemd-tools is there. Thanks :)
Hey, could you add provides/conflicts?
conflicts=('hidapi') provides=('hidapi')