From e117022832f3ef6a13b4ff72f066b060daf6e72b Mon Sep 17 00:00:00 2001 From: lemmi Date: Sun, 31 Dec 2017 12:20:23 +0100 Subject: [PATCH] zathura: fix cross --- srcpkgs/zathura/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/zathura/template b/srcpkgs/zathura/template index 3c25b23e386..34c8407188b 100644 --- a/srcpkgs/zathura/template +++ b/srcpkgs/zathura/template @@ -1,7 +1,7 @@ # Template file for 'zathura' pkgname=zathura version=0.3.8 -revision=1 +revision=2 build_style=gnu-makefile # COLOR=0 to avoid "tput not found" spam in the build output make_build_args="COLOR=0" @@ -15,6 +15,10 @@ short_desc="A highly customizable and functional document viewer" distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz" checksum=46bf8558f7ff12efe11bf5d19e6e223aac97126061677199d0c3d53dfcbce537 +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" glib-devel" +fi + pre_build() { sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk