33 lines
885 B
Bash
33 lines
885 B
Bash
# Template file for 'dav1d'
|
|
pkgname=dav1d
|
|
version=0.3.1
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Dbuild_tests=false -Dbuild_asm=true -Dbuild_tools=true
|
|
-Dfuzzing_engine=none -Dtestdata_tests=false"
|
|
hostmakedepends="nasm"
|
|
short_desc="Small and fast AV1 Decoder"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://code.videolan.org/videolan/dav1d"
|
|
distfiles="https://code.videolan.org/videolan/dav1d/-/archive//${version}/dav1d-${version}.tar.bz2"
|
|
checksum=be511d465223cc74aab507fe3a6e4e764501662ebf1a5e233854ed064a7ae204
|
|
|
|
libdav1d1_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
vlicense COPYING
|
|
}
|
|
}
|
|
|
|
libdav1d-devel_package() {
|
|
depends="libdav1d1-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|