34 lines
948 B
Bash
34 lines
948 B
Bash
# Template file for 'dav1d'
|
|
pkgname=dav1d
|
|
version=1.0.0
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Denable_tests=true -Denable_asm=true -Denable_tools=true
|
|
-Dfuzzing_engine=none -Dtestdata_tests=false"
|
|
hostmakedepends="nasm"
|
|
short_desc="Small and fast AV1 Decoder"
|
|
maintainer="mustaqim <git@mustaqim.ml>"
|
|
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=4a4eb6cecbc8c26916ef58886d478243de8bcc46710b369c04d6891b0155ac0f
|
|
|
|
libdav1d6_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
vlicense COPYING
|
|
}
|
|
}
|
|
|
|
libdav1d-devel_package() {
|
|
depends="libdav1d6-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|