From ab209c2a9ea51335549d9459492ab544f999ecb8 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 8 Feb 2024 08:14:41 +0000 Subject: directx-headers: Workaround for fetch-package 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: --- packages/gstreamer-1.0-codecs.package | 2 ++ recipes/directx-headers.recipe | 1 + 2 files changed, 3 insertions(+) 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 = [] -- cgit v1.2.3