# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python from cerbero.tools.libtool import LibtoolLibrary class Recipe(recipe.Recipe): name = 'json-glib' version = '1.6.2' licenses = [License.LGPLv2_1Plus] btype = BuildType.MESON stype = SourceType.TARBALL url = 'gnome://' tarball_checksum = 'a33d66c6d038bda46b910c6c6d59c4e15db014e363dc997a0414c2e07d134f24' deps = ['glib'] files_bins = ['json-glib-validate', 'json-glib-format'] files_libs = ['libjson-glib-1.0'] files_devel = ['include/json-glib-1.0', 'lib/pkgconfig/json-glib-1.0.pc'] files_typelibs = ['Json-1.0'] def post_install (self): lib = LibtoolLibrary('json-glib-1.0', None, None, None, self.config.libdir, self.config.target_platform, deps=['gio-2.0', 'gobject-2.0', 'glib-2.0', '-lm', '-pthread']) lib.save() super().post_install()