[arch-commits] Commit in nomacs/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Wed Jul 15 20:12:54 UTC 2020


    Date: Wednesday, July 15, 2020 @ 20:12:54
  Author: dvzrv
Revision: 663993

upgpkg: nomacs 3.15.1616-1: Upgrading to 3.15.1616.

Instead of symlinking the sources of the plugins now have to be copied into place.
Enable AVIF support.
Applying latest cmake packaging guidelines.

Modified:
  nomacs/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-15 20:01:44 UTC (rev 663992)
+++ PKGBUILD	2020-07-15 20:12:54 UTC (rev 663993)
@@ -1,34 +1,39 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
 # Contributor: speps <speps at aur dot archlinux dot org>
 
-_plugins_pkgver=3.14
+_plugins_pkgver=3.15.1616
 pkgname=nomacs
-pkgver=3.14.2
-pkgrel=2
+pkgver=3.15.1616
+pkgrel=1
 pkgdesc="A Qt image viewer"
 arch=('x86_64')
 url="https://nomacs.org/"
 license=('GPL3')
-depends=('exiv2' 'gcc-libs' 'glibc' 'libtiff' 'libraw' 'opencv' 'quazip'
-'qt5-base' 'qt5-svg')
+depends=('exiv2' 'gcc-libs' 'glibc' 'libraw' 'libtiff' 'opencv' 'qt5-base'
+'qt5-svg' 'quazip')
 optdepends=('qt5-imageformats: support additional image formats')
 makedepends=('cmake' 'qt5-tools')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz"
         "${pkgname}-plugins-${_plugins_pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}-plugins/archive/${_plugins_pkgver}.tar.gz")
-sha512sums=('58104c85078bdbff7f65625658bb01b152631470eea93a43494eed55ae5e2441b7bcf3ed6c8f1aef07831bc99c80af94467fcc0e15dc1d282ef313bfcb3c81e9'
-            'c0bca87e50b7b91d80a9d6afd95eeb1d6730b17b9a28ad4109514b36c42781b3f67b25f68f48c0953110d1e02bb03762e813af9c1ec2851c072b4aea74969cbd')
+sha512sums=('f2720d201696aedd4c55507fd30cd8fbe91dfbe75a1510a5d0ee87dd3472773367515e2ce5bc21264c056be9fd8e22b37b4c119622c9109ff53947b68de1d825'
+            '8cf49ade3b71724034f4e18b9a65764a24d77cee9ef8e463813087022f9fe3273f2bf69582bec7821ec4d6d1ea36b6537fde7f7f041a502fce3ff4bb58dcf6e3')
+b2sums=('d70f6f8c87ea9965762bd2c5fc185fc8778b4b6aeaa933231ab23c807c704364cca8e430805d6f25ef58259ae4494f79d15316c972579a6ef24960c778f712c6'
+        '029b99251e85b0bc1b5e12c44474dee4c1c9153b6e4e689d2081d210b895e4e277671c4dad3b3a630c549f22cf5c281b65dc9bb40ddc19a3db82577e2ad72cf6')
 
 prepare() {
   cd "${pkgname}-${pkgver}"
-  # symlinking plugins into place
-  ln -sv "${srcdir}/${pkgname}-plugins-${_plugins_pkgver}" "ImageLounge/plugins"
+  # copy plugin sources into place
+  cp -av "${srcdir}/${pkgname}-plugins-${_plugins_pkgver}/"* "ImageLounge/plugins"
 }
 
 build() {
   cd "${pkgname}-${pkgver}"
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+  cmake -DCMAKE_INSTALL_PREFIX='/usr' \
+        -DCMAKE_BUILD_TYPE='None' \
         -DUSE_SYSTEM_QUAZIP=ON \
-        -DENABLE_TRANSLATIONS=true \
+        -DENABLE_AVIF=ON \
+        -DENABLE_TRANSLATIONS=ON \
+        -W no-dev \
         -B build \
         -S ./ImageLounge
   make VERBOSE=1 -C build



More information about the arch-commits mailing list