libv4l: fix compilation without utils
Upstream backport. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
e174602d56
commit
21ff8c732c
|
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=v4l-utils
|
||||
PKG_VERSION:=1.26.1
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=https://www.linuxtv.org/downloads/v4l-utils
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
From fee976dcfe3be03cc72c099f9ed3bac938a34b58 Mon Sep 17 00:00:00 2001
|
||||
From: James Le Cuirot <chewi@gentoo.org>
|
||||
Date: Tue, 12 Dec 2023 15:24:05 +0000
|
||||
Subject: meson: Fix building with -Dv4l-utils=false
|
||||
|
||||
ir_bpf_enabled was referenced without being defined.
|
||||
Tested-by: Peter Seiderer <ps.report@gmx.net>
|
||||
|
||||
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
||||
---
|
||||
meson.build | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -360,6 +360,8 @@ subdir('lib')
|
||||
if get_option('v4l-utils')
|
||||
subdir('utils')
|
||||
subdir('contrib')
|
||||
+else
|
||||
+ ir_bpf_enabled = false
|
||||
endif
|
||||
|
||||
subdir('doc')
|
Loading…
Reference in New Issue