Skip to content

Commit

Permalink
libv4l: Force build without libudev
Browse files Browse the repository at this point in the history
Signed-off-by: Ted Hess <[email protected]>
  • Loading branch information
thess committed Dec 14, 2018
1 parent 6ee42b8 commit 456b789
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libs/libv4l/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 22 additions & 0 deletions libs/libv4l/patches/010-remove-libudev-check.patch
Original file line number Diff line number Diff line change
@@ -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])

0 comments on commit 456b789

Please sign in to comment.