kumquat-buildroot/package/libv4l
Thomas Petazzoni 3e69b4e9a6 libv4l: ensure libv4l gets built, fixes mediastreamer build
In commit f837251785 ("package/libv4l:
allow build of v4l2 utilities on noMMU platforms"), Hugues Fruchet
added a bunch of patches to libv4l in order to allow the v4l utilities
to be built on noMMU platforms.

However, as part of those patches, he entirely disabled the build of
libv4l in static linking configurations, because libv4l uses
dlopen(). Unfortunately, this breaks the build of applications like
mediastreamer in static linking configurations, and generally makes
our libv4l packages a little bit awkward: you can enable it, but it
doesn't install anything (in static linking configurations).

A closer look shows that dlopen() is only used by libv4l for plugin
support, and libv4l only provides one single plugin, and its build is
already conditional. Therefore, this commit adds yet another patch to
libv4l, which re-enables the build of libv4l, but disables the
plugin-related logic when plugin support is disabled (and it was
already automatically disabled in static linking configurations).

While at it, we update the comment in libv4l.mk that lists the patches
that makes autoreconf necessary.

Fixes the build of mediastreamer:

  http://autobuild.buildroot.net/results/af091cfd0508df9395778cdc796f77e95c168410/

Cc: Hugues Fruchet <hugues.fruchet@st.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-08-24 23:26:29 +02:00
..
0001-fixup-lfs-mismatch-in-preload-libraries.patch
0002-ir-ctl-fixes-for-musl-compile.patch
0004-configure.ac-clarify-configure-summary.patch
0005-configure.ac-revisit-v4l2-ctl-compliance-using-libv4.patch
0006-configure.ac-revisit-disable-libv4l-to-disable-dyn-l.patch
0007-configure.ac-add-disable-libv4l-option.patch
0008-configure.ac-fix-build-of-v4l-utils-on-uclinux.patch
0009-configure.ac-add-USE_LIBV4L-to-summary.patch
0010-Build-libv4lconvert-helper-support-only-when-fork-is.patch package/libv4l: no libv4lconvert helper support if no fork() 2017-07-29 00:49:53 +02:00
0011-configure.ac-drop-disable-libv4l-disable-plugin-supp.patch libv4l: ensure libv4l gets built, fixes mediastreamer build 2017-08-24 23:26:29 +02:00
Config.in package/lib*: fix wrapping of Config.in help text 2017-07-31 19:10:08 +02:00
libv4l.hash
libv4l.mk libv4l: ensure libv4l gets built, fixes mediastreamer build 2017-08-24 23:26:29 +02:00