gnome-themes-extra: needs which in hostmakedepends

For cross builds (at least for mips-*) also needs gtk-update-icon-cache.
This commit is contained in:
Jürgen Buchmüller 2020-01-28 10:58:12 +01:00
parent d4fe90d820
commit 63e1a36e99

View file

@ -3,7 +3,7 @@ pkgname=gnome-themes-extra
version=3.28
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config intltool librsvg-utils glib-devel"
hostmakedepends="pkg-config intltool librsvg-utils glib-devel which"
makedepends="gtk+-devel gtk+3-devel librsvg-devel"
depends="cantarell-fonts adwaita-icon-theme>=${version}"
short_desc="Extra GNOME themes"
@ -14,6 +14,10 @@ distfiles="${GNOME_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
checksum=7c4ba0bff001f06d8983cfc105adaac42df1d1267a2591798a780bac557a5819
lib32disabled=yes
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" gtk-update-icon-cache"
fi
gnome-themes-standard_package() {
archs=noarch
build_style=meta