summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordobedobedo2021-04-28 20:32:47 +0300
committerdobedobedo2021-04-28 20:32:47 +0300
commited8361e75c90f08e3b54b2e79f2cb60df7576a59 (patch)
treeecf929b3768f9b1628de66ecfaaf4f5aef744ae9
parentb20e1087559ed859b89b8b6ae1c592a867b5bbcd (diff)
downloadaur-ed8361e75c90f08e3b54b2e79f2cb60df7576a59.tar.gz
Add optional dependencies
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD7
2 files changed, 12 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 30046267167..665da4744d5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,18 @@
pkgbase = agisoft-metashape
pkgdesc = Phtogrammetric processing of digital images and 3D spatial data generation software. Standard edition
pkgver = 1.7.2
- pkgrel = 1
+ pkgrel = 2
url = https://www.agisoft.com/
install = agisoft-metashape.install
arch = x86_64
license = custom:Agisoft EULA
license = custom
makedepends = imagemagick
+ optdepends = glu: mesa OpenGL lib
+ optdepends = nvidia-utils: nvidia proprietary OpenGL lib
+ optdepends = opencl-mesa: mesa OpenCL runtime for GPU acceleration
+ optdepends = cuda: nvidia CUDA runtime for GPU acceleration
+ optdepends = intel-compute-runtime: Intel Neo OpenCL runtime for GPU acceleration
provides = agisoft-metashape
options = !strip
source = https://s3-eu-west-1.amazonaws.com/download.agisoft.com/metashape_1_7_2_amd64.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index 6774fbb5795..3abcb6c8a05 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,17 @@
_pkgname=metashape
pkgname=agisoft-${_pkgname}
pkgver=1.7.2
-pkgrel=1
+pkgrel=2
pkgdesc="Phtogrammetric processing of digital images and 3D spatial data generation software. Standard edition"
arch=('x86_64')
url="https://www.agisoft.com/"
license=('custom:Agisoft EULA' 'custom')
makedepends=('imagemagick')
+optdepends=('glu: mesa OpenGL lib'
+ 'nvidia-utils: nvidia proprietary OpenGL lib'
+ 'opencl-mesa: mesa OpenCL runtime for GPU acceleration'
+ 'cuda: nvidia CUDA runtime for GPU acceleration'
+ 'intel-compute-runtime: Intel Neo OpenCL runtime for GPU acceleration')
provides=('agisoft-metashape')
options=('!strip')
install=${pkgname}.install