mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-31 13:20:03 +00:00
vlc: make opencv explicitly configurable
World builds are failing due to change in opencv in API. Since vlc is only using opencv as an example and a filter, disable by default. Revisit when upstream adapts to new opencv API. Signed-off-by: Tim Orling <TicoTimo@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -10,7 +10,7 @@ DEPENDS = "libfribidi libtool libgcrypt libgcrypt-native gst-plugins-bad \
|
|||||||
tremor faad2 ffmpeg flac libxpm libxinerama fluidsynth alsa-lib \
|
tremor faad2 ffmpeg flac libxpm libxinerama fluidsynth alsa-lib \
|
||||||
libdvdcss libdvdread lua-native lua libidn libnotify gtk+ gnome-vfs \
|
libdvdcss libdvdread lua-native lua libidn libnotify gtk+ gnome-vfs \
|
||||||
libdc1394 libraw1394 avahi libjpeg-turbo xz libmodplug mpeg2dec \
|
libdc1394 libraw1394 avahi libjpeg-turbo xz libmodplug mpeg2dec \
|
||||||
libmtp opencv libopus orc libusb1 schroedinger taglib \
|
libmtp libopus orc libusb1 schroedinger taglib \
|
||||||
tiff xcb-util-keysyms samba"
|
tiff xcb-util-keysyms samba"
|
||||||
|
|
||||||
SRC_URI = "http://download.videolan.org/pub/videolan/${BPN}/${PV}/${BP}.tar.xz"
|
SRC_URI = "http://download.videolan.org/pub/videolan/${BPN}/${PV}/${BP}.tar.xz"
|
||||||
@@ -50,6 +50,7 @@ PACKAGECONFIG[live555] = "--enable-live555,--disable-live555,live555"
|
|||||||
PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
|
PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
|
||||||
PACKAGECONFIG[mkv] = "--enable-mkv,--disable-mkv,libmatroska libebml"
|
PACKAGECONFIG[mkv] = "--enable-mkv,--disable-mkv,libmatroska libebml"
|
||||||
PACKAGECONFIG[postproc] = "--enable-postproc,--disable-postproc,libpostproc"
|
PACKAGECONFIG[postproc] = "--enable-postproc,--disable-postproc,libpostproc"
|
||||||
|
PACKAGECONFIG[opencv] = "--enable-opencv,--disable-opencv,opencv"
|
||||||
|
|
||||||
do_configure_prepend() {
|
do_configure_prepend() {
|
||||||
cp ${STAGING_DATADIR}/libtool/config.* ${S}/autotools/ || true
|
cp ${STAGING_DATADIR}/libtool/config.* ${S}/autotools/ || true
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
Recent opencv API changes break upstream filter and example.
|
||||||
|
Make opencv explicitly configurable.
|
||||||
|
|
||||||
|
Upstream-Status: Inappropriate [configuration]
|
||||||
|
|
||||||
|
Signed-off-by: Tim Orling <TicoTimo@gmail.com>
|
||||||
|
|
||||||
|
Index: vlc-2.1.4/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- vlc-2.1.4.orig/configure.ac
|
||||||
|
+++ vlc-2.1.4/configure.ac
|
||||||
|
@@ -1693,7 +1693,16 @@ PKG_ENABLE_MODULES_VLC([BLURAY], [libblu
|
||||||
|
dnl
|
||||||
|
dnl OpenCV wrapper and example filters
|
||||||
|
dnl
|
||||||
|
-PKG_ENABLE_MODULES_VLC([OPENCV], [opencv_example opencv_wrapper], [opencv > 2.0], (OpenCV (computer vision) filter), [auto])
|
||||||
|
+AC_ARG_ENABLE(opencv,
|
||||||
|
+ [AS_HELP_STRING([--disable-opencv],
|
||||||
|
+ [disable OpenCV computer vision filter and example (default auto)])])
|
||||||
|
+if test "${enable_opencv}" != "no"
|
||||||
|
+then
|
||||||
|
+ PKG_ENABLE_MODULES_VLC([OPENCV],
|
||||||
|
+ [opencv_example opencv_wrapper],
|
||||||
|
+ [opencv > 2.0],
|
||||||
|
+ (OpenCV (computer vision) filter), [auto])
|
||||||
|
+fi
|
||||||
|
|
||||||
|
|
||||||
|
dnl
|
||||||
@@ -8,6 +8,7 @@ SRC_URI += "file://0001-enable-subdir-objects.patch \
|
|||||||
file://0003-use-am-path-libgcrypt.patch \
|
file://0003-use-am-path-libgcrypt.patch \
|
||||||
file://0004-modules-gui-qt4-out-of-tree-build.patch \
|
file://0004-modules-gui-qt4-out-of-tree-build.patch \
|
||||||
file://0005-libpostproc-header-check.patch \
|
file://0005-libpostproc-header-check.patch \
|
||||||
|
file://0006-make-opencv-configurable.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "7ed67d22f7425011078772bfc62ac222"
|
SRC_URI[md5sum] = "7ed67d22f7425011078772bfc62ac222"
|
||||||
|
|||||||
Reference in New Issue
Block a user