# Template file for 'deepin-screenshot'
pkgname=deepin-screenshot
version=4.1.0
revision=1
build_style=qmake
hostmakedepends="qt5-qmake qt5-host-tools pkg-config"
makedepends="qt5-svg-devel xcb-util-devel dtkwidget-devel dtkwm-devel
 qt5-x11extras-devel libXtst-devel"
depends="qt5integration deepin-turbo"
short_desc="Deepin Screenshot App"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/linuxdeepin/deepin-screenshot"
changelog="https://github.com/linuxdeepin/deepin-screenshot/blob/${version}/CHANGELOG.md"
distfiles="https://github.com/linuxdeepin/deepin-screenshot/archive/${version}.tar.gz"
checksum=94c0fd320f08f6c40600d80c702bc43bcaad9ee780946bca4c0551e523ed56a5

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