# Maintainer: Lukas Spies # Contributor: archtux pkgname=photoqt pkgver=1.7.1 pkgrel=4 pkgdesc="Fast and highly configurable image viewer with a simple and nice interface." arch=('x86_64') url="http://photoqt.org/" license=('GPL2') depends=('exiv2' 'graphicsmagick' 'qt5-imageformats' 'qt5-multimedia' 'qt5-svg' 'qt5-quickcontrols' 'libraw' 'qt5-graphicaleffects' 'hicolor-icon-theme' 'poppler-qt5' 'libarchive' 'kimageformats') # 'freeimage' 'devil-ilut' optdepends=('libqpsd-git: PSB/PSD support' 'xcftools: XCF support') makedepends=('cmake' 'qt5-tools' 'extra-cmake-modules') source=(http://photoqt.org/pkgs/$pkgname-$pkgver.tar.gz) md5sums=('656fee6f9923499992f069496a0aaa5d') prepare() { cd $srcdir/$pkgname-$pkgver # To build PhotoQt with less features, add -Dxxxx=OFF to # the next line (where xxxx is the respective CMake option). cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFREEIMAGE=OFF -DDEVIL=OFF } build() { cd $srcdir/$pkgname-$pkgver make -j3 } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install }