libwebp: fix -devel depends

makedepends are only used for the tools, not for the library
This commit is contained in:
John 2024-08-04 18:59:00 +02:00 committed by John Zimmermann
parent 4fe5681576
commit 1e16060659
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'libwebp' # Template file for 'libwebp'
pkgname=libwebp pkgname=libwebp
version=1.4.0 version=1.4.0
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-libwebpmux --enable-libwebpdemux --enable-libwebpdecoder" configure_args="--enable-libwebpmux --enable-libwebpdemux --enable-libwebpdecoder"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
@ -33,7 +33,7 @@ libwebp-tools_package() {
} }
libwebp-devel_package() { libwebp-devel_package() {
depends="${makedepends/libfreeglut-devel/} libsharpyuv-devel>=${version}_${revision} ${sourcepkg}>=${version}_${revision}" depends="libsharpyuv-devel>=${version}_${revision} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
@ -52,6 +52,7 @@ libsharpyuv_package() {
libsharpyuv-devel_package() { libsharpyuv-devel_package() {
short_desc="Library to expose libwebp's sharpyuv functionality - development files" short_desc="Library to expose libwebp's sharpyuv functionality - development files"
depends="libsharpyuv>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/include/webp/sharpyuv vmove usr/include/webp/sharpyuv
vmove usr/lib/pkgconfig/libsharpyuv.pc vmove usr/lib/pkgconfig/libsharpyuv.pc