v4l-utils: add libudev-zero dependency 16361/head
authorStijn Tintel <stijn@linux-ipv6.be>
Sat, 14 Aug 2021 18:51:17 +0000 (21:51 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Mon, 23 Aug 2021 14:18:08 +0000 (17:18 +0300)
When libudev-zero is enabled, v4l-utils links against it, and the
package build fails due to a missing dependency:

Package v4l-utils is missing dependencies for the following libraries:
libudev.so.1

As disabling udev doesn't seem to be supported in v4l-utils, simply add
the dependency to fix the build.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
libs/libv4l/Makefile
libs/libv4l/patches/010-remove-libudev-check.patch [deleted file]

index 181fe529c187dbd17d5ff8abf4e5d58f6c73e17c..c8615b4670745d96399fbf6a4d465238e3adcc11 100644 (file)
@@ -64,7 +64,7 @@ define Package/v4l-utils
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE+= utilities
-  DEPENDS:= +libv4l +libstdcpp $(ICONV_DEPENDS) $(INTL_DEPENDS)
+  DEPENDS:= +libudev-zero +libv4l +libstdcpp $(ICONV_DEPENDS) $(INTL_DEPENDS)
   LICENSE:=GPL-2.0-or-later
   LICENSE_FILES:=COPYING
 endef
diff --git a/libs/libv4l/patches/010-remove-libudev-check.patch b/libs/libv4l/patches/010-remove-libudev-check.patch
deleted file mode 100644 (file)
index 56e51fa..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -291,16 +291,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])