diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2023-03-10 09:30:28 +0530 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2023-03-11 09:50:23 +0000 |
commit | 6ba0fa2dcb1ca3b3b8efc8e4fad355fd63e51016 (patch) | |
tree | 50bcdd85f729af6332d680bcaa89b3a2bff8cddd /recipes/gstreamer-ios-templates.recipe | |
parent | b75cf2d970bb100af50c99491430cc6534892fa4 (diff) |
Fix packaging of rust plugins on Android
Also fix codepaths for iOS, but iOS is untested.
* Cargo is only building static archives, but we don't care about that
for now so just encode that into the recipe.
* Add Rust plugins to plugins.mk
* Dynamically add files_plugins_*_devel instead of files_plugins_*
when building for Android or iOS
Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/419
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1138>
Diffstat (limited to 'recipes/gstreamer-ios-templates.recipe')
-rw-r--r-- | recipes/gstreamer-ios-templates.recipe | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes/gstreamer-ios-templates.recipe b/recipes/gstreamer-ios-templates.recipe index ec3d3cdd..571dd341 100644 --- a/recipes/gstreamer-ios-templates.recipe +++ b/recipes/gstreamer-ios-templates.recipe @@ -23,8 +23,12 @@ class Recipe(recipe.Recipe): ] files_devel = [ - 'share/xcode/templates/ios/', - ] + 'share/xcode/templates/ios/', + ] + + def prepare(self): + if self.config.variants.rust: + self.deps.append('gst-plugins-rs') async def install(self): share_dir = os.path.join(self.config.prefix, 'share', 'xcode', |