| Name |
hidapi |
| Description |
Simple library for communicating with USB and Bluetooth HID devices |
| Version |
0.15.0-1 |
| Package Base |
hidapi |
| Homepage |
https://github.com/libusb/hidapi |
| Maintainers |
['Christian Hesse <eworm@archlinux.org>'] |
| Contributors |
['Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>', 'Nicolas Avrutin <nicolasavru@gmail.com>', 'Niels Martignène <niels.martignene@gmail.com>', 'Sergej Pupykin <arch+pub@sergej.pp.ru>'] |
| Distro-repo |
https://gitlab.archlinux.org/archlinux/packaging/packages/hidapi |
| Sources |
['https://github.com/libusb/hidapi/archive/hidapi-0.15.0.tar.gz'] |
| Dependencies |
['systemd-libs'] |
| Optional-Dependencies |
['libusb'] |
| Build-Dependencies |
['cmake', 'libusb'] |
| Provides |
['libhidapi-hidraw.so', 'libhidapi-libusb.so'] |
| Builddate |
21-05-2025 13:43:34 |
| Architecture |
x86_64 |
| Distro-Version |
|
| Licenses |
['BSD', 'GPL3', 'custom'] |
| Hash |
58eee8119ef8ca47a6f10c073ee3a89d9d3958b77b94aa7d05c331e73f50f5b8 |
# Contributor: Sergej Pupykin <arch+pub@sergej.pp.ru>
# Contributor: Niels Martignène <niels.martignene@gmail.com>
# Contributor: Nicolas Avrutin <nicolasavru@gmail.com>
# Contributor: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
pkgname=hidapi
pkgver=0.15.0
pkgrel=1
pkgdesc='Simple library for communicating with USB and Bluetooth HID devices'
arch=(x86_64)
url='https://github.com/libusb/hidapi'
license=('GPL3' 'BSD' 'custom')
depends=('systemd-libs')
optdepends=('libusb: for hidapi-libusb')
makedepends=('cmake' 'libusb')
provides=('libhidapi-hidraw.so' 'libhidapi-libusb.so')
source=("https://github.com/libusb/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz")
sha512sums=('a4ddd13a80a84956872fa52aa861b40e4959f301d8d91afe0feaf9dbd87394561e1fdd20cbf8cf47200845f80a8db8a934bc2e3025fe6f16435e37c17621e7b6')
build() {
cmake -B build -S ${pkgname}-${pkgname}-${pkgver} -DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="${pkgdir}" cmake --install build
install -Dm0644 ${pkgname}-${pkgname}-${pkgver}/LICENSE*.txt -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}