-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.github.gen2brain.cbconvert.yml
242 lines (206 loc) · 10.1 KB
/
io.github.gen2brain.cbconvert.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
app-id: io.github.gen2brain.cbconvert
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.golang
command: cbconvert-gui
finish-args:
- --share=ipc
- --socket=fallback-x11
- --socket=wayland
build-options:
env:
- GOROOT=/usr/lib/sdk/golang
cleanup:
- '/include'
- '/lib/cmake'
- '/lib/pkgconfig'
modules:
- name: highway
buildsystem: cmake-ninja
config-opts:
- -DBUILD_SHARED_LIBS=ON
- -DHWY_ENABLE_TESTS=OFF
- -DHWY_ENABLE_EXAMPLES=OFF
- -DHWY_WARNINGS_ARE_ERRORS=OFF
sources:
- type: archive
url: https://github.com/google/highway/archive/refs/tags/1.2.0.tar.gz
sha256: 7e0be78b8318e8bdbf6fa545d2ecb4c90f947df03f7aadc42c1967f019e63343
- name: libjxl
buildsystem: cmake-ninja
config-opts:
- -DBUILD_SHARED_LIBS=ON
- -DJPEGXL_ENABLE_BENCHMARK=OFF
- -DJPEGXL_ENABLE_COVERAGE=OFF
- -DJPEGXL_ENABLE_FUZZERS=OFF
- -DJPEGXL_ENABLE_SJPEG=OFF
- -DJPEGXL_WARNINGS_AS_ERRORS=OFF
- -DJPEGXL_ENABLE_SKCMS=OFF
- -DJPEGXL_ENABLE_VIEWERS=OFF
- -DJPEGXL_ENABLE_PLUGINS=OFF
- -DJPEGXL_ENABLE_DOXYGEN=OFF
- -DJPEGXL_ENABLE_MANPAGES=OFF
- -DJPEGXL_ENABLE_JNI=OFF
- -DJPEGXL_ENABLE_JPEGLI_LIBJPEG=OFF
- -DJPEGXL_ENABLE_TCMALLOC=OFF
- -DJPEGXL_ENABLE_EXAMPLES=OFF
- -DJPEGXL_ENABLE_TOOLS=OFF
- -DJPEGXL_ENABLE_OPENEXR=OFF
- -DBUILD_TESTING=OFF
- -DJPEGXL_FORCE_SYSTEM_BROTLI=ON
- -DJPEGXL_FORCE_SYSTEM_LCMS2=ON
sources:
- type: archive
url: https://github.com/libjxl/libjxl/archive/refs/tags/v0.11.0.tar.gz
sha256: 7ce4ec8bb37a435a73ac18c4c9ff56c2dc6c98892bf3f53a328e3eca42efb9cf
- name: CBconvert
buildsystem: simple
subdir: cmd/cbconvert-gui
build-commands:
- cp dist/linux/modules.txt vendor/
- rm ../../go.mod ../../go.sum
- $GOROOT/bin/go build -mod=vendor -trimpath -tags portal -ldflags "-s -w -X main.appVersion=1.1.0" .
- install -Dm00755 cbconvert-gui /app/bin/cbconvert-gui
- install -Dm00644 dist/linux/$FLATPAK_ID.png /app/share/icons/hicolor/256x256/apps/$FLATPAK_ID.png
- install -Dm00644 dist/linux/$FLATPAK_ID.desktop /app/share/applications/$FLATPAK_ID.desktop
- install -Dm00644 dist/linux/$FLATPAK_ID.metainfo.xml /app/share/metainfo/$FLATPAK_ID.metainfo.xml
sources:
- type: archive
url: https://github.com/gen2brain/cbconvert/archive/refs/tags/v1.1.0.tar.gz
sha256: 1256d2583b79dc6a42b1a54d5051bf1cef7160910dcaaa3d9ae0ea87842e7e84
- type: archive
url: https://github.com/gen2brain/cbconvert/archive/refs/tags/v1.1.0.tar.gz
sha256: 1256d2583b79dc6a42b1a54d5051bf1cef7160910dcaaa3d9ae0ea87842e7e84
dest: cmd/cbconvert-gui/vendor/github.com/gen2brain/cbconvert
- type: archive
url: https://proxy.golang.org/github.com/gen2brain/iup-go/iup/@v/v0.0.0-20241106050025-0f971ac33ed4.zip
strip-components: 4
dest: cmd/cbconvert-gui/vendor/github.com/gen2brain/iup-go/iup
sha256: 21d2ab78e8612a37bb8bf52d4bae5dc48b28e1238a2c54336d239952c09fe544
- type: archive
url: https://proxy.golang.org/github.com/godbus/dbus/v5/@v/v5.1.0.zip
strip-components: 4
dest: cmd/cbconvert-gui/vendor/github.com/godbus/dbus/v5
sha256: 03dfa8e71089a6f477310d15c4d3a036d82d028532881b50fee254358e782ad9
- type: archive
url: https://proxy.golang.org/github.com/anthonynsimon/bild/@v/v0.14.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/anthonynsimon/bild
sha256: 675caa29564dc30ad43dbb448983a73511fc2a83153cd641e213b748a4c941ed
- type: archive
url: https://proxy.golang.org/github.com/dsoprea/go-exif/v2/@v/v2.0.0-20230826092837-6579e82b732d.zip
strip-components: 4
dest: cmd/cbconvert-gui/vendor/github.com/dsoprea/go-exif/v2
sha256: 1c64f78838ecb1dca35ce6d9848317181e53eedaff56f0caa3eef087fb461b6c
- type: archive
url: https://proxy.golang.org/github.com/dsoprea/go-logging/@v/v0.0.0-20200710184922-b02d349568dd.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/dsoprea/go-logging
sha256: e6e73dfd34d25a5ebbbf44bb249864aa3c3fa846faae64a1629e8cca528aba93
- type: archive
url: https://proxy.golang.org/github.com/dsoprea/go-png-image-structure/@v/v0.0.0-20210512210324-29b889a6093d.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/dsoprea/go-png-image-structure
sha256: 70b0c4c3e150fd19f14f93d242372c4061b943c19acf33d307d67d5b7aa1bab2
- type: archive
url: https://proxy.golang.org/github.com/dsoprea/go-utility/@v/v0.0.0-20221003172846-a3e1774ef349.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/dsoprea/go-utility
sha256: 8323305801e24bb01a0b6bab2a06756d7c52cb6106362773951fa75473ec3b2b
- type: archive
url: https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/dustin/go-humanize
sha256: 319404ea84c8a4e2d3d83f30988b006e7dd04976de3e1a1a90484ad94679fa46
- type: archive
url: https://proxy.golang.org/github.com/ebitengine/purego/@v/v0.8.1.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/ebitengine/purego
sha256: 13d72d51856b2286270a95bb8dead29fed3c6634e1690d7435de6a26e0f4447a
- type: archive
url: https://proxy.golang.org/github.com/fvbommel/sortorder/@v/v1.1.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/fvbommel/sortorder
sha256: a4dbc58d2f72212474a7b5e1894b11d6712b687f4cc66ca1f6e202a375d252f7
- type: archive
url: https://proxy.golang.org/github.com/gen2brain/avif/@v/v0.4.1.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/gen2brain/avif
sha256: 1ae6886525abf7e5327064bb278b142a6fe8233bbaa0013195c02e342091d9f3
- type: archive
url: https://proxy.golang.org/github.com/gen2brain/go-fitz/@v/v1.24.14.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/gen2brain/go-fitz
sha256: abdf28c2ba297403c83d31403f8c742c1ffe0720b2c21ed0e30166228bb50e8f
- type: archive
url: https://proxy.golang.org/github.com/gen2brain/go-unarr/@v/v0.2.4.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/gen2brain/go-unarr
sha256: 35ddd96302903cb940e9cfe0acc8b04ccfadce7561daf4caf58a9a0ca30e4213
- type: archive
url: https://proxy.golang.org/github.com/gen2brain/jpegli/@v/v0.3.3.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/gen2brain/jpegli
sha256: 09cb6d0e309d7f341ce1a463c63fec02f4295a337b86743b6af01f9a2bb240ed
- type: archive
url: https://proxy.golang.org/github.com/gen2brain/jpegxl/@v/v0.4.2.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/gen2brain/jpegxl
sha256: d3b6d51c6a50fcacf11f96201689e7b40309476b5faff7dc73b32b80e0ae7cc1
- type: archive
url: https://proxy.golang.org/github.com/gen2brain/webp/@v/v0.5.1.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/gen2brain/webp
sha256: 303b41db1ea7ee770134ccf8c9a982c18e25971db99ae051eafba1afeadf4c9b
- type: archive
url: https://proxy.golang.org/github.com/go-errors/errors/@v/v1.5.1.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/go-errors/errors
sha256: 9630a42ecb17920a5f9ce332356f8a28ad4aaff529e2ecb676b4a1d11d3149c0
- type: archive
url: https://proxy.golang.org/github.com/golang/geo/@v/v0.0.0-20230421003525-6adc56603217.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/golang/geo
sha256: 04fc6bd7227dc0aae3147d24a0791d28bc76ae9d13d72a774b5e3eff46416b56
- type: archive
url: https://proxy.golang.org/github.com/google/uuid/@v/v1.6.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/google/uuid
sha256: d0f02f377217f42702e259684e06441edbf5140dddcc34ba9bea56038b38a6ed
- type: archive
url: https://proxy.golang.org/github.com/jsummers/gobmp/@v/v0.0.0-20230614200233-a9de23ed2e25.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/jsummers/gobmp
sha256: e0d7e249d24cc85736529e7984ed2a7ac1579acef570efdc5114456928371b69
- type: archive
url: https://proxy.golang.org/github.com/jupiterrider/ffi/@v/v0.2.1.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/jupiterrider/ffi
sha256: 2a501fe6d7ed6d7922a58273e15024a88d2230f4abd1dea73fe7745dedbc266b
- type: archive
url: https://proxy.golang.org/github.com/tetratelabs/wazero/@v/v1.8.1.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/github.com/tetratelabs/wazero
sha256: feed17a1e73beeb9712e38df702405b84cc2beb91f97b4afa55dd44fa6f410cc
- type: archive
url: https://proxy.golang.org/golang.org/x/image/@v/v0.21.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/golang.org/x/image
sha256: 7ca937a1f9501b5d0b46631a6813f833292e33a9c5070f03630f18ab8d65bba3
- type: archive
url: https://proxy.golang.org/golang.org/x/net/@v/v0.30.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/golang.org/x/net
sha256: c357b779cdc08d0952f7bad4c45ce84223b7c6005d775822a17901ae8f65bbba
- type: archive
url: https://proxy.golang.org/golang.org/x/sync/@v/v0.8.0.zip
strip-components: 3
dest: cmd/cbconvert-gui/vendor/golang.org/x/sync
sha256: c79473c265ca571d389bf64fa1e7b2d8999b4ab3eb7af5e3bc185644783a1087
- type: archive
url: https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.4.0.zip
strip-components: 2
dest: cmd/cbconvert-gui/vendor/gopkg.in/yaml.v2
sha256: ede49e27c4cca6cdd2ec719aed8ea4d363710cceb3d411e7a786fbdec0d391fd