diff options
author | Carlos Rafael Giani <dv@pseudoterminal.org> | 2018-07-24 12:52:21 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-26 13:16:41 +0100 |
commit | 3a6ccf52271e950b54a67862307c29da07ffd7a5 (patch) | |
tree | a41305a3e8b21ebc55b3e751511fd31daf854521 /meta | |
parent | 45a72f701e5089b6f1aab3975a1f298cc01e6735 (diff) | |
download | poky-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')
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 @@ | |||
1 | From 5403a89e6a7ac72a23e0221075c0c19b5f85a021 Mon Sep 17 00:00:00 2001 | ||
2 | From: Fabio Berton <fabio.berton@ossystems.com.br> | ||
3 | Date: Wed, 13 Jun 2018 09:09:25 -0300 | ||
4 | Subject: [PATCH] gst/vaapi/Makefile.am: Add EGL_CFLAGS to libgstvaapi CFLAGS | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | We need this to pass correctly EGL CFLAGS when building with EGL support. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> | ||
12 | --- | ||
13 | gst/vaapi/Makefile.am | 4 ++++ | ||
14 | 1 file changed, 4 insertions(+) | ||
15 | |||
16 | diff --git a/gst/vaapi/Makefile.am b/gst/vaapi/Makefile.am | ||
17 | index 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 | -- | ||
32 | 2.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+" | |||
9 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" | 9 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" |
10 | 10 | ||
11 | SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz \ | 11 | SRC_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 | ||
14 | SRC_URI[md5sum] = "38c5b2390797b7a0a269a5ab6c8cbe8f" | 15 | SRC_URI[md5sum] = "38c5b2390797b7a0a269a5ab6c8cbe8f" |