void-packages/srcpkgs/qimgv/template
2019-08-27 18:48:11 +02:00

22 lines
723 B
Bash

# Template file for 'qimgv'
pkgname=qimgv
version=0.8.1
revision=1
build_style=cmake
configure_args="$(vopt_if video -DVIDEO_SUPPORT=ON)"
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=cac11a82f2da6e7442a51de3e86640c6a6f85e09e634b914852e68d7205db30d
build_options="video"
build_options_default="video"
desc_option_video="Enable video support"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake"
fi