-
Notifications
You must be signed in to change notification settings - Fork 11
/
org.gnome.eog.yml
237 lines (226 loc) · 7.4 KB
/
org.gnome.eog.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
id: org.gnome.eog
runtime: org.gnome.Platform
runtime-version: '46'
sdk: org.gnome.Sdk
command: eog
rename-appdata-file: eog.appdata.xml
finish-args:
# X11 + XShm access
- --share=ipc
- --socket=fallback-x11
# Wayland access
- --socket=wayland
# We want full fs access so we can read the files
- --filesystem=host
# Migrate old dconf settings
- --metadata=X-DConf=migrate-path=/org/gnome/eog/
# GVFS access
- --talk-name=org.gtk.vfs.*
- --filesystem=xdg-run/gvfsd
# For webp pixbuf module
- --env=GDK_PIXBUF_MODULE_FILE=/app/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
cleanup:
- /include
- /lib/pkgconfig
- /lib/cmake
- /lib/girepository-1.0
- /libexec
- /man
- /share/aclocal
- /share/gir-1.0
- /share/gtk-doc
- /share/man
- /share/pkgconfig
- '*.la'
- '*.a'
modules:
- name: libportal
buildsystem: meson
config-opts:
- -Dbackend-gtk3=enabled
- -Dbackend-gtk4=disabled
- -Dintrospection=false
- -Ddocs=false
sources:
- type: git
url: https://github.com/flatpak/libportal.git
tag: 0.8.0
commit: 26c2576231db484638fc7773418dd42d6889fd1f
x-checker-data:
type: json
url: https://api.github.com/repos/flatpak/libportal/releases/latest
tag-query: .tag_name
version-query: $tag
timestamp-query: .published_at
- name: gnome-desktop
buildsystem: meson
config-opts:
- -Ddesktop_docs=false
sources:
- type: archive
url: https://download.gnome.org/sources/gnome-desktop/44/gnome-desktop-44.1.tar.xz
sha256: ae7ca55dc9e08914999741523a17d29ce223915626bd2462a120bf96f47a79ab
x-checker-data:
type: gnome
name: gnome-desktop
- name: libpeas
buildsystem: meson
config-opts:
- -Dglade_catalog=false
- -Ddemos=false
cleanup: [/lib/peas-demo]
sources:
- type: archive
url: https://download.gnome.org/sources/libpeas/1.36/libpeas-1.36.0.tar.xz
sha256: 297cb9c2cccd8e8617623d1a3e8415b4530b8e5a893e3527bbfd1edd13237b4c
x-checker-data:
type: gnome
name: libpeas
versions:
<: 1.99.0
- name: exempi
cleanup: [/bin]
rm-configure: true
config-opts:
- --disable-unittest
- --disable-static
sources:
- type: archive
url: https://libopenraw.freedesktop.org/download/exempi-2.6.5.tar.bz2
sha256: e9f9a3d42bff73b5eb0f77ec22cd0163c3e21949cc414ad1f19a0465dde41ffe
x-checker-data:
type: anitya
project-id: 767
url-template: https://libopenraw.freedesktop.org/download/exempi-$version.tar.bz2
- type: script
commands:
- autoreconf -vfi
- name: webp-pixbuf-loader
buildsystem: meson
config-opts:
- -Dgdk_pixbuf_moduledir=/app/lib/gdk-pixbuf-2.0/2.10.0/loaders/
sources:
- type: git
url: https://github.com/aruiz/webp-pixbuf-loader.git
tag: 0.2.7
commit: 52232e4ba282b2fed68e8fcb4b5d45ed0eaa4ed3
x-checker-data:
type: json
url: https://api.github.com/repos/aruiz/webp-pixbuf-loader/releases/latest
tag-query: .tag_name
version-query: $tag
timestamp-query: .published_at
- name: libheif
buildsystem: cmake-ninja
config-opts:
- -DWITH_EXAMPLES=OFF
# Workaround for regression in 1.14.0, fixed in 1.14.1
- -DENABLE_PLUGIN_LOADING=OFF
# Disable Encoders
- -DWITH_SvtEnc=OFF
- -DWITH_AOM_ENCODER=OFF
- -DWITH_X265=OFF
- -DWITH_RAV1E=OFF
sources:
- type: archive
url: https://github.com/strukturag/libheif/releases/download/v1.18.2/libheif-1.18.2.tar.gz
sha256: c4002a622bec9f519f29d84bfdc6024e33fd67953a5fb4dc2c2f11f67d5e45bf
x-checker-data:
type: json
url: https://api.github.com/repos/strukturag/libheif/releases/latest
version-query: .tag_name | sub("^v"; "")
url-query: .assets | map(select(.name=="libheif-\($version).tar.gz")) |
first | .browser_download_url
is-important: true
- type: shell
commands:
- sed -i 's|DESTINATION ${GDKPIXBUF2_MODULE_DIR}|DESTINATION /app/lib/gdk-pixbuf-2.0/2.10.0/loaders|'
gdk-pixbuf/CMakeLists.txt
modules:
- name: libde265
cleanup:
- /bin
config-opts:
- --disable-encoder
- --disable-sherlock265
- --disable-dec265
- --disable-static
sources:
- type: archive
url: https://github.com/strukturag/libde265/releases/download/v1.0.15/libde265-1.0.15.tar.gz
sha256: 00251986c29d34d3af7117ed05874950c875dd9292d016be29d3b3762666511d
x-checker-data:
type: json
url: https://api.github.com/repos/strukturag/libde265/releases/latest
version-query: .tag_name | sub("^v"; "")
url-query: .assets | map(select(.name=="libde265-\($version).tar.gz"))
| first | .browser_download_url
is-important: true
- name: jpeg-xl
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_STATIC_LIBS=OFF
- -DJPEGXL_FORCE_SYSTEM_BROTLI=ON
- -DJPEGXL_FORCE_SYSTEM_LCMS2=ON
- -DJPEGXL_FORCE_SYSTEM_HWY=ON
- -DJPEGXL_ENABLE_PLUGINS=ON
- -DJPEGXL_ENABLE_TOOLS=OFF
- -DJPEGXL_ENABLE_EXAMPLES=OFF
- -DJPEGXL_ENABLE_MANPAGES=OFF
- -DJPEGXL_ENABLE_FUZZERS=OFF
- -DBUILD_TESTING=OFF
post-install:
# It doesn't respect disabling static libraries...
- rm $FLATPAK_DEST/lib/*.a
sources:
- type: git
url: https://github.com/libjxl/libjxl.git
commit: v0.7.0
- type: patch
path: patches/pixbuf-moduledir.patch
modules:
- name: hwy
buildsystem: cmake-ninja
config-opts:
- -DBUILD_SHARED_LIBS=ON
- -DHWY_ENABLE_TESTS=OFF
- -DHWY_ENABLE_EXAMPLES=OFF
- -DHWY_ENABLE_CONTRIB=OFF
post-install:
- rm $FLATPAK_DEST/lib/libhwy_test*
sources:
- type: archive
url: https://github.com/google/highway/archive/refs/tags/1.0.2.tar.gz
sha256: e8ef71236ac0d97f12d553ec1ffc5b6375d57b5f0b860c7447dd69b6ed1072db
- name: update-pixbuf-loaders # libheif, jpegxl, and webp-pixbuf-loader install modules
buildsystem: simple
build-commands:
- GDK_PIXBUF_MODULEDIR=/app/lib/gdk-pixbuf-2.0/2.10.0/loaders/ gdk-pixbuf-query-loaders
> /app/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
- gdk-pixbuf-query-loaders >> /app/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
- name: eog
buildsystem: meson
sources:
- type: archive
url: https://download.gnome.org/sources/eog/45/eog-45.4.tar.xz
sha256: b50f321c70ac64af7bcaa5b4460dc675b3ca60fdad385616f3ac7b770e0666fe
x-checker-data:
type: gnome
name: eog
is-important: true
- type: patch
path: patches/eog-mime.patch
- type: patch
path: patches/fix_appdata.patch
- name: eog-plugins
buildsystem: meson
config-opts:
- -Dplugin_map=false
- -Dplugin_postasa=false
sources:
- type: archive
url: https://download.gnome.org/sources/eog-plugins/44/eog-plugins-44.1.tar.xz
sha256: c4c384155fabb34889d76b616065483f94c8310fa0147236d009c68cd4a85c93
x-checker-data:
type: gnome
name: eog-plugins