Browse Source

libv4l: Force build without libudev

Signed-off-by: Ted Hess <thess@kitschensync.net>
lilik-openwrt-22.03
Ted Hess 6 years ago
parent
commit
456b789bce
2 changed files with 23 additions and 1 deletions
  1. +1
    -1
      libs/libv4l/Makefile
  2. +22
    -0
      libs/libv4l/patches/010-remove-libudev-check.patch

+ 1
- 1
libs/libv4l/Makefile View File

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=v4l-utils
PKG_VERSION:=1.14.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://www.linuxtv.org/downloads/v4l-utils


+ 22
- 0
libs/libv4l/patches/010-remove-libudev-check.patch View File

@ -0,0 +1,22 @@
--- a/configure.ac
+++ b/configure.ac
@@ -258,16 +258,9 @@ else
AC_MSG_WARN(ALSA library not available)
fi
-PKG_CHECK_MODULES(libudev, libudev, have_libudev=yes, have_libudev=no)
-if test "x$have_libudev" = "xyes"; then
- AC_DEFINE([HAVE_LIBUDEV], [], [Use libudev])
- LIBUDEV_CFLAGS="$libudev_CFLAGS"
- LIBUDEV_LIBS="$libudev_LIBS"
- AC_SUBST(LIBUDEV_CFLAGS)
- AC_SUBST(LIBUDEV_LIBS)
-else
- AC_MSG_WARN(udev library not available)
-fi
+
+# Force building without udev
+have_libudev=no
AC_SUBST([JPEG_LIBS])

Loading…
Cancel
Save