25 lines
1 KiB
Bash
25 lines
1 KiB
Bash
# Template file for 'pqiv'
|
|
pkgname=pqiv
|
|
version=2.11
|
|
revision=2
|
|
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=ea1f8b6bcb58dee19e2d8168ef4efd01e222c653eabbd3109aad57a870cc8c9b
|
|
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
|
|
}
|