Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/freecad
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-09-18 12:38:04 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-09-18 12:38:04 +0200
commitd6782bebdf4e67feea4895077fdbcb7f5ded761c (patch)
tree48b2e0dccb9e278f64b897225f8dc62640b3d07f /community/freecad
parent9eb5acf08c89db600d17ca4917ecb6a0b0d9d9b7 (diff)
community/freecad: removed dependency on ospray and replace med-openmpi with med, also patched for libdl.so wrong shared library
Diffstat (limited to 'community/freecad')
-rw-r--r--community/freecad/PKGBUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/freecad/PKGBUILD b/community/freecad/PKGBUILD
new file mode 100644
index 00000000..57c08078
--- /dev/null
+++ b/community/freecad/PKGBUILD
@@ -0,0 +1,16 @@
+# ospray is blacklisted
+makedepends=(${makedepends[@]//ospray/})
+
+# med-openmpi is blacklisted, using plain med instead
+depends=(${depends[@]//med-openmpi/})
+depends+=(med)
+
+# libdl.so does not exist, fast hack to fix it in the generated ninja
+# build script
+eval "$(
+ declare -f build | \
+ sed '
+ /ninja -C build/ i \
+ sed -i s'/libdl.so/libdl.so.2/g' build/build.ninja
+ '
+)"