summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-msdk-fix-includedir-path.patch
diff options
context:
space:
mode:
authorJose Quaresma <quaresma.jose@gmail.com>2022-02-07 01:08:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-08 14:20:18 +0000
commit1197b1c5ed4077b8cc2fc8b24c8c9d2328e7e179 (patch)
treef427b445ac2089f8e4c744ac058892cdbfdd3d19 /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-msdk-fix-includedir-path.patch
parent7f4bd6e984fa8fec44490a88b104ca1c7334d1ae (diff)
downloadpoky-1197b1c5ed4077b8cc2fc8b24c8c9d2328e7e179.tar.gz
gstreamer1.0-plugins-bad: upgrade 1.18.5 -> 1.20.0
- Remove meson options libmms ofa - Add new meson options gpl: Allow build plugins that have GPL-licensed dependencies faad: Free AAC audio decoder plugin (GPL - only built if gpl option is also enabled!) resindvd: Resin DVD playback plugin (GPL - only built if gpl option is also enabled!) x265: HEVC/H.265 video encoder plugin (GPL - only built if gpl option is also enabled!) - Add new meson options Feature options for plugins without external deps codecalpha aes: AES encryption/decryption plugin Feature options for plugins that need external deps asio: Steinberg Audio Streaming Input Output (ASIO) plugin gs: Google Cloud Storage source and sink plugin ldac: LDAC bluetooth audio codec plugin openaptx: Open Source implementation of Audio Processing Technology codec (aptX) plugin qroverlay: new elements that allow overlaying data on top of video in the form of a QR code onnx: ONNX neural network plugin (From OE-Core rev: 76433d3628cbad311b428a57b25b4e2701ee513b) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-msdk-fix-includedir-path.patch')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-msdk-fix-includedir-path.patch41
1 files changed, 25 insertions, 16 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-msdk-fix-includedir-path.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-msdk-fix-includedir-path.patch
index cb3bb7d361..273b45bd49 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-msdk-fix-includedir-path.patch
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-msdk-fix-includedir-path.patch
@@ -1,4 +1,4 @@
1From 1f00d5026118ebd48e4ccf83d32d67155c4e7f60 Mon Sep 17 00:00:00 2001 1From e31f68c46ff0c29fa3c22755f18d5dde87b23bf2 Mon Sep 17 00:00:00 2001
2From: Naveen Saini <naveen.kumar.saini@intel.com> 2From: Naveen Saini <naveen.kumar.saini@intel.com>
3Date: Wed, 30 Dec 2020 16:37:47 +0800 3Date: Wed, 30 Dec 2020 16:37:47 +0800
4Subject: [PATCH] msdk: fix includedir path 4Subject: [PATCH] msdk: fix includedir path
@@ -8,24 +8,33 @@ In cross compilation, need to prepend PKG_CONFIG_SYSROOT_DIR to the dir path.
8Upstream-Status: Inappropriate [OE-specific] 8Upstream-Status: Inappropriate [OE-specific]
9 9
10Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> 10Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
11Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
12
11--- 13---
12 sys/msdk/meson.build | 2 ++ 14 sys/msdk/meson.build | 4 ++++
13 1 file changed, 2 insertions(+) 15 1 file changed, 4 insertions(+)
14 16
15diff --git a/sys/msdk/meson.build b/sys/msdk/meson.build 17diff --git a/sys/msdk/meson.build b/sys/msdk/meson.build
16index 6346c9451..068f38548 100644 18index 24aabc7..6003bb7 100644
17--- a/sys/msdk/meson.build 19--- a/sys/msdk/meson.build
18+++ b/sys/msdk/meson.build 20+++ b/sys/msdk/meson.build
19@@ -40,7 +40,9 @@ endif 21@@ -46,7 +46,9 @@ if mfx_api != 'oneVPL'
22 mfx_dep = dependency('libmfx', version: ['>= 1.0', '<= 1.99'], required: false)
20 23
21 mfx_dep = dependency('libmfx', required: false) 24 if mfx_dep.found()
22 if mfx_dep.found() 25+ pkgconf_sysroot = run_command(python3, '-c', 'import os; print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip()
23+ pkgconf_sysroot = run_command(python3, '-c', 'import os; print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip() 26 mfx_incdir = mfx_dep.get_variable('includedir')
24 mfx_incdir = mfx_dep.get_pkgconfig_variable('includedir') 27+ mfx_incdir = pkgconf_sysroot + mfx_incdir
25+ mfx_incdir = pkgconf_sysroot + mfx_incdir 28 mfx_inc = []
26 mfx_inc = [] 29 use_msdk = true
27 else 30 else
28 # Old versions of MediaSDK don't provide a pkg-config file 31@@ -75,7 +77,9 @@ if not use_msdk and mfx_api != 'MSDK'
29-- 32 mfx_dep = dependency('vpl', version: '>= 2.2', required: false)
302.17.1 33
31 34 if mfx_dep.found()
35+ pkgconf_sysroot = run_command(python3, '-c', 'import os; print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip()
36 mfx_incdir = mfx_dep.get_variable('includedir')
37+ mfx_incdir = pkgconf_sysroot + mfx_incdir
38 mfx_inc = []
39 use_onevpl = true
40 endif