# -*- 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.1.0' stype = SourceType.TARBALL url = 'https://download.videolan.org/pub/videolan/%(name)s/%(version)s/%(name)s-%(version)s.tar.xz' tarball_checksum = 'fb57aae7875f28c30fb3dbae4a3683d27e2f91dde09ce5c60c22cef9bc58dfd1' 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', 'lib/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()