void-packages/srcpkgs/pqiv/template

26 lines
1.0 KiB
Bash

# Template file for 'pqiv'
pkgname=pqiv
version=2.12
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=1538128c88a70bbad2b83fbde327d83e4df9512a2fb560eaf5eaf1d8df99dbe5
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
}