From c308ca86a48cf358894abfb434b8d56d51462015 Mon Sep 17 00:00:00 2001 From: cr6git Date: Fri, 23 Mar 2018 12:40:40 +0100 Subject: [PATCH] phototonic: update to 2.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: #12842 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller --- srcpkgs/phototonic/template | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/srcpkgs/phototonic/template b/srcpkgs/phototonic/template index d735fdf2ee7..fcad5dc2b57 100644 --- a/srcpkgs/phototonic/template +++ b/srcpkgs/phototonic/template @@ -1,16 +1,18 @@ # Template file for 'phototonic' pkgname=phototonic -version=1.7.22 -revision=2 -_gitrev=24d7b78650091552d561c4d6c5ec5e5e6ce8bfcc -wrksrc="${pkgname}-${_gitrev}" +version=2.1 +revision=1 build_style=qmake maintainer="Juan RP " -homepage="http://oferkv.github.io/phototonic/" +homepage="https://github.com/oferkv/phototonic" license="GPL-3" short_desc="Lightweight image viewer and organizer for Qt5" -hostmakedepends="pkg-config qt5-qmake qt5-host-tools qt5-svg-devel" +hostmakedepends="pkg-config" makedepends="qt5-svg-devel exiv2-devel" -depends="qt5-imageformats" -distfiles="https://github.com/oferkv/phototonic/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz" -checksum=5b06b2dd95c4e96641b28b51df75c328ce6424d5efa83033792b272c055eb26a +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