# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python from cerbero.tools.libtool import LibtoolLibrary class Recipe(recipe.Recipe): name = 'libogg' version = '1.3.5' stype = SourceType.TARBALL url = 'xiph://ogg/%(name)s-%(version)s.tar.xz' tarball_checksum = 'c4d91be36fc8e54deae7575241e03f4211eb102afb3fc0775fbbc1b740016705' licenses = [{License.BSD_like: ['COPYING']}] btype = BuildType.MESON patches = [ 'libogg/0001-Add-Meson-build-system.patch', 'libogg/0002-meson-fix-exports-and-library-name-with-MingW.patch', ] files_libs = ['libogg'] files_devel = ['include/ogg', '%(libdir)s/pkgconfig/ogg.pc'] def post_install(self): # Meson does not generate la files LibtoolLibrary('libogg', None, None, None, self.config.libdir, self.config.target_platform).save() super().post_install()