void-packages/srcpkgs/dav1d/template

33 lines
888 B
Bash
Raw Normal View History

2018-12-11 18:34:00 +01:00
# Template file for 'dav1d'
pkgname=dav1d
2019-03-13 21:08:20 +01:00
version=0.2.1
2019-03-11 04:32:40 +01:00
revision=1
2018-12-11 18:34:00 +01: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"
2019-03-11 04:32:40 +01:00
distfiles="https://code.videolan.org/videolan/dav1d/-/archive//${version}/dav1d-${version}.tar.bz2"
2019-03-13 21:08:20 +01:00
checksum=887f672f0afad9ff66735997e4d55d03b72a098238e291ecb17ae529adc7dd23
2018-12-11 18:34:00 +01:00
2019-03-11 04:32:40 +01:00
libdav1d1_package() {
2018-12-11 18:34:00 +01:00
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
vlicense COPYING
}
}
libdav1d-devel_package() {
2018-12-12 13:34:16 +01:00
depends="libdav1d0-${version}_${revision}"
2018-12-11 18:34:00 +01:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}