From bfbcf827b129566514ec54698d706bcc4b18b0d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 16 Feb 2020 17:21:27 +0100 Subject: [PATCH] eog: cross build --- srcpkgs/eog/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/eog/template b/srcpkgs/eog/template index 29e40ab86e..bd8ee9e6b8 100644 --- a/srcpkgs/eog/template +++ b/srcpkgs/eog/template @@ -17,11 +17,14 @@ distfiles="${GNOME_SITE}/eog/${version%.*}/eog-${version}.tar.xz" checksum=fdb0739f8420af2ffb8e91c766a154afefdf20f721ad34b56cab27fd1569f42c shlib_provides="libeog.so" lib32disabled=yes -nocross="Can not use target eog as a generator because it is cross-built" build_options="gir" build_options_default="gir" +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" libglib-devel" +fi + eog-devel_package() { depends="${sourcepkg}-${version}_${revision} gtk+3-devel" short_desc+=" - development files"