void-packages/srcpkgs/libaom/template
2018-12-25 12:44:07 -02:00

37 lines
1,006 B
Bash

# Template file for 'libaom'
pkgname=libaom
version=1.0.0.1
revision=1
create_wrksrc=yes
build_style=cmake
configure_args="-DENABLE_DOCS=OFF -DBUILD_SHARED_LIBS=ON -DENABLE_TESTS=OFF"
hostmakedepends="yasm doxygen perl python"
short_desc="AV1 Codec library implementation"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
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%.*}.errata.${version##*.}.tar.gz"
checksum=@0f1e812ca6d3b3809bf3f7a12a85b549c96d20bfa72fa606a682541bbc3eaeab
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
}
}