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

Sven-Hendrik Haase svenstaro at archlinux.org
Sun May 24 01:38:40 UTC 2020


    Date: Sunday, May 24, 2020 @ 01:38:39
  Author: svenstaro
Revision: 632730

upgpkg: openimagedenoise 1.2.0-1

Modified:
  openimagedenoise/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-24 00:48:55 UTC (rev 632729)
+++ PKGBUILD	2020-05-24 01:38:39 UTC (rev 632730)
@@ -1,8 +1,9 @@
 # Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
 
 pkgname=openimagedenoise
 _pkgname=oidn
-pkgver=1.1.0
+pkgver=1.2.0
 pkgrel=1
 pkgdesc='Intel(R) Open Image Denoise library'
 arch=('x86_64')
@@ -9,7 +10,7 @@
 url='https://openimagedenoise.github.io'
 license=('Apache')
 depends=('intel-tbb' 'python')
-makedepends=('git' 'cmake')
+makedepends=('git' 'cmake' 'ninja' 'ispc')
 source=("git+https://github.com/OpenImageDenoise/oidn#tag=v$pkgver"
         'git+https://github.com/OpenImageDenoise/oidn-weights'
         "oidn-mkl-dnn::git+https://github.com/OpenImageDenoise/mkl-dnn")
@@ -27,19 +28,18 @@
 }
 
 build() {
-    mkdir $_pkgname/build
-    cd $_pkgname/build
+    cd $_pkgname
 
-    cmake .. \
+    cmake \
+        -B build \
+        -G Ninja \
         -DCMAKE_INSTALL_PREFIX=/usr \
         -DCMAKE_BUILD_TYPE=Release
-
-    make
+    ninja -C build
 }
 
 package() {
-    cd $_pkgname/build
-
-    make DESTDIR="$pkgdir" install
+    cd $_pkgname
+    DESTDIR="$pkgdir" ninja -C build install
 }
 


More information about the arch-commits mailing list