# Template file for 'SIR'
pkgname=SIR
version=3.2.2
revision=2
build_style=cmake
hostmakedepends="pkg-config"
makedepends="exiv2-devel qt5-svg-devel qt5-tools-devel"
depends="dcraw qt5-imageformats"
short_desc="Simple Image Resizer using Qt5 and exiv2"
maintainer="Gerardo Di Iorio <arete74@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://marek629.github.io/SIR/"
distfiles="https://github.com/marek629/SIR/archive/v${version}.tar.gz"
checksum=aad7965bc65103427a0e8ced2830361b03d1dbe0ebb814f8e46b08986cafbde8

if [ "$CROSS_BUILD" ]; then
	hostmakedepends+=" qt5-host-tools qt5-qmake"
fi
