summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2024-02-08 08:14:41 +0000
committerNirbheek Chauhan <nirbheek@centricular.com>2024-02-08 08:14:41 +0000
commitab209c2a9ea51335549d9459492ab544f999ecb8 (patch)
treead86b554475e45b02f0271d51ce8dcbf7fa64757
parent9ad450944e0a9ef2708cbb69bb86348ea07ef9b7 (diff)
directx-headers: Workaround for fetch-package1.23.1
directx-headers was not being pulled in by fetch-package, because that is populated using the entries in the .package files. However, we don't actually want to package anything from it. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1350>
-rw-r--r--packages/gstreamer-1.0-codecs.package2
-rw-r--r--recipes/directx-headers.recipe1
2 files changed, 3 insertions, 0 deletions
diff --git a/packages/gstreamer-1.0-codecs.package b/packages/gstreamer-1.0-codecs.package
index b01ee4e3..a3aa533d 100644
--- a/packages/gstreamer-1.0-codecs.package
+++ b/packages/gstreamer-1.0-codecs.package
@@ -30,6 +30,8 @@ class Package(custom.GStreamer, package.Package):
def prepare(self):
if not self.config.variants.visualstudio:
self.files += ['taglib:libs']
+ else:
+ self.files_devel.append('directx-headers:files_devel')
if self.config.variants.vaapi:
self.files.append('gstreamer-vaapi-1.0:plugins_codecs')
diff --git a/recipes/directx-headers.recipe b/recipes/directx-headers.recipe
index 3c525e70..aae23f28 100644
--- a/recipes/directx-headers.recipe
+++ b/recipes/directx-headers.recipe
@@ -9,3 +9,4 @@ class Recipe(recipe.Recipe):
url = 'https://github.com/microsoft/DirectX-Headers/archive/refs/tags/v%(version)s.tar.gz'
tarball_checksum = 'edb8b52b1379f841df5d0d5e11dde08e0c3912508179fb3711f163382e88865c'
+ files_devel = []