Hi Didier,
2011/11/10 Didier Raboud <[email protected]>:
> Dear vlc maintainers,
>
> the attached patch should fix that. I launched a build of vlc with the
> attached patch and will upload that new NMU to DELAYED/7. Please comment on
> both the patch and the proposed delay.
Thank you for fixing this. However now that libv4l-dev is available
on GNU/kFreeBSD, it's probably better to include the other plugin as
well. E.g. see attached patch.
Note: patch is UNTESTED. I can test it but not right now. Maybe in
~12 hours if noone beats me to it.
--
Robert Millan
=== modified file 'debian/control'
--- debian/control 2011-11-15 05:36:28 +0000
+++ debian/control 2011-11-15 05:37:07 +0000
@@ -76,7 +76,7 @@ Build-Depends: autopoint,
libtwolame-dev (>= 0.3.8),
libudev-dev [linux-any],
libupnp3-dev,
- libv4l-dev [linux-any],
+ libv4l-dev [linux-any kfreebsd-any],
libva-dev [linux-any],
libvcdinfo-dev (>= 0.7.22),
libvorbis-dev,
=== modified file 'debian/rules'
--- debian/rules 2011-11-15 05:36:28 +0000
+++ debian/rules 2011-11-15 05:38:09 +0000
@@ -126,6 +126,7 @@ endif
ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
confflags += \
--disable-alsa \
+ --enable-v4l2 \
$(NULL)
endif
@@ -181,9 +182,9 @@ override_dh_install:
fi ; \
done
# Remove some modules on non-linux arch
- sed -e '/\(lib\|libaccess_\)\(alsa\|atmo\|dc1394\|dv\|dvb\|fb\|v4l\|v4l2\|pvr\|udev\)_/d' \
+ sed -e '/\(lib\|libaccess_\)\(alsa\|atmo\|dc1394\|dv\|dvb\|fb\|pvr\|udev\)_/d' \
debian/vlc-nox.install > debian/vlc-nox.install.kfreebsd
- sed -e '/\(lib\|libaccess_\)\(probe_hal\)_/d' \
+ sed -e '/\(lib\|libaccess_\)\(probe_hal\|v4l\|v4l2\)_/d' \
debian/vlc-nox.install.kfreebsd > debian/vlc-nox.install.hurd
cp tmp/libvlc.a debian/tmp/usr/lib
cp tmp/libvlccore.a debian/tmp/usr/lib