diff options
author | Seungha Yang <seungha@centricular.com> | 2023-12-14 01:26:17 +0900 |
---|---|---|
committer | Seungha Yang <seungha@centricular.com> | 2023-12-14 01:28:27 +0900 |
commit | 006c6a4ed3d1638767e61391bbbcf0f6acd513bd (patch) | |
tree | 04b65a12f3926eefde09237de24ec1737be16c3f /recipes | |
parent | 789c340786b65ef50dcd9dfcc57aa3fab158ff0e (diff) |
gst-plugins-bad: Add DirectX-Headers dependency1.22.8
Windows 11 SDK (10.0.22000.0) is not sufficient to build d3d12 plugin
with new feature set, such as video encoding. Also d3d12 plugin will
require helper library in DirectX-Headers
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1314>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/directx-headers.recipe | 11 | ||||
-rw-r--r-- | recipes/gst-plugins-bad-1.0.recipe | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/recipes/directx-headers.recipe b/recipes/directx-headers.recipe new file mode 100644 index 00000000..3c525e70 --- /dev/null +++ b/recipes/directx-headers.recipe @@ -0,0 +1,11 @@ +# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python + +class Recipe(recipe.Recipe): + version = '1.611.0' + name = 'directx-headers' + licenses = [{License.MIT: ['LICENSE']}] + stype = SourceType.TARBALL + btype = BuildType.MESON + url = 'https://github.com/microsoft/DirectX-Headers/archive/refs/tags/v%(version)s.tar.gz' + tarball_checksum = 'edb8b52b1379f841df5d0d5e11dde08e0c3912508179fb3711f163382e88865c' + diff --git a/recipes/gst-plugins-bad-1.0.recipe b/recipes/gst-plugins-bad-1.0.recipe index 78c6ae3f..caa4f0f8 100644 --- a/recipes/gst-plugins-bad-1.0.recipe +++ b/recipes/gst-plugins-bad-1.0.recipe @@ -529,6 +529,8 @@ class Recipe(custom.GStreamer): self.meson_options['d3d11-wgc'] = 'enabled' # HLSL cross-compile is not supported self.meson_options['d3d11-hlsl-precompile'] = 'enabled' + # D3D12 needs newer SDK than system installed one with helper library + self.deps.append('directx-headers') self.enable_plugin('d3d12', 'sys') else: # mingw does not ship DirectXMath headers |