32 lines
885 B
Bash
32 lines
885 B
Bash
# Template file for 'dav1d'
|
|
pkgname=dav1d
|
|
version=0.1.0
|
|
revision=2
|
|
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="maxice8 <thinkabit.ukim@gmail.com>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://code.videolan.org/videolan/dav1d"
|
|
distfiles="https://downloads.videolan.org/pub/videolan/dav1d/${version}/dav1d-${version}.tar.xz"
|
|
checksum=4ce7cdb0d3eda131306dd35d6d8df18d91d7e17fcb549863f68b21af5aa48037
|
|
|
|
libdav1d0_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
vlicense COPYING
|
|
}
|
|
}
|
|
|
|
libdav1d-devel_package() {
|
|
depends="libdav1d0-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|