summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
authorCarlos Rafael Giani <dv@pseudoterminal.org>2018-07-24 12:52:21 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-26 13:16:41 +0100
commit3a6ccf52271e950b54a67862307c29da07ffd7a5 (patch)
treea41305a3e8b21ebc55b3e751511fd31daf854521 /meta/recipes-multimedia
parent45a72f701e5089b6f1aab3975a1f298cc01e6735 (diff)
downloadpoky-3a6ccf52271e950b54a67862307c29da07ffd7a5.tar.gz
gstreamer1.0-vaapi: Add patch for EGL CFLAGS for proper EGL support
(From OE-Core rev: 9a453c2ca6f7521f59f1ee0194b7c429c88fa403) Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch33
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.14.1.bb1
2 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch
new file mode 100644
index 0000000000..d7b8984953
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch
@@ -0,0 +1,33 @@
1From 5403a89e6a7ac72a23e0221075c0c19b5f85a021 Mon Sep 17 00:00:00 2001
2From: Fabio Berton <fabio.berton@ossystems.com.br>
3Date: Wed, 13 Jun 2018 09:09:25 -0300
4Subject: [PATCH] gst/vaapi/Makefile.am: Add EGL_CFLAGS to libgstvaapi CFLAGS
5Organization: O.S. Systems Software LTDA.
6
7We need this to pass correctly EGL CFLAGS when building with EGL support.
8
9Upstream-Status: Pending
10
11Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
12---
13 gst/vaapi/Makefile.am | 4 ++++
14 1 file changed, 4 insertions(+)
15
16diff --git a/gst/vaapi/Makefile.am b/gst/vaapi/Makefile.am
17index b299ac98..d6cab71f 100644
18--- a/gst/vaapi/Makefile.am
19+++ b/gst/vaapi/Makefile.am
20@@ -24,6 +24,10 @@ libgstvaapi_LIBS += $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-glx.la
21 endif
22
23 if USE_EGL
24+libgstvaapi_CFLAGS += \
25+ $(EGL_CFLAGS) \
26+ $(NULL)
27+
28 libgstvaapi_LIBS += $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-egl.la
29 endif
30
31--
322.17.1
33
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.14.1.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.14.1.bb
index e647458fab..63290326a5 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.14.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.14.1.bb
@@ -9,6 +9,7 @@ LICENSE = "LGPLv2.1+"
9LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" 9LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
10 10
11SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz \ 11SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz \
12 file://0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch \
12 " 13 "
13 14
14SRC_URI[md5sum] = "38c5b2390797b7a0a269a5ab6c8cbe8f" 15SRC_URI[md5sum] = "38c5b2390797b7a0a269a5ab6c8cbe8f"