libavif: fix -devel dependencies

This commit is contained in:
Andrew J. Hesford 2024-10-03 09:04:34 -04:00
parent d1e2c81671
commit a4fcf6bd76
1 changed files with 6 additions and 6 deletions

View File

@ -1,17 +1,17 @@
# Template file for 'libavif'
pkgname=libavif
version=1.1.1
revision=2
revision=3
build_style=cmake
configure_args="-DAVIF_BUILD_APPS=ON -DAVIF_BUILD_GDK_PIXBUF=ON
-DAVIF_LIBYUV=OFF -DAVIF_CODEC_AOM=SYSTEM
$(vopt_if dav1d -DAVIF_CODEC_DAV1D=SYSTEM) $(vopt_if rav1e -DAVIF_CODEC_RAV1E=SYSTEM)
$(vopt_if svt -DAVIF_CODEC_SVT=SYSTEM)"
hostmakedepends="gdk-pixbuf-devel pkg-config"
makedepends="gdk-pixbuf-devel libaom-devel libsharpyuv-devel
libjpeg-turbo-devel libpng-devel zlib-devel
$(vopt_if dav1d "libdav1d-devel") $(vopt_if rav1e "rav1e-devel")
$(vopt_if svt "libsvt-av1-devel")"
_devdepends="libaom-devel $(vopt_if dav1d "libdav1d-devel")
$(vopt_if rav1e "rav1e-devel") $(vopt_if svt "libsvt-av1-devel")"
makedepends="gdk-pixbuf-devel libsharpyuv-devel libjpeg-turbo-devel
libpng-devel zlib-devel ${_devdepends}"
short_desc="Library for encoding and decoding .avif files"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-2-Clause"
@ -37,7 +37,7 @@ post_install() {
libavif-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} libaom-devel"
depends="${sourcepkg}>=${version}_${revision} ${_devdepends}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"