summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordobedobedo2021-04-28 20:30:59 +0300
committerdobedobedo2021-04-28 20:30:59 +0300
commitd6127acb7986d2d758e23216d3cc94912d5c5e83 (patch)
tree81310d33dbd816e9e4fe1dd2f54da9a08d86873b
parent6ebabd392bd49adcf3186d579881982f097e7d23 (diff)
downloadaur-d6127acb7986d2d758e23216d3cc94912d5c5e83.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 79ca55e2d455..32950f0c56f3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,18 @@
pkgbase = agisoft-metashape-pro
pkgdesc = Phtogrammetric processing of digital images and 3D spatial data generation software. Professional edition
pkgver = 1.7.2
- pkgrel = 1
+ pkgrel = 2
url = https://www.agisoft.com/
install = agisoft-metashape-pro.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-pro
provides = agisoft-network-monitor
provides = agisoft-viewer
diff --git a/PKGBUILD b/PKGBUILD
index 2c55b463c8dc..744ae9d3088c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,17 @@
_pkgname=metashape-pro
pkgname=agisoft-${_pkgname}
pkgver=1.7.2
-pkgrel=1
+pkgrel=2
pkgdesc="Phtogrammetric processing of digital images and 3D spatial data generation software. Professional 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-pro' 'agisoft-network-monitor' 'agisoft-viewer')
replaces=('metashape-pro')
options=('!strip')