# Template file for 'deepin-image-viewer'
pkgname=deepin-image-viewer
version=1.2.23
revision=2
build_style=qmake
hostmakedepends="qt5-qmake pkg-config"
makedepends="qt5-svg-devel qt5-x11extras-devel libraw-devel libexif-devel
 freeimage-devel dtkwidget-devel"
depends="qt5-plugin-sqlite qt5integration"
short_desc="Deepin Image Viewer"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/linuxdeepin/deepin-image-viewer"
changelog="https://github.com/linuxdeepin/deepin-image-viewer/blob/${version}/CHANGELOG.md"
distfiles="https://github.com/linuxdeepin/deepin-image-viewer/archive/${version}.tar.gz"
checksum=6ef757dffa16eeb209182c7911a63c9f08fd0730a7562dd36168bd7514b96c8e

if [ "$CROSS_BUILD" ]; then
	hostmakedepends+=" qt5-svg-devel qt5-x11extras-devel"
fi
