-
Notifications
You must be signed in to change notification settings - Fork 3
/
org.frescobaldi.Frescobaldi.yaml
275 lines (255 loc) · 8.42 KB
/
org.frescobaldi.Frescobaldi.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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
app-id: org.frescobaldi.Frescobaldi
runtime: org.kde.Platform
runtime-version: 5.15-23.08
sdk: org.kde.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.texlive
base: com.riverbankcomputing.PyQt.BaseApp
base-version: 5.15-23.08
command: frescobaldi
cleanup-commands:
- /app/cleanup-BaseApp.sh
cleanup:
- /share/man
finish-args:
- --env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess
- --env=PATH=/app/bin:/app/dev/bin:/usr/bin
- --filesystem=home
- --share=ipc
- --share=network
- --device=all
- --socket=pulseaudio
- --socket=x11
# See Wayland bugs:
# https://github.com/frescobaldi/frescobaldi/labels/wayland
# - --socket=wayland
# - --env=QT_QPA_PLATFORM=xcb
modules:
# Fontforge build dependency
- name: libuinameslist
sources:
- type: archive
url: https://github.com/fontforge/libuninameslist/releases/download/20180701/libuninameslist-dist-20180701.tar.gz
sha256: 8aed97d0bc872d893d8bf642a14e49958b0613136e1bfe2a415c69599c803c90
cleanup:
- '*'
- name: fontforge
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DENABLE_DOCS=false
- -DENABLE_LIBSPIRO=false
- -DREAL_TYPE=double
sources:
- type: archive
url: https://github.com/fontforge/fontforge/archive/refs/tags/20230101.tar.gz
sha256: ab0c4be41be15ce46a1be1482430d8e15201846269de89df67db32c7de4343f1
# From https://src.fedoraproject.org/rpms/fontforge/blob/rawhide/f/0001-Fix-errors-in-French-and-Italian-translations.patch
- type: patch
path: patches/fontforge-translation-errors.patch
cleanup:
- '*'
- name: t1utils
sources:
- type: archive
url: https://github.com/kohler/t1utils/archive/v1.41.tar.gz
sha256: 0129fbfabb212143f52ff1e5de8ccbef5e5295d46772bad3ed149115bab5a094
cleanup:
- '*'
- name: texgyre
sources:
- type: archive
url: https://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg2_501otf.zip
sha256: d7f8be5317bec4e644cf16c5abf876abeeb83c43dbec0ccb4eee4516b73b1bbe
buildsystem: simple
build-commands:
- mkdir /app/share/fonts
- install * /app/share/fonts
- name: ghostscript
sources:
- type: archive
url: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9561/ghostscript-9.56.1.tar.xz
sha256: d43406805650009b42c3d5f6dc535233454533c1e27c13a77dd1d462a056b8e4
config-opts:
- --disable-contrib
- --disable-cups
- --disable-dbus
- --disable-fontconfig
- --disable-gtk
- --with-drivers=PNG,PS
- --without-cal
- --without-ijs
- --without-libidn
- --without-libpaper
- --without-libtiff
- --without-pdftoraster
- --without-urf
- --without-x
make-args:
- so
make-install-args:
- soinstall
cleanup:
- /share/doc
- /bin/gpcl6
- /bin/gxps
- name: guile2
modules:
- name: gc
config-opts:
- --disable-docs
sources:
- type: archive
url: https://www.hboehm.info/gc/gc_source/gc-8.0.6.tar.gz
sha256: 3b4914abc9fa76593596773e4da671d7ed4d5390e3d46fbf2e5f155e121bea11
buildsystem: autotools
config-opts:
- --without-threads
- --disable-networking
- --disable-error-on-warning
sources:
- type: archive
url: https://ftp.gnu.org/gnu/guile/guile-2.2.7.tar.xz
sha256: cdf776ea5f29430b1258209630555beea6d2be5481f9da4d64986b077ff37504
- type: patch
path: patches/guile2-never-recompile.patch
cleanup:
- /share/aclocal
- /share/info
- name: lilypond
buildsystem: simple
build-commands:
- ./configure --prefix=/app --disable-documentation --enable-cairo-backend
- make
- make bytecode
- make install
- make install-bytecode
sources:
- type: archive
url: https://lilypond.org/download/sources/v2.24/lilypond-2.24.4.tar.gz
sha256: e96fa03571c79f20e1979653afabdbe4ee42765a3d9fd14953f0cd9eea51781c
build-options:
arch:
aarch64:
prepend-path: /usr/lib/sdk/texlive/bin/aarch64-linux:/usr/lib/sdk/texlive/bin
x86_64:
prepend-path: /usr/lib/sdk/texlive/bin/x86_64-linux:/usr/lib/sdk/texlive/bin
- name: lilypond-dev
modules:
- name: guile3
buildsystem: autotools
config-opts:
- --disable-networking
- --disable-error-on-warning
- --disable-lto
build-options:
no-debuginfo: true
sources:
- type: archive
url: https://ftp.gnu.org/gnu/guile/guile-3.0.10.tar.xz
sha256: bd7168517fd526333446d4f7ab816527925634094fbd37322e17e2b8d8e76388
- type: patch
path: patches/guile-prebuilt-bytecode.patch
buildsystem: simple
build-commands:
- ./autogen.sh --noconfigure
- ./configure --disable-documentation --prefix=/app/dev
- make
- make bytecode
- make install
- make install-bytecode
sources:
- type: git
url: https://gitlab.com/lilypond/lilypond.git
tag: v2.25.21
commit: bdc68f0c1249f1a7e15904da5a43f94e76acaea2
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
is-important: true
build-options:
arch:
aarch64:
prepend-path: /usr/lib/sdk/texlive/bin/aarch64-linux:/usr/lib/sdk/texlive/bin
x86_64:
prepend-path: /usr/lib/sdk/texlive/bin/x86_64-linux:/usr/lib/sdk/texlive/bin
- name: poppler
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_INSTALL_LIBDIR=/app/lib
- -DCMAKE_INSTALL_INCLUDEDIR=/app/include
- -DBUILD_QT5_TESTS=OFF
- -DBUILD_GTK_TESTS=OFF
- -DBUILD_CPP_TESTS=OFF
- -DBUILD_MANUAL_TESTS=OFF
- -DENABLE_BOOST=OFF
- -DENABLE_LIBOPENJPEG=none
- -DENABLE_UTILS=OFF
cleanup:
- /bin
- /include
sources:
- type: archive
url: https://poppler.freedesktop.org/poppler-21.08.0.tar.xz
sha256: e9cf5dc5964bce4bb0264d1c4f8122706c910588b421cfc30abc97d6b23e602d
# Needed to correctly render some fonts, see https://github.com/frescobaldi/frescobaldi/issues/1058
- name: poppler-data
buildsystem: cmake-ninja
sources:
- type: archive
url: https://poppler.freedesktop.org/poppler-data-0.4.12.tar.gz
sha256: c835b640a40ce357e1b83666aabd95edffa24ddddd49b8daff63adb851cdab74
- name: python-ly
buildsystem: simple
build-commands:
- pip install --no-build-isolation --prefix=/app .
sources:
- type: archive
url: https://github.com/frescobaldi/python-ly/archive/v0.9.8.tar.gz
sha256: bdd64fb947e8804cd7d1eedbd57552a0f1cd3411a7a063ad5ec39db78e8303ad
- name: python-poppler-qt5
buildsystem: simple
build-commands:
- sip-install --verbose --target-dir /app/lib/python/site-packages
sources:
- type: archive
url: https://github.com/frescobaldi/python-poppler-qt5/archive/refs/tags/v21.3.0.zip
sha256: 208f23089046eebe5db1e169a9f4873c35fe3f6c83b87eff177070367e1ede41
- name: qpageview
buildsystem: simple
build-commands:
- pip install --prefix=/app .
sources:
- type: archive
url: https://github.com/frescobaldi/qpageview/archive/refs/tags/v0.6.2.tar.gz
sha256: 5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674
- name: portmidi
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/app/lib
- -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY=/app/lib
- -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/app/bin
sources:
- type: archive
url: https://sourceforge.net/projects/portmedia/files/portmidi/217/portmidi-src-217.zip
sha256: 08e9a892bd80bdb1115213fb72dc29a7bf2ff108b378180586aa65f3cfd42e0f
# Taken from https://github.com/flathub/shared-modules/tree/master/pygame
- type: patch
path: patches/portmidi-no-java.patch
cleanup:
- /bin
- /lib/pkgconfig
- /include
- '*.a'
- '*.la'
- name: frescobaldi
buildsystem: simple
build-commands:
- make -C linux
- pip install --prefix=/app .
sources:
- type: archive
url: https://github.com/frescobaldi/frescobaldi/releases/download/v3.3.0/frescobaldi-3.3.0.tar.gz
sha256: 9fb90934fbc08f6c7df0a4d999e89a9a82fe9b4a0f21c0d40a1474e3ac7bc0d8
- type: patch
path: patches/frescobaldi-metainfo-fix.patch