From 1f993003166718c7dbf63be98c7e670c43ae634a Mon Sep 17 00:00:00 2001 From: dkwo Date: Wed, 30 Jun 2021 15:09:46 +0200 Subject: [PATCH] zathura: add make-deps and enable Dtests --- srcpkgs/zathura/template | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/srcpkgs/zathura/template b/srcpkgs/zathura/template index f74e51c9d2ee..e589c4b30261 100644 --- a/srcpkgs/zathura/template +++ b/srcpkgs/zathura/template @@ -1,20 +1,26 @@ # Template file for 'zathura' pkgname=zathura version=0.4.7 -revision=2 +revision=3 build_style=meson -configure_args="-Dsynctex=enabled -Dtests=disabled" +configure_args="-Dsynctex=enabled" hostmakedepends="pkg-config intltool python3-Sphinx desktop-file-utils appstream-glib glib-devel librsvg-utils" makedepends="girara-devel sqlite-devel file-devel zlib-devel libseccomp-devel - libglib-devel texlive-devel" + libglib-devel texlive-devel check-devel gettext-devel" short_desc="Highly customizable and functional document viewer" maintainer="lemmi " license="Zlib" -homepage="https://pwmt.org/projects/zathura/" -distfiles="https://pwmt.org/projects/zathura/download/zathura-${version}.tar.xz" +homepage="https://pwmt.org/projects/zathura" +distfiles="${homepage}/download/zathura-${version}.tar.xz" checksum=e012dbfe2b981b826553a9af8420d42a9c5d3387fbe14a5399ce94a2d374a1e7 +if [ "$XBPS_CHECK_PKGS" = full ]; then + configure_args+=" -Dtests=enabled" +else + configure_args+=" -Dtests=disabled" +fi + post_install() { vlicense LICENSE }