ir-bpf-decoders: add new package with precompiled IR BPF decoder binaries

Note: when bumping v4l-utils the BPF decoders in util/keytable/bpf_protocols
should be locally rebuilt (requires clang and libelf-dev installed) and this
package bumped with updated versions.

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2020-02-09 18:42:35 +01:00
parent a4b25f474b
commit 2416a5109e

View File

@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="ir-bpf-decoders"
PKG_VERSION="v4l-utils-1.18.0"
PKG_SHA256="7d8777708ba861dcf46e26d5c04dc9f6e6181b4cb6a82cf836d1e015818a76e9"
PKG_LICENSE="GPLv2+"
PKG_SITE="https://linuxtv.org/"
PKG_URL="https://github.com/LibreELEC/ir-bpf-decoders/archive/$PKG_VERSION.tar.gz"
PKG_LONGDESC="ir-bpf-decoders: precompiled binaries of IR BPF decoders from v4l-utils utils/keytable/bpf_protocols"
PKG_TOOLCHAIN="manual"
makeinstall_target() {
mkdir -p $INSTALL/usr/lib/udev/rc_keymaps/protocols
cp $PKG_BUILD/*.o $INSTALL/usr/lib/udev/rc_keymaps/protocols
}