void-packages/srcpkgs/qimgv/template
2020-02-11 08:55:33 +01:00

23 lines
752 B
Bash

# Template file for 'qimgv'
pkgname=qimgv
version=0.8.9
revision=1
build_style=cmake
configure_args="$(vopt_if video -DVIDEO_SUPPORT=ON)"
hostmakedepends="pkg-config"
makedepends="exiv2-devel qt5-devel $(vopt_if video mpv-devel)"
depends="hicolor-icon-theme"
short_desc="Cross-platform image viewer with webm support"
maintainer="travankor <travankor@tuta.io>"
license="GPL-3.0-or-later"
homepage="https://github.com/easymodo/qimgv"
distfiles="https://github.com/easymodo/qimgv/archive/v${version}.tar.gz"
checksum=b7271b9f1324b56416708606d9ed69d695a862a1336276dc504a2333cb923e62
build_options="video"
build_options_default="video"
desc_option_video="Enable video support"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake"
fi