diff --git a/licenses/HIDAPI-orig.txt b/licenses/HIDAPI-orig.txt new file mode 100644 index 0000000000..e3f3380829 --- /dev/null +++ b/licenses/HIDAPI-orig.txt @@ -0,0 +1,9 @@ + HIDAPI - Multi-Platform library for + communication with HID devices. + + Copyright 2009, Alan Ott, Signal 11 Software. + All Rights Reserved. + + This software may be used by anyone for any reason so + long as the copyright notice in the source files + remains intact. diff --git a/packages/addons/addon-depends/hidapi/package.mk b/packages/addons/addon-depends/hidapi/package.mk new file mode 100644 index 0000000000..55025d6e5e --- /dev/null +++ b/packages/addons/addon-depends/hidapi/package.mk @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2023-present Team LibreELEC (https://libreelec.tv) + +PKG_NAME="hidapi" +PKG_VERSION="0.14.0" +PKG_SHA256="a5714234abe6e1f53647dd8cba7d69f65f71c558b7896ed218864ffcf405bcbd" +PKG_LICENSE="HIDAPI-orig" +PKG_SITE="http://libusb.info/" +PKG_URL="https://github.com/libusb/hidapi/archive/refs/tags/hidapi-${PKG_VERSION}.tar.gz" +PKG_DEPENDS_TARGET="toolchain libusb" +PKG_LONGDESC="HIDAPI is a multi-platform library which allows an application to interface with USB and Bluetooth HID-Class devices." +PKG_TOOLCHAIN="cmake"