Maintenance: build against new boost version

This commit is contained in:
sfn 2025-10-25 13:25:53 +02:00
parent 16edd5071c
commit 7d188ea046
2 changed files with 9 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = alice-vision
pkgdesc = Photogrammetric Computer Vision Framework which provides 3D Reconstruction and Camera Tracking algorithms
pkgver = 3.3.0
pkgrel = 6
pkgrel = 7
url = https://alicevision.org/
arch = x86_64
license = MPL-2.0

View file

@ -4,7 +4,7 @@
pkgname='alice-vision'
pkgver=3.3.0
pkgrel=6
pkgrel=7
options=('!debug') # debug package is kinda big -- needs investigation!
pkgdesc="Photogrammetric Computer Vision Framework which provides 3D Reconstruction and Camera Tracking algorithms"
arch=('x86_64')
@ -41,8 +41,6 @@ sha256sums=('abdd3b872de2d42d089728fc1ee151c24a1ed78297fc8713c9efd02801bdcc90'
prepare() {
#Fix ffmpeg bug
sed 's|avcodec_close(|avcodec_free_context(\&|g' -i OpenImageIO-2.5.18.0/src/ffmpeg.imageio/ffmpeginput.cpp
#sed 's|avcodec_close(|avcodec_free_context(\&|g' -i lib/tlIO/FFmpegReadAudio.cpp
#sed 's|FF_PROFILE_UNKNOWN|AV_PROFILE_UNKNOWN|g' -i lib/tlIO/FFmpegWrite.cpp
cd AliceVision
@ -65,8 +63,15 @@ prepare() {
# fix default OCIO config path
patch -p1 -i ../fix-default-ocio-path.patch
# fix doc build
sed -i '/^ *install.*doc/s/doc/htmlDoc/' src/CMakeLists.txt
# fix build against newer boost
sed '/Boost::system/d' -i src/software/convert/CMakeLists.txt
sed '/Boost::system/d' -i src/aliceVision/system/CMakeLists.txt
sed '/Boost::system/d' -i src/aliceVision/sensorDB/CMakeLists.txt
}
build() {