void-packages/srcpkgs/pqiv/template

26 lines
1.0 KiB
Bash

# Template file for 'pqiv'
pkgname=pqiv
version=2.13
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="glib-devel gtk+3-devel $(vopt_if ffmpeg ffmpeg-devel)
$(vopt_if archive libarchive-devel) $(vopt_if ps libspectre-devel)
$(vopt_if webp libwebp-devel) $(vopt_if pdf poppler-glib-devel)"
short_desc="Powerful quick image viewer"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/phillipberndt/pqiv/"
distfiles="https://github.com/phillipberndt/${pkgname}/archive/${version}.tar.gz"
checksum=5dfe9272460edcc50e512dd3fec5eae6e2344dccd35ef6ee95fb747458dd5e9d
build_options="ffmpeg archive webp ps pdf"
build_options_default="ffmpeg archive webp"
desc_option_archive="Enable support for viewing archives/comic books"
desc_option_webp="Enable support for WebP format"
do_configure() {
echo "BACKENDS=gdkpixbuf $(vopt_if ffmpeg libav) \
$(vopt_if archive 'archive_cbx archive') $(vopt_if ps spectre) \
$(vopt_if webp webp) $(vopt_if pdf poppler)" >config.make
}