v4l-utils: update to 1.22.1

update 1.20.0 (2020-05-21) to 1.22.1 (2021-10-23)

changelog:
- https://github.com/gjasny/v4l-utils/blob/v4l-utils-1.22.1/ChangeLog
This commit is contained in:
heitbaum 2021-10-16 13:44:19 +11:00
parent 7db11926f4
commit 586a2cacd4
5 changed files with 20 additions and 65 deletions

View File

@ -1,16 +0,0 @@
[[protocols]]
name = "Minix Neo"
protocol = "nec"
[protocols.scancodes]
0x118 = "KEY_POWER"
0x146 = "KEY_UP"
0x116 = "KEY_DOWN"
0x147 = "KEY_LEFT"
0x115 = "KEY_RIGHT"
0x155 = "KEY_ENTER"
0x110 = "KEY_VOLUMEDOWN"
0x140 = "KEY_BACK"
0x114 = "KEY_VOLUMEUP"
0x10d = "KEY_HOMEPAGE"
0x104 = "KEY_MENU"
0x112 = "KEY_CONFIG"

View File

@ -1,29 +0,0 @@
[[protocols]]
name = "pine64"
protocol = "NEC"
[protocols.scancodes]
0x404000 = "KEY_NUMERIC_0"
0x404001 = "KEY_NUMERIC_1"
0x404002 = "KEY_NUMERIC_2"
0x404003 = "KEY_NUMERIC_3"
0x404004 = "KEY_NUMERIC_4"
0x404005 = "KEY_NUMERIC_5"
0x404006 = "KEY_NUMERIC_6"
0x404007 = "KEY_NUMERIC_7"
0x404008 = "KEY_NUMERIC_8"
0x404009 = "KEY_NUMERIC_9"
0x40400a = "KEY_MUTE"
0x40400b = "KEY_UP"
0x40400c = "KEY_BACKSPACE"
0x40400d = "KEY_OK"
0x40400e = "KEY_DOWN"
0x404010 = "KEY_LEFT"
0x404011 = "KEY_RIGHT"
0x404017 = "KEY_VOLUMEDOWN"
0x404018 = "KEY_VOLUMEUP"
0x40401a = "KEY_HOME"
0x40401d = "KEY_MENU"
0x40401f = "KEY_WWW"
0x404045 = "KEY_BACK"
0x404047 = "KEY_INFO"
0x40404d = "KEY_POWER"

View File

@ -5,20 +5,20 @@
# with 1.0.0 repeat delay is broken. test on upgrade
PKG_NAME="v4l-utils"
PKG_VERSION="1.20.0"
PKG_SHA256="956118713f7ccb405c55c7088a6a2490c32d54300dd9a30d8d5008c28d3726f7"
PKG_VERSION="1.22.1"
PKG_SHA256="65c6fbe830a44ca105c443b027182c1b2c9053a91d1e72ad849dfab388b94e31"
PKG_LICENSE="GPL"
PKG_SITE="http://linuxtv.org/"
PKG_URL="http://linuxtv.org/downloads/v4l-utils/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain alsa-lib systemd elfutils ir-bpf-decoders"
PKG_DEPENDS_TARGET="toolchain alsa-lib elfutils ir-bpf-decoders libbpf systemd zlib"
PKG_LONGDESC="Linux V4L2 and DVB API utilities and v4l libraries (libv4l)."
PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--without-jpeg \
--enable-bpf \
--enable-static \
--disable-shared \
--disable-doxygen-doc"
--enable-bpf \
--enable-static \
--disable-shared \
--disable-doxygen-doc"
pre_configure_target() {
# cec-ctl fails to build in subdirs

View File

@ -12,15 +12,15 @@ diff --git a/Makefile.am b/Makefile.am
index d20dfe0f..05dc8c1a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,7 +11,7 @@ EXTRA_DIST = android-config.h bootstrap.sh doxygen_libdvbv5.cfg include COPYING.
COPYING.libdvbv5 README.libv4l README.lib-multi-threading TODO.libdvbv5 \
doc/libdvbv5-index.doc
@@ -10,7 +10,7 @@
EXTRA_DIST = android-config.h sync-with-kernel.sh bootstrap.sh \
doxygen_libdvbv5.cfg include COPYING.libv4l \
COPYING.libdvbv5 README.libv4l README.lib-multi-threading \
TODO.libdvbv5 doc/libdvbv5-index.doc
-include $(top_srcdir)/aminclude.am
+# include $(top_srcdir)/aminclude.am
# custom targets
--
2.20.1

View File

@ -13,12 +13,12 @@ diff --git a/configure.ac b/configure.ac
index 3bb1d2a5..7b633473 100644
--- a/configure.ac
+++ b/configure.ac
@@ -549,7 +549,7 @@ AM_CONDITIONAL([WITH_V4L2_CTL_32], [test x${enable_v4l2_ctl_32} = xyes])
AM_CONDITIONAL([WITH_V4L2_COMPLIANCE], [test x$ac_cv_func_fork = xyes])
@@ -565,7 +565,7 @@
AM_CONDITIONAL([WITH_V4L2_COMPLIANCE_LIBV4L], [test x$ac_cv_func_fork = xyes -a x${enable_v4l2_compliance_libv4l} != xno])
AM_CONDITIONAL([WITH_V4L2_COMPLIANCE_32], [test x$ac_cv_func_fork = xyes -a x${enable_v4l2_compliance_32} = xyes])
-AM_CONDITIONAL([WITH_BPF], [test x$enable_bpf != xno -a x$libelf_pkgconfig = xyes -a x$CLANG = xclang])
+AM_CONDITIONAL([WITH_BPF], [test x$enable_bpf != xno -a x$libelf_pkgconfig = xyes])
PKG_CHECK_MODULES([LIBBPF], [libbpf], [bpf_pc=yes], [bpf_pc=no])
-AM_CONDITIONAL([WITH_BPF], [test x$enable_bpf != xno -a x$libelf_pkgconfig = xyes -a x$CLANG = xclang -a x$bpf_pc = xyes])
+AM_CONDITIONAL([WITH_BPF], [test x$enable_bpf != xno -a x$libelf_pkgconfig = xyes -a x$bpf_pc = xyes])
# append -static to libtool compile and link command to enforce static libs
AS_IF([test x$enable_libdvbv5 = xno], [AC_SUBST([ENFORCE_LIBDVBV5_STATIC], ["-static"])])
@ -26,10 +26,10 @@ diff --git a/utils/keytable/Makefile.am b/utils/keytable/Makefile.am
index 4724897e..1c209fe2 100644
--- a/utils/keytable/Makefile.am
+++ b/utils/keytable/Makefile.am
@@ -18,7 +18,7 @@ ir_keytable_LDFLAGS = $(ARGP_LIBS)
@@ -23,7 +23,7 @@
if WITH_BPF
ir_keytable_LDFLAGS += $(LIBELF_LIBS)
ir_keytable_LDFLAGS += $(LIBELF_LIBS) $(LIBBPF_LIBS)
ir_keytable_CFLAGS = $(LIBBPF_CFLAGS)
-SUBDIRS = bpf_protocols
+# SUBDIRS = bpf_protocols
endif