void-packages/srcpkgs/dav1d/template

33 lines
885 B
Bash
Raw Normal View History

2018-12-11 17:34:00 +00:00
# Template file for 'dav1d'
pkgname=dav1d
version=0.1.0
2018-12-12 12:34:16 +00:00
revision=2
2018-12-11 17:34:00 +00:00
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() {
2018-12-12 12:34:16 +00:00
depends="libdav1d0-${version}_${revision}"
2018-12-11 17:34:00 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}