# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python from cerbero.tools.libtool import LibtoolLibrary import shutil class Recipe(recipe.Recipe): name = 'dav1d' version = '1.4.1' stype = SourceType.TARBALL url = 'https://download.videolan.org/pub/videolan/%(name)s/%(version)s/%(name)s-%(version)s.tar.xz' tarball_checksum = '8d407dd5fe7986413c937b14e67f36aebd06e1fa5cfec679d10e548476f2d5f8' licenses = [{License.BSD_like: ['COPYING']}] btype = BuildType.MESON meson_options = { 'enable_tools': 'false', 'enable_examples': 'false', 'enable_tests': 'false', } files_libs = ['libdav1d'] files_devel = ['include/dav1d', '%(libdir)s/pkgconfig/dav1d.pc'] def post_install(self): libtool_la = LibtoolLibrary('dav1d', None, None, None, self.config.libdir, self.config.target_platform) libtool_la.save() super().post_install()