# Template file for 'gscan2pdf'
pkgname=gscan2pdf
version=2.13.4
revision=1
build_style=perl-module
hostmakedepends="perl gettext"
makedepends="ImageMagick djvulibre libmagick-perl perl-Config-General
 perl-Data-UUID perl-Date-Calc perl-Filesys-Df perl-Font-TTF perl-GooCanvas2
 perl-Gtk3-SimpleList perl-HTML-Parser perl-IO-String perl-Image-Sane
 perl-Linux-Distribution perl-List-MoreUtils perl-Locale-gettext
 perl-Log-Log4perl perl-PDF-Builder perl-Pango perl-Proc-ProcessTable perl-Readonly
 perl-Set-IntSpan perl-Try-Tiny unpaper xdg-utils perl-Locale-Codes perl-Gtk3-ImageView"
depends="$makedepends sane"
short_desc="GUI to produce PDFs or DjVus from scanned documents"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-3.0-or-later"
homepage="http://gscan2pdf.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=e07713915241b1c05bf00c5e37aa2b310155474c388457e41a1c503b33f79969
nocross=yes

do_check() {
	# Tests require a Display server
	:
}
