diff options
-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 |