summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-multimedia/recipes-multimedia/vlc/vlc.inc1
-rw-r--r--meta-multimedia/recipes-multimedia/vlc/vlc/0005-libpostproc-header-check.patch17
-rw-r--r--meta-multimedia/recipes-multimedia/vlc/vlc_2.1.4.bb1
3 files changed, 19 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc.inc b/meta-multimedia/recipes-multimedia/vlc/vlc.inc
index c188771739..88605dfaa7 100644
--- a/meta-multimedia/recipes-multimedia/vlc/vlc.inc
+++ b/meta-multimedia/recipes-multimedia/vlc/vlc.inc
@@ -49,6 +49,7 @@ PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack"
49PACKAGECONFIG[live555] = "--enable-live555,--disable-live555,live555" 49PACKAGECONFIG[live555] = "--enable-live555,--disable-live555,live555"
50PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass" 50PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
51PACKAGECONFIG[mkv] = "--enable-mkv,--disable-mkv,libmatroska libebml" 51PACKAGECONFIG[mkv] = "--enable-mkv,--disable-mkv,libmatroska libebml"
52PACKAGECONFIG[postproc] = "--enable-postproc,--disable-postproc,libpostproc"
52 53
53do_configure_prepend() { 54do_configure_prepend() {
54 cp ${STAGING_DATADIR}/libtool/config.* ${S}/autotools/ || true 55 cp ${STAGING_DATADIR}/libtool/config.* ${S}/autotools/ || true
diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc/0005-libpostproc-header-check.patch b/meta-multimedia/recipes-multimedia/vlc/vlc/0005-libpostproc-header-check.patch
new file mode 100644
index 0000000000..2d84ffd2f4
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/vlc/vlc/0005-libpostproc-header-check.patch
@@ -0,0 +1,17 @@
1* Also look for postprocess.h under libpostproc/
2
3Upstream-status: Pending
4
5Index: vlc-2.1.4/configure.ac
6===================================================================
7--- vlc-2.1.4.orig/configure.ac
8+++ vlc-2.1.4/configure.ac
9@@ -2444,7 +2444,7 @@ then
10 VLC_SAVE_FLAGS
11 CPPFLAGS="${CPPFLAGS} ${POSTPROC_CFLAGS}"
12 CFLAGS="${CFLAGS} ${POSTPROC_CFLAGS}"
13- AC_CHECK_HEADERS(postproc/postprocess.h)
14+ AC_CHECK_HEADERS(postproc/postprocess.h,[],[AC_CHECK_HEADERS(libpostproc/postprocess.h)])
15 VLC_ADD_PLUGIN([postproc])
16 VLC_ADD_LIBS([postproc],[$POSTPROC_LIBS $AVUTIL_LIBS])
17 VLC_ADD_CFLAGS([postproc],[$POSTPROC_CFLAGS $AVUTIL_CFLAGS])
diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc_2.1.4.bb b/meta-multimedia/recipes-multimedia/vlc/vlc_2.1.4.bb
index f9be48dba8..b4047d3be4 100644
--- a/meta-multimedia/recipes-multimedia/vlc/vlc_2.1.4.bb
+++ b/meta-multimedia/recipes-multimedia/vlc/vlc_2.1.4.bb
@@ -7,6 +7,7 @@ SRC_URI += "file://0001-enable-subdir-objects.patch \
7 file://0002-glibc-does-not-provide-strlcpy.patch \ 7 file://0002-glibc-does-not-provide-strlcpy.patch \
8 file://0003-use-am-path-libgcrypt.patch \ 8 file://0003-use-am-path-libgcrypt.patch \
9 file://0004-modules-gui-qt4-out-of-tree-build.patch \ 9 file://0004-modules-gui-qt4-out-of-tree-build.patch \
10 file://0005-libpostproc-header-check.patch \
10" 11"
11 12
12SRC_URI[md5sum] = "7ed67d22f7425011078772bfc62ac222" 13SRC_URI[md5sum] = "7ed67d22f7425011078772bfc62ac222"