# Template file for 'libaom' pkgname=libaom version=1.0.0 revision=1 create_wrksrc=yes build_style=cmake configure_args="-DENABLE_DOCS=ON -DBUILD_SHARED_LIBS=ON" hostmakedepends="yasm doxygen perl python" short_desc="AV1 Codec library implementation" maintainer="maxice8 " license="BSD-2-Clause" homepage="https://aomedia.org/" changelog="https://aomedia.googlesource.com/aom/+/master/CHANGELOG" distfiles="https://aomedia.googlesource.com/aom/+archive/v${version}.tar.gz" checksum=@8a85b841d98dcebf0d74f1c61c11308746bcc1509c03a6f82e28fb688fb61124 post_install() { vlicense LICENSE } libaom-devel_package() { depends="libaom-${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" } } libaom-tools_package() { short_desc+=" - utilities for enconding and decoding AV1" pkg_install() { vmove usr/bin/aomdec vmove usr/bin/aomenc } }