26 lines
945 B
Bash
26 lines
945 B
Bash
# Template file for 'qimgv'
|
|
pkgname=qimgv
|
|
version=0.9.1
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="$(vopt_if video -DVIDEO_SUPPORT=ON -DVIDEO_SUPPORT=OFF)
|
|
$(vopt_if scale -DOPENCV_SUPPORT=ON -DOPENCV_SUPPORT=OFF)"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="exiv2-devel qt5-devel $(vopt_if video mpv-devel)
|
|
$(vopt_if scale libopencv4-devel)"
|
|
depends="hicolor-icon-theme qt5-imageformats"
|
|
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=728b05b0e26d0188b3d25eb564effab4a77dd0c7453d82e024f1eaa8781e8f4b
|
|
|
|
build_options="scale video"
|
|
build_options_default="video"
|
|
desc_option_scale="Enable high quality scaling options"
|
|
desc_option_video="Enable video support"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake"
|
|
fi
|