-
Notifications
You must be signed in to change notification settings - Fork 7
/
net.meshlab.MeshLab.yaml
190 lines (179 loc) · 6.25 KB
/
net.meshlab.MeshLab.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
app-id: net.meshlab.MeshLab
runtime: org.kde.Platform
sdk: org.kde.Sdk
runtime-version: 5.15-23.08
command: meshlab
rename-desktop-file: meshlab.desktop
rename-icon: meshlab
finish-args:
# Disable wayland for now, until new GLEW version is release.
#- --socket=wayland
#- --socket=fallback-x11
- --socket=x11
- --share=ipc
- --device=dri
- --filesystem=/tmp
- --filesystem=host #https://github.com/cnr-isti-vclab/meshlab/issues/1103
- --filesystem=/run/media
- --filesystem=/media
cleanup:
- /include
- /lib/cmake
- /lib/pkgconfig
- /share/doc
- /share/man
- /bin/rbox
- /bin/q*
- /bin/3dsdump
- /bin/lib3ds-*
- /bin/cgal_*
- '*.la'
- '*.a'
modules:
- shared-modules/glew/glew.json
- shared-modules/glu/glu-9.json
- name: MPFR
buildsystem: autotools
builddir: true
config-opts:
- --with-pic
sources:
- type: archive
url: https://www.mpfr.org/mpfr-current/mpfr-4.2.1.tar.xz
sha256: 277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2
x-checker-data:
type: anitya
project-id: 2019
stable-only: true
url-template: https://www.mpfr.org/mpfr-current/mpfr-$version.tar.xz
- name: Boost
buildsystem: simple
build-commands:
- ./bootstrap.sh --prefix=/app --with-libraries=filesystem,regex
- ./b2 install link=static runtime-link=static cxxflags="-fPIC" -j $FLATPAK_BUILDER_N_JOBS
sources:
- type: archive
url: https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.bz2
sha256: 1bed88e40401b2cb7a1f76d4bab499e352fa4d0c5f31c0dbae64e24d34d7513b
x-checker-data:
type: anitya
project-id: 6845
stable-only: true
url-template: https://boostorg.jfrog.io/artifactory/main/release/$version/source/boost_${major}_${minor}_${patch}.tar.bz2
- name: CGAL
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DCGAL_HEADER_ONLY=ON
sources:
- type: archive
url: https://github.com/CGAL/cgal/releases/download/v5.6.1/CGAL-5.6.1.tar.xz
sha256: cdb15e7ee31e0663589d3107a79988a37b7b1719df3d24f2058545d1bcdd5837
x-checker-data:
type: anitya
project-id: 273
stable-only: true
url-template: https://github.com/CGAL/cgal/releases/download/v$version/CGAL-$version.tar.xz
- name: Eigen3
buildsystem: cmake-ninja
builddir: true
sources:
- type: archive
url: https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.bz2
sha256: b4c198460eba6f28d34894e3a5710998818515104d6e74e5cc331ce31e46e626
x-checker-data:
type: anitya
project-id: 13751
stable-only: true
url-template: https://gitlab.com/libeigen/eigen/-/archive/$version/eigen-$version.tar.bz2
cleanup:
- '*'
- name: lib3ds
buildsystem: autotools
config-opts:
- --disable-shared
- --with-pic
sources:
- type: archive
url: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/lib3ds/lib3ds-1.3.0.zip
sha256: f5b00c302955a67fa5fb1f2d3f2583767cdc61fdbc6fd843c0c7c9d95c5629e3
# install newer versions of 'config.guess' and 'config.sub'
# source: https://git.savannah.gnu.org/cgit/config.git, commit c179db1b6f2ae484bfca1e9f8bae273e3319fa7d
- type: file
dest-filename: config.guess
url: https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=c179db1b6f2ae484bfca1e9f8bae273e3319fa7d
sha256: cf610daf8afdedbf2110abd79bdd4121d59080cab5ec46deaf67f97273bb6bda
- type: file
dest-filename: config.sub
url: https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=c179db1b6f2ae484bfca1e9f8bae273e3319fa7d
sha256: deb02c26f43b2ea64276c9ede77ec0f53d08e6256710f3c0a12275712085c348
- name: gmp
config-opts:
- --disable-shared
sources:
- type: archive
url: https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz
sha256: a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898
x-checker-data:
type: anitya
project-id: 1186
stable-only: true
url-template: https://ftp.gnu.org/gnu/gmp/gmp-$version.tar.xz
- name: TBB
buildsystem: cmake-ninja
config-opts:
- -DTBB_TEST=OFF
- -DTBB_EXAMPLES=OFF
builddir: true
sources:
- type: archive
url: https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.13.0.tar.gz
sha256: 3ad5dd08954b39d113dc5b3f8a8dc6dc1fd5250032b7c491eb07aed5c94133e1
x-checker-data:
type: anitya
project-id: 8217
stable-only: true
url-template: https://github.com/oneapi-src/oneTBB/archive/refs/tags/v$version.tar.gz
- name: MeshLab
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE:STRING=Release
sources:
- type: git
url: https://github.com/cnr-isti-vclab/meshlab.git
tag: MeshLab-2023.12
commit: 2dbd2f4b12df3b47d8777b2b4a43cabd9e425735
x-checker-data:
type: git
tag-pattern: ^(MeshLab-[\d.]+)$
- type: git
url: https://github.com/alemuntoni/meshlab-external-libraries.git
tag: 2023.12
commit: c330d4de11a8dfd25e4bdc6fc7426fdcb08226fe
dest: src/external
- type: patch
path: fix_E57Format_include_cstdint.patch
- name: MeshLab-extra-plugin
buildsystem: cmake-ninja
build-options:
cflags: -fpermissive
cxxflags: -fpermissive
config-opts:
- -DCMAKE_BUILD_TYPE:STRING=Release
sources:
- type: git
url: https://github.com/cnr-isti-vclab/meshlab-extra-plugins.git
commit: c7df060847d7d613b85ec6bcb8a211fee2e77b8d
tag: Meshlab-Extra-Plugins-2023.12
x-checker-data:
type: git
tag-pattern: ^(Meshlab-Extra-Plugins-[\d.]+)$
- name: MeshLab-appdata
buildsystem: simple
build-commands:
- desktop-file-edit --set-icon=$FLATPAK_ID /app/share/applications/meshlab.desktop
- install -Dm644 $FLATPAK_ID.appdata.xml /app/share/metainfo/$FLATPAK_ID.appdata.xml
sources:
- type: file
path: net.meshlab.MeshLab.appdata.xml