mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
libv4l: fix compilation without utils
Upstream backport. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=v4l-utils
|
PKG_NAME:=v4l-utils
|
||||||
PKG_VERSION:=1.26.1
|
PKG_VERSION:=1.26.1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=https://www.linuxtv.org/downloads/v4l-utils
|
PKG_SOURCE_URL:=https://www.linuxtv.org/downloads/v4l-utils
|
||||||
|
|||||||
24
libs/libv4l/patches/100-meson-utils.patch
Normal file
24
libs/libv4l/patches/100-meson-utils.patch
Normal file
@@ -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')
|
||||||
Reference in New Issue
Block a user