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