void-packages/srcpkgs/libavif/template
2021-10-22 15:57:39 +02:00

31 lines
915 B
Bash

# Template file for 'libavif'
pkgname=libavif
version=0.9.3
revision=1
build_style=cmake
configure_args="-DAVIF_BUILD_APPS=ON -DAVIF_BUILD_GDK_PIXBUF=ON
-DAVIF_CODEC_DAV1D=ON"
hostmakedepends="gdk-pixbuf-devel pkg-config"
makedepends="gdk-pixbuf-devel libdav1d-devel
libjpeg-turbo-devel libpng-devel zlib-devel"
short_desc="Library for encoding and decoding .avif files"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-2-Clause"
homepage="https://github.com/AOMediaCodec/libavif"
distfiles="https://github.com/AOMediaCodec/libavif/archive/refs/tags/v${version}.tar.gz"
checksum=bcd9a1f57f982a9615eb7e2faf87236dc88eb1d0c886f3471c7440ead605060d
post_install() {
vlicense LICENSE
}
libavif-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
}
}