diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-02-28 13:53:39 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-02-28 13:54:47 +0530 |
commit | 1031ccab52ed2ff4c3e80928c3d6d45a37da8ad3 (patch) | |
tree | 94c9e32390b18627ab967d1ac7371b2a1e3494f9 /recipes/libsoup.recipe | |
parent | ea9f6e2abe88e22216ed47e758b42b7e3d9f5034 (diff) |
recipes: Install .la files for libpsl and libsoup
Diffstat (limited to 'recipes/libsoup.recipe')
-rw-r--r-- | recipes/libsoup.recipe | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/libsoup.recipe b/recipes/libsoup.recipe index 4fde2394..a738dd60 100644 --- a/recipes/libsoup.recipe +++ b/recipes/libsoup.recipe @@ -1,5 +1,7 @@ # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python +from cerbero.tools.libtool import LibtoolLibrary + class Recipe(recipe.Recipe): name = 'libsoup' version = '2.68.3' @@ -24,3 +26,14 @@ class Recipe(recipe.Recipe): files_libs = ['libsoup-2.4'] files_devel = ['include/libsoup-2.4', 'lib/pkgconfig/libsoup-2.4.pc'] files_typelibs = ['Soup-2.4'] + + def post_install(self): + soup_deps = ['gio-2.0', 'gmodule-2.0', 'gobject-2.0', 'glib-2.0', + 'ffi', 'xml2', 'psl', 'z'] + if self.config.target_platform not in (Platform.IOS, Platform.DARWIN): + soup_deps += ['sqlite3'] + # Meson does not generate la files + LibtoolLibrary('soup-2.4', None, None, None, + self.config.libdir, self.config.target_platform, + deps=soup_deps).save() + super().post_install() |