git » soqt.git » commit d55bb45

Build with the latest version of the coin package to avoid a crash in FreeCAD

author Alexander Rødseth
2020-10-09 12:20:11 UTC
committer Alexander Rødseth
2020-10-09 12:20:11 UTC
parent 3d790b702228a6a987d4425c7e6c606619e7d90b

Build with the latest version of the coin package to avoid a crash in FreeCAD

PKGBUILD +4 -2

diff --git a/PKGBUILD b/PKGBUILD
index ea9fc9b..ccdd15e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,13 +8,13 @@
 
 pkgname=soqt
 pkgver=1.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc='The glue between Coin and Qt'
 arch=(x86_64)
 url='https://github.com/coin3d/soqt'
 license=(GPL)
 depends=(coin qt5-base)
-makedepends=(cmake git ninja doxygen)
+makedepends=(cmake git mesa ninja doxygen)
 # 75d4... is tag SoQt-1.6.0
 # 3ff6... is tag soanydata-1_1_0
 # a006... is tag soxt-1_4_0
@@ -40,6 +40,8 @@ build() {
   mkdir -p build
   cd build
   cmake ../soqt \
+    -DCMAKE_C_FLAGS="$CFLAGS -fPIC -Wno-deprecated-declarations" \
+    -DCMAKE_CXX_FLAGS="$CXXFLAGS -fPIC -Wno-deprecated-declarations" \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=lib \
     -DSOQT_BUILD_DOC_MAN=ON \