void-packages/srcpkgs/dav1d/template
2019-12-15 21:48:50 +01:00

33 lines
948 B
Bash

# Template file for 'dav1d'
pkgname=dav1d
version=0.5.2
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="mustaqim <mustaqim@pm.me>"
license="BSD-2-Clause"
homepage="https://code.videolan.org/videolan/dav1d"
changelog="https://code.videolan.org/videolan/dav1d/raw/master/NEWS"
distfiles="https://code.videolan.org/videolan/dav1d/-/archive//${version}/dav1d-${version}.tar.bz2"
checksum=1780199d71e62a82ca1bfca2d71da5c599c7e1edc68c72f6fc3c0c25ce1880b7
libdav1d3_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
vlicense COPYING
}
}
libdav1d-devel_package() {
depends="libdav1d3-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}