# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python from cerbero.tools.libtool import LibtoolLibrary class Recipe(recipe.Recipe): name = 'speex' version = '1.2.1' stype = SourceType.TARBALL url = 'xiph://.tar.gz' tarball_checksum = '4b44d4f2b38a370a2d98a78329fefc56a0cf93d1c1be70029217baae6628feea' licenses = [{License.BSD_like: ['COPYING']}] btype = BuildType.MESON meson_options = { 'test-binaries': 'disabled', 'tools': 'disabled', } files_libs = ['libspeex'] files_devel = ['include/speex', '%(libdir)s/pkgconfig/speex.pc'] # https://gitlab.xiph.org/xiph/speex/-/merge_requests/12 patches = ['speex/0001-Add-Meson-build-system.patch'] def post_install(self): # Meson does not generate la files LibtoolLibrary('libspeex', None, None, None, self.config.libdir, self.config.target_platform).save() super().post_install()