Date: Tuesday, November 29, 2022 @ 20:54:04
  Author: svenstaro
Revision: 1355200

upgpkg: meshroom 2021.1.0-8: Add optdepends on alice-vision-cuda

Modified:
  meshroom/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-29 20:50:33 UTC (rev 1355199)
+++ PKGBUILD    2022-11-29 20:54:04 UTC (rev 1355200)
@@ -3,7 +3,7 @@
 
 pkgname=meshroom
 pkgver=2021.1.0
-pkgrel=7
+pkgrel=8
 pkgdesc="A free, open-source 3D Reconstruction Software based on the 
AliceVision framework"
 arch=('x86_64')
 url="https://alicevision.github.io/";
@@ -12,6 +12,7 @@
          'pyside2' 'qt5-quickcontrols' 'qt5-quickcontrols2' 'qt5-3d' 
'qt5-graphicaleffects'
          'qt5-imageformats' 'qt5-location' 'qt5-svg' 'qt5-charts')
 makedepends=('git' 'cmake' 'python-idna' 'python-setuptools' 'ninja' 'boost' 
'coin-or-lemon')
+optdepends=('alice-vision-cuda: for DepthMap nodes')
 
source=("${pkgname}::git+https://github.com/alicevision/meshroom.git#tag=v${pkgver}";
         "git+https://github.com/alicevision/QtOIIO.git#tag=v${pkgver}";
         "git+https://github.com/alicevision/qmlAlembic.git#tag=v${pkgver}";
@@ -31,7 +32,7 @@
   cd meshroom
 
   # Hardcode camera_database and voctree default value
-  sed -i   "s:'ALICEVISION_VOCTREE', '':'ALICEVISION_VOCTREE', 
'/usr/share/${pkgname}/vlfeat_K80L3.SIFT.tree':g" 
meshroom/nodes/aliceVision/*.py
+  sed -i "s:'ALICEVISION_VOCTREE', '':'ALICEVISION_VOCTREE', 
'/usr/share/${pkgname}/vlfeat_K80L3.SIFT.tree':g" 
meshroom/nodes/aliceVision/*.py
   sed -i "s:'ALICEVISION_SENSOR_DB', '':'ALICEVISION_SENSOR_DB', 
'/usr/share/aliceVision/cameraSensors.db':g" meshroom/nodes/aliceVision/*.py
 
   # Fix for QtOIIO plugin to build against openexr:3

Reply via email to