Advertisement
Guest User

photoqt PKGBUILD

a guest
May 22nd, 2019
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.30 KB | None | 0 0
  1. # Maintainer: Lukas Spies <lukas (at) photoqt _dot_ org>
  2. # Contributor: archtux <antonio dot arias99999 at gmail dot com>
  3.  
  4. pkgname=photoqt
  5. pkgver=1.7.1
  6. pkgrel=7
  7. pkgdesc="Fast and highly configurable image viewer with a simple and nice interface."
  8. arch=('x86_64')
  9. url="http://photoqt.org/"
  10. license=('GPL2')
  11. depends=('exiv2' 'graphicsmagick' 'qt5-imageformats' 'qt5-multimedia' 'qt5-svg' 'qt5-quickcontrols' 'libraw' 'qt5-graphicaleffects' 'hicolor-icon-theme' 'poppler-qt5' 'libarchive' 'kimageformats')
  12. # 'freeimage' 'devil-ilut'
  13. optdepends=('libqpsd-git: PSB/PSD support'
  14.             'xcftools: XCF support')
  15. makedepends=('cmake' 'qt5-tools' 'extra-cmake-modules')
  16. source=(http://photoqt.org/pkgs/$pkgname-$pkgver.tar.gz
  17.         https://gitlab.com/luspi/photoqt/commit/c6fd41478e818f3a651d40f96cab3d790e1c09a4.diff)
  18. md5sums=('656fee6f9923499992f069496a0aaa5d' 'SKIP')
  19.  
  20. prepare() {
  21.   cd $srcdir/$pkgname-$pkgver
  22.  
  23.   patch -p1 < ../c6fd41478e818f3a651d40f96cab3d790e1c09a4.diff
  24.  
  25.   # To build PhotoQt with less features, add -Dxxxx=OFF to
  26.   # the next line (where xxxx is the respective CMake option).
  27.   cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFREEIMAGE=OFF -DDEVIL=OFF
  28. }
  29.  
  30. build() {
  31.   cd $srcdir/$pkgname-$pkgver
  32.   make -j3
  33. }
  34.  
  35. package() {
  36.   cd $srcdir/$pkgname-$pkgver
  37.   make DESTDIR=$pkgdir install
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement