# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python from cerbero.tools.libtool import LibtoolLibrary class Recipe(recipe.Recipe): name = 'fribidi' version = '1.0.12' stype = SourceType.TARBALL btype = BuildType.MESON url = 'https://github.com/fribidi/fribidi/releases/download/v%(version)s/fribidi-%(version)s.tar.xz' tarball_checksum = '0cd233f97fc8c67bb3ac27ce8440def5d3ffacf516765b91c2cc654498293495' licenses = [License.LGPLv2_1Plus] # gen.tab/gen-unicode-version needs to be built and run during compilation meson_needs_build_machine_compiler = True deps = ['glib'] patches = [] files_libs = ['libfribidi'] files_bins = ['fribidi'] files_devel = ['%(libdir)s/pkgconfig/fribidi.pc', 'include/fribidi'] def post_install (self): lib = LibtoolLibrary('fribidi', None, None, None, self.config.libdir, self.config.target_platform, deps=['glib-2.0']) lib.save() super().post_install()