diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-10-23 04:16:29 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-11-14 08:12:10 +0000 |
commit | 775d3198c923bde97fcb377c4b8a53efed3e6228 (patch) | |
tree | 94e3e13ddb0d72299fe26ef8191a591ea441392b /recipes/orc.recipe | |
parent | c817cbbe41fa3d8cdec20bb0bc23e1790a5c365f (diff) |
orc.recipe: Port to meson
Do the same for the build-tools recipe too. Starting with the next
release, we can start using the tarball. Need master for the latest
meson build file fixes.
Diffstat (limited to 'recipes/orc.recipe')
-rw-r--r-- | recipes/orc.recipe | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/recipes/orc.recipe b/recipes/orc.recipe index 3e84a916..3c6b774d 100644 --- a/recipes/orc.recipe +++ b/recipes/orc.recipe @@ -6,9 +6,11 @@ class Recipe(recipe.Recipe): version = '0.4.28' remotes = {'origin': 'https://gitlab.freedesktop.org/gstreamer/orc'} commit = 'origin/master' + btype = BuildType.MESON licenses = [License.BSD_like] - autoreconf = True - configure_options = '--enable-static' + meson_options = {'benchmarks': 'disabled', 'examples': 'disabled', + 'gtk_doc': 'disabled', 'tests': 'disabled', + 'tools': 'enabled', 'orc-test': 'enabled'} files_libs = ['liborc-0.4'] files_devel = ['include/orc-0.4', 'lib/pkgconfig/orc-0.4.pc', @@ -16,8 +18,8 @@ class Recipe(recipe.Recipe): def prepare(self): # Don't build testing helper library on ios - if self.config.target_platform in [Platform.IOS]: - self.configure_options += ' --disable-tests ' - else: + if self.config.target_platform != Platform.IOS: self.files_libs.append('liborc-test-0.4') self.files_devel.append('bin/orc-bugreport%(bext)s') + else: + self.meson_options['orc-test'] = 'disabled' |