diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-02-22 23:06:17 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-02-22 23:19:15 +0530 |
commit | 59194a7f3eb19aa0175db822f305d807c84859a9 (patch) | |
tree | 2351b9fb1b8c159e04a19cce60568eb997c64a89 /recipes/libnice.recipe | |
parent | cf2b25c9cd487a9b56cfdab6ca0296982fd0bbd9 (diff) |
libnice.recipe: Fix generated la files
libnice.la was missing, and the list of deps was incorrect too.
There's no gupnp in Cerbero, so we should disable that explicitly
and remove it from the deps list.
Diffstat (limited to 'recipes/libnice.recipe')
-rw-r--r-- | recipes/libnice.recipe | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes/libnice.recipe b/recipes/libnice.recipe index 7d1c8b3d..bfd519ab 100644 --- a/recipes/libnice.recipe +++ b/recipes/libnice.recipe @@ -11,6 +11,7 @@ class Recipe(recipe.Recipe): # Either LGPL-2.1+ or MPL-1.1 licenses = [License.LGPLv2_1Plus, License.MPLv1_1] meson_options = {'tests' : 'disabled', + 'gupnp' : 'disabled', 'gstreamer' : 'enabled', 'crypto-library' : 'gnutls'} deps = ['glib', 'gstreamer-1.0', 'gnutls'] @@ -33,7 +34,11 @@ class Recipe(recipe.Recipe): # FIXME - if_arp.h? (iOS) def post_install (self): + nice_deps = ['gio-2.0', 'gthread-2.0', 'gnutls'] + lib = LibtoolLibrary('nice', None, None, None, self.config.libdir, + self.config.target_platform, deps=nice_deps) + lib.save() lib = LibtoolLibrary('gstnice', None, None, None, os.path.join(self.config.libdir, 'gstreamer-1.0'), - self.config.target_platform, deps=['nice', 'gio-2.0', 'gthread-2.0', 'gnutls', 'gupnp-igd-1.0', 'gstreamer-base-1.0']) + self.config.target_platform, deps=(nice_deps + ['nice', 'gstbase-1.0'])) lib.save() super().post_install() |