From 2416a5109eb0e52e152b8937e09e36c941acdf57 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 9 Feb 2020 18:42:35 +0100 Subject: [PATCH] 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 --- packages/sysutils/ir-bpf-decoders/package.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 packages/sysutils/ir-bpf-decoders/package.mk diff --git a/packages/sysutils/ir-bpf-decoders/package.mk b/packages/sysutils/ir-bpf-decoders/package.mk new file mode 100644 index 0000000000..551ac04afa --- /dev/null +++ b/packages/sysutils/ir-bpf-decoders/package.mk @@ -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 +}