@@ -15,9 +15,6 @@ description: |
15
15
FreeCAD is multiplatfom, and reads and writes many open
16
16
file formats such as STEP, IGES, STL and others.
17
17
18
- Please also consider RealThunder's well-known FreeCAD fork
19
- `freecad-realthunder`: https://snapcraft.io/freecad-realthunder
20
-
21
18
Commands:
22
19
freecad: Run FreeCAD
23
20
freecad.cmd: Run FreeCAD command line interface
@@ -28,11 +25,8 @@ grade: devel
28
25
confinement : strict
29
26
compression : lzo
30
27
license : LGPL-2.0-or-later
31
- assumes : [snapd2.55.3] # for cups interface & private shared memory
32
28
33
29
layout :
34
- /usr/share/X11 :
35
- symlink : $SNAP/kf5/usr/share/X11
36
30
/usr/bin/mpirun : # ElmerSolver_mpi
37
31
symlink : $SNAP/usr/bin/orterun
38
32
/usr/share/openmpi :
@@ -51,8 +45,6 @@ layout:
51
45
bind-file : $SNAP/etc/matplotlibrc
52
46
/usr/share/matplotlib :
53
47
symlink : $SNAP/usr/share/matplotlib
54
- /usr/share/qt5 :
55
- symlink : $SNAP/kf5/usr/share/qt5
56
48
/usr/bin/dot : # Graphviz for dependency graph
57
49
symlink : $SNAP/usr/bin/dot
58
50
/usr/bin/unflatten : # Graphviz for dependency graph
@@ -71,12 +63,6 @@ plugs:
71
63
# Necessary to enable semaphores for numba, OpenMP etc.
72
64
shared-memory :
73
65
private : true
74
- # QT5 libs
75
- kf5-core22 :
76
- content : kf5-core22-all
77
- interface : content
78
- default-provider : kf5-core22
79
- target : $SNAP/kf5
80
66
81
67
environment :
82
68
LD_LIBRARY_PATH : " $SNAP/usr/lib/:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/:$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/:$SNAP/kf5/usr/lib:/$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/blas:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/lapack:$LD_LIBRARY_PATH"
@@ -165,7 +151,6 @@ parts:
165
151
- -DCMAKE_FIND_ROOT_PATH=$CRAFT_STAGE\;/snap/kde-qt5-core22-sdk/current\;/snap/kf5-core22-sdk/current/usr
166
152
build-snaps :
167
153
- freecad-deps-core22/candidate
168
- - kde-qt5-core22-sdk
169
154
stage-snaps :
170
155
- freecad-deps-core22/candidate
171
156
build-packages :
@@ -310,10 +295,10 @@ parts:
310
295
cleanup :
311
296
after : [stub-chown, freecad, python-packages, snap-setup-mod, graphviz]
312
297
plugin : nil
313
- build-snaps : [kf5-core22-sdk ]
298
+ build-snaps : [kf5-core22]
314
299
override-prime : |
315
300
set -eux
316
- for snap in "kf5-core22-sdk "; do # List all content-snaps you're using here
301
+ for snap in "kf5-core22"; do # List all content-snaps you're using here
317
302
cd "/snap/$snap/current" && \
318
303
find . -type f,l -not -path "./usr/lib/python3/dist-packages/numpy*" \
319
304
-not -name 'libblas.so*' \
@@ -328,3 +313,7 @@ parts:
328
313
find $CRAFT_PRIME/usr/lib -type f,l \
329
314
-name 'libQt*.so*' `# remove all Qt libs pulled in from Ubuntu repos` \
330
315
-not -name 'libQt5Gamepad.so*' -delete `# for OpenSCAD`
316
+
317
+ lint :
318
+ ignore :
319
+ - library
0 commit comments