diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-07-07 20:23:04 +0530 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2022-07-18 06:28:15 +0000 |
commit | 171b920631f52931382d7d41872ed9fb85174661 (patch) | |
tree | d5d1522b6529411d982a6c38fa45d81d19f3d1ab /packages | |
parent | b54eeb2a041ec3d32f306ce06d82ce097b4da7ed (diff) |
pkg-config.recipe: Add to core platform files list
This was broken by
https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/743
which converted pkg-config to a runtime dep, but made it so that it's
no longer shipped with the MSI.
We technically don't need it to be a runtime dep because we build it
as a build-tool, but it won't make it into the cerbero CI deps cache
unless it's a runtime dep.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/890>
Diffstat (limited to 'packages')
-rw-r--r-- | packages/gstreamer-1.0-core.package | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/gstreamer-1.0-core.package b/packages/gstreamer-1.0-core.package index 90b7a9c6..55b91531 100644 --- a/packages/gstreamer-1.0-core.package +++ b/packages/gstreamer-1.0-core.package @@ -19,11 +19,18 @@ class Package(custom.GStreamer, package.Package): 'gst-plugins-good-1.0:plugins_core_devel', 'gst-plugins-bad-1.0:plugins_core_devel'] platform_files = { Platform.DARWIN: ['gstreamer-1.0-osx-framework', 'pkg-config'], + Platform.WINDOWS: [], Platform.IOS: ['gstreamer-ios-templates'], Platform.ANDROID: ['gst-android-1.0'], Platform.LINUX: ['bash-completion'], } def prepare(self): + # UWP cannot build pkg-config because it uses Autotools, and even if we + # port it to Meson, the UWP toolchain still can't build a usable pkg-config. + # On the other hand, UWP also doesn't need pkg-config because people + # will likely only use it from inside Visual Studio. + if not self.config.variants.uwp: + self.platform_files[Platform.WINDOWS].append('pkg-config') if self.config.variants.unwind: self.files.append('libunwind:libs') |