void-packages/srcpkgs/phototonic/template

19 lines
615 B
Bash

# Template file for 'phototonic'
pkgname=phototonic
version=2.1
revision=1
build_style=qmake
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/oferkv/phototonic"
license="GPL-3"
short_desc="Lightweight image viewer and organizer for Qt5"
hostmakedepends="pkg-config"
makedepends="qt5-svg-devel exiv2-devel"
depends="desktop-file-utils hicolor-icon-theme qt5-imageformats"
distfiles="https://github.com/oferkv/phototonic/archive/v${version}.tar.gz"
checksum=a8b2dbc81750efabb65a4732b1704641afd4a4f772ef9c90817871ca2a52f5ef
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-svg-devel"
fi