-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathorg.photoqt.PhotoQt.yml
361 lines (350 loc) · 10.1 KB
/
org.photoqt.PhotoQt.yml
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
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
app-id: org.photoqt.PhotoQt
runtime: org.kde.Platform
runtime-version: '6.8'
sdk: org.kde.Sdk
command: photoqt
finish-args:
- --share=ipc
- --share=network
- --socket=wayland
- --socket=fallback-x11
- --filesystem=host
- --device=dri
- --socket=pulseaudio
- --talk-name=org.kde.StatusNotifierWatcher
add-extensions:
org.freedesktop.Platform.ffmpeg-full:
directory: lib/ffmpeg
add-ld-path: .
version: '24.08'
no-autodownload: false
autodelete: false
cleanup-commands:
- mkdir -p ${FLATPAK_DEST}/lib/ffmpeg
cleanup:
- /include
- /lib/pkgconfig
- /lib/cmake
- /share/pkgconfig
- /share/boost_predef
- /share/doc
- /share/man
- '*.a'
- '*.la'
modules:
########################
# EXIV2
########################
- name: exiv2
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DEXIV2_ENABLE_INIH=OFF
- -DEXIV2_BUILD_SAMPLES=OFF
- -DEXIV2_BUILD_EXIV2_COMMAND=OFF
- -DEXIV2_ENABLE_BMFF=ON
cleanup:
- /bin
- /share/man
sources:
- type: git
url: https://github.com/Exiv2/exiv2
commit: 907169fa643c2c74c14fd4106e55eaeee3634d9f
tag: v0.28.5
########################
# RAW SUPPORT
########################
- name: libraw
builddir: true
config-opts:
- --disable-examples
sources:
- type: git
url: https://github.com/LibRaw/LibRaw
commit: 261c18ca0f1f9b83a53947b77751050d90d18e67
tag: 0.21.3
- type: shell
commands:
- "autoreconf -vfi"
########################
# EXR SUPPORT
########################
- name: libdeflate
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
sources:
- type: git
url: https://github.com/ebiggers/libdeflate
commit: 78051988f96dc8d8916310d8b24021f01bd9e102
tag: v1.23
########################
- name: imath
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
sources:
- type: git
url: https://github.com/AcademySoftwareFoundation/Imath
commit: c0396a055a01bc537d32f435aee11a9b7ed6f0b5
tag: v3.1.12
########################
- name: openexr
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
sources:
- type: git
url: https://github.com/AcademySoftwareFoundation/openexr
commit: 55d1a1404cec5b4b187009d9f7fe55a5622ac4e5
tag: v3.3.2
########################
# POPPLER DOCUMENTS
########################
- name: poppler-data
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=Release
sources:
- type: git
url: https://gitlab.freedesktop.org/poppler/poppler-data
commit: af9f452b427d5ce8abe81ff98cc40c5f39fad90b
tag: POPPLER_DATA_0_4_12
########################
- name: boost
buildsystem: simple
cleanup:
- "libboost*.so*"
build-commands:
- ./bootstrap.sh --with-libraries=container
- ./b2 install variant=release link=shared runtime-link=shared --prefix="$FLATPAK_DEST" -j $FLATPAK_BUILDER_N_JOBS
sources:
- type: archive
url: https://archives.boost.io/release/1.87.0/source/boost_1_87_0.tar.gz
sha256: f55c340aa49763b1925ccf02b2e83f35fdcf634c9d5164a2acb87540173c741d
########################
- name: poppler
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DENABLE_GOBJECT_INTROSPECTION=OFF
- -DENABLE_LIBOPENJPEG=openjpeg2
- -DBUILD_GTK_TESTS=OFF
- -DBUILD_QT5_TESTS=OFF
- -DBUILD_QT6_TESTS=OFF
- -DENABLE_QT5=OFF
- -DENABLE_QT6=ON
- -DBUILD_CPP_TESTS=OFF
- -DENABLE_UTILS=ON
- -DENABLE_BOOST=ON
sources:
- type: git
url: https://gitlab.freedesktop.org/poppler/poppler
commit: 71fea5bed8a4c047c2063245ba1c5560b071ee25
tag: poppler-25.02.0
########################
# KDE IMAGE FORMATS
########################
- name: extra-cmake-modules
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_TESTING=OFF
sources:
- type: git
url: https://invent.kde.org/frameworks/extra-cmake-modules.git
commit: 7dd28cc56c339c3f8fb356f7c53c0e8f61433d81
tag: v6.10.0
########################
- name: kimageformats
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_TESTING=OFF
- -DKIMAGEFORMATS_HEIF=ON
- -DKIMAGEFORMATS_JXL=ON
sources:
- type: git
url: https://invent.kde.org/frameworks/kimageformats.git
commit: f49704b2dfbfa5c5f892475254d114eab88dc833
tag: v6.10.0
########################
# DEVIL IMAGE LIBRARY
########################
- name: devil
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
subdir: DevIL
builddir: true
sources:
- type: archive
url: https://sourceforge.net/projects/openil/files/DevIL/1.8.0/DevIL-1.8.0.tar.gz
sha256: 0075973ee7dd89f0507873e2580ac78336452d29d34a07134b208f44e2feb709
########################
# XML SUPPORT
########################
- name: pugixml
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_TESTING=OFF
sources:
- type: git
url: https://github.com/zeux/pugixml
commit: ee86beb30e4973f5feffe3ce63bfa4fbadf72f38
tag: v1.15
########################
# ffmpegthumbnailer
########################
- name: ffmpegthumbnailer
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DENABLE_TESTS=OFF
sources:
- type: git
url: https://github.com/dirkvdb/ffmpegthumbnailer
commit: e2062c8003d2ce8592e146c26b714311a1419ec5
tag: 2.2.3
########################
# MPV SUPPORT
########################
- name: glslang
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DGLSLANG_TESTS=OFF
- -DENABLE_OPT=OFF
sources:
- type: git
url: https://github.com/KhronosGroup/glslang
commit: 1062752a891c95b2bfeed9e356562d88f9df84ac
tag: 15.1.0
########################
- name: libplacebo
buildsystem: meson
config-opts:
- -Dtests=false
- -Dvulkan=enabled
- -Dglslang=enabled
- -Dlcms=enabled
- -Dd3d11=disabled
- -Ddemos=false
sources:
- type: git
url: https://github.com/haasn/libplacebo
commit: 1fd3c7bde7b943fe8985c893310b5269a09b46c5
tag: v7.349.0
########################
- name: libass
buildsystem: autotools
sources:
- type: git
url: https://github.com/libass/libass
commit: e46aedea0a0d17da4c4ef49d84b94a7994664ab5
tag: 0.17.3
########################
- name: libmpv
buildsystem: meson
config-opts:
- -Dlibmpv=true
- -Dcaca=disabled
- -Dcdda=disabled
- -Ddvbin=disabled
- -Ddvdnav=disabled
- -Dlibarchive=disabled
- -Dopenal=disabled
sources:
- type: git
url: https://github.com/mpv-player/mpv
commit: a0fba7be57f3822d967b04f0f6b6d6341e7516e7
tag: v0.39.0
########################
# MAGICK HAPPENS HERE
########################
- name: ghostscript
config-opts:
- --enable-shared
- --disable-static
sources:
- type: archive
url: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10040/ghostscript-10.04.0.tar.gz
sha256: c764dfbb7b13fc71a7a05c634e014f9bb1fb83b899fe39efc0b6c3522a9998b1
########################
- name: imagemagick
builddir: true
config-opts:
- --enable-shared
- --disable-static
- --disable-docs
- --with-modules
- --with-threads
- --with-png
- --enable-hdri
- --enable-opencl
- --with-djvu
- --with-fftw
- --with-jxl
- --with-lqr
- --with-modules
- --with-openexr
- --with-openjp2
- --with-rsvg
- --with-webp
- --with-wmf
- --with-xml
- --with-dps
- --with-fpx
- --with-gvc
sources:
- type: git
url: https://github.com/ImageMagick/ImageMagick
commit: a2d96f40e707ba54b57e7d98c3277d3ea6611ace
tag: 7.1.1-43
########################
# ZXING-CPP
########################
- name: zxing-cpp
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_WRITERS=OFF
- -DBUILD_EXAMPLES=OFF
sources:
- type: git
url: https://github.com/zxing-cpp/zxing-cpp
commit: d6068bcebeb8fd9f0d35a99b00d202be86a14dbe
tag: v2.3.0
########################
########################
- name: photoqt
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DWITH_IMAGEMAGICK=ON
- -DWITH_GRAPHICSMAGICK=OFF
- -DWITH_EXIV2=ON
- -DWITH_LIBARCHIVE=ON
- -DRAW=ON
- -DWITH_POPPLER=ON
- -DWITH_QTPDF=OFF
- -DWITH_DEVIL=ON
- -DWITH_FREEIMAGE=OFF
- -DWITH_PUGIXML=ON
- -DWITH_CHROMECAST=OFF
- -DWITH_LIBVIPS=OFF
- -DWITH_VIDEO_MPV=ON
- -DEXIV2_ENABLE_BMFF=ON
- -DWITH_ZXING=ON
- -DFLATPAKBUILD=ON
sources:
- type: git
url: https://gitlab.com/lspies/photoqt.git
commit: 9e1b6ba1f0a82565e0111c79b579e0f924ea33fe
tag: v4.8.1