-
Notifications
You must be signed in to change notification settings - Fork 202
/
im.nheko.Nheko.yaml
274 lines (274 loc) · 8.62 KB
/
im.nheko.Nheko.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
id: im.nheko.Nheko
command: im.nheko.Nheko
runtime: org.kde.Platform
runtime-version: '6.7'
sdk: org.kde.Sdk
finish-args:
# needed for webcams, see https://github.com/Nheko-Reborn/nheko/issues/517
- --device=all
- --share=ipc
- --share=network
- --socket=pulseaudio
- --socket=x11
- --socket=wayland
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.freedesktop.secrets
- --talk-name=org.kde.kwalletd5
- --talk-name=org.kde.kwalletd6
- --talk-name=org.freedesktop.StatusNotifierItem
# needed for tray icon
- --talk-name=org.kde.StatusNotifierWatcher
cleanup:
- /include
- /lib/pkgconfig
- /bin/mdb*
- '*.a'
- /libexec
- /lib/cmake
- /bin/cmark
- /bin/event_rpcgen.py
- /bin/playout
- /bin/secret-tool
- /bin/gst-*
- /share/gdb
- /share/gst*
- /lib/girepository-1.0/
- /lib/gst-validate-launcher/
- /lib/gstreamer-1.0/include
- /lib/gstreamer-1.0/include/
- /lib/gstreamer-1.0/libgstcoreelements.so
- /lib/gstreamer-1.0/libgstopengl*
- /lib/gstreamer-1.0/libgstximagesink.so
- /lib/gstreamer-1.0/validate/
- /lib/libgst*
modules:
- name: lmdb
sources:
- sha256: 476801f5239c88c7de61c3390502a5d13965ecedef80105b5fb0fcb8373d1e53
type: archive
url: https://git.openldap.org/openldap/openldap/-/archive/LMDB_0.9.33/openldap-LMDB_0.9.33.tar.gz
make-install-args:
- prefix=/app
no-autogen: true
subdir: libraries/liblmdb
- name: libevent
buildsystem: autotools
config-opts:
- --disable-shared
- --prefix=/app
- --disable-openssl
sources:
- sha256: 92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb
type: archive
url: https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
make-install-args:
- prefix=/app
no-autogen: true
- name: cmark
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DCMARK_TESTS=OFF
sources:
- sha256: bbcb8f8c03b5af33fcfcf11a74e9499f20a9043200b8552f78a6e8ba76e04d11
type: archive
url: https://github.com/commonmark/cmark/archive/0.31.0.tar.gz
- name: fmt
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DFMT_DOC=OFF
- -DFMT_TEST=OFF
sources:
- sha256: 40fc58bebcf38c759e11a7bd8fdc163507d2423ef5058bba7f26280c5b9c5465
type: archive
url: https://github.com/fmtlib/fmt/releases/download/11.0.2/fmt-11.0.2.zip
- name: spdlog
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DSPDLOG_BUILD_BENCH=OFF
- -DSPDLOG_BUILD_TESTING=OFF
- -DSPDLOG_BUILD_EXAMPLE=OFF
- -DSPDLOG_FMT_EXTERNAL=ON
sources:
- sha256: 1586508029a7d0670dfcb2d97575dcdc242d3868a259742b69f100801ab4e16b
type: archive
url: https://github.com/gabime/spdlog/archive/v1.14.1.tar.gz
- name: olm
config-opts:
- -DCMAKE_BUILD_TYPE=Release
buildsystem: cmake-ninja
sources:
- commit: 7e0c8277032e40308987257b711b38af8d77cc69
disable-shallow-clone: true
tag: 3.2.16
type: git
url: https://gitlab.matrix.org/matrix-org/olm.git
- name: libsecret
buildsystem: meson
config-opts:
- -Dmanpage=false
- -Dvapi=false
- -Dgtk_doc=false
- -Dintrospection=false
sources:
- commit: 6b5a6c28afc6dd93c232a4907a87c881079ff91b
tag: 0.21.4
type: git
url: https://gitlab.gnome.org/GNOME/libsecret.git
- name: libavif
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DAVIF_CODEC_AOM=ON
- -DBUILD_SHARED_LIBS=OFF
buildsystem: cmake-ninja
sources:
- sha256: dc56708c83a4b934a8af2b78f67f866ba2fb568605c7cf94312acf51ee57d146
type: archive
url: https://github.com/AOMediaCodec/libavif/archive/refs/tags/v1.0.4.tar.gz
- name: libde265
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DENABLE_DECODER=OFF
buildsystem: cmake-ninja
sources:
- sha256: 00251986c29d34d3af7117ed05874950c875dd9292d016be29d3b3762666511d
type: archive
url: https://github.com/strukturag/libde265/releases/download/v1.0.15/libde265-1.0.15.tar.gz
- name: libheif
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DWITH_EXAMPLES=OFF
- -DWITH_AOM_DECODER=OFF
- -DWITH_AOM_ENCODER=OFF
buildsystem: cmake-ninja
sources:
- sha256: 8390baf4913eda0a183e132cec62b875fb2ef507ced5ddddc98dfd2f17780aee
type: archive
url: https://github.com/strukturag/libheif/releases/download/v1.17.6/libheif-1.17.6.tar.gz
- name: KImageFormats
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DKIMAGEFORMATS_HEIF=ON
buildsystem: cmake-ninja
sources:
- commit: 6c1a7ad33924764e8d1efff61919efebc31f5e5a
tag: v6.3.0
type: git
url: https://invent.kde.org/frameworks/kimageformats.git
- name: QtKeychain
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_WITH_QT6=ON
- -DBUILD_TEST_APPLICATION=OFF
- -DBUILD_SHARED_LIBS=OFF
buildsystem: cmake-ninja
sources:
- commit: 38ff50766c7e4ec490fecb2d9939b7cdc4b74b8e
tag: 0.14.3
type: git
url: https://github.com/frankosterfeld/qtkeychain.git
- name: nlohmann
config-opts:
- -DJSON_BuildTests=OFF
buildsystem: cmake-ninja
sources:
- sha256: 0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406
type: archive
url: https://github.com/nlohmann/json/archive/v3.11.3.tar.gz
- name: kdsingleapplication
config-opts:
- -DKDSingleApplication_EXAMPLES=OFF
- -DKDSingleApplication_QT6=ON
buildsystem: cmake-ninja
sources:
- sha256: 31029fffa4873e2769c555668e8edaa6bd5721edbc445bff5e66cc6af3b9ed78
type: archive
url: https://github.com/KDAB/KDSingleApplication/releases/download/v1.1.0/kdsingleapplication-1.1.0.tar.gz
- name: abseil-cpp
buildsystem: cmake-ninja
sources:
- type: archive
url: https://github.com/abseil/abseil-cpp/releases/download/20240116.2/abseil-cpp-20240116.2.tar.gz
sha256: 733726b8c3a6d39a4120d7e45ea8b41a434cdacde401cba500f14236c49b39dc
- name: re2
buildsystem: simple
build-commands:
- make static
- make prefix=/app static-install
sources:
- sha256: 7326c74cddaa90b12090fcfc915fe7b4655723893c960ee3c2c66e85c5504b6c
type: archive
url: https://github.com/google/re2/releases/download/2024-06-01/re2-2024-06-01.tar.gz
- name: gstreamer
buildsystem: meson
sources:
- commit: 9137f539a022ec3f5f7c5ee704198dbf35a41940
tag: 1.24.4
type: git
url: https://gitlab.freedesktop.org/gstreamer/gstreamer.git
disable-submodules: true
config-opts:
- --auto-features=disabled
- -Dgood=enabled
- -Dgst-plugins-good:qt6=enabled
- -Dgst-plugins-good:qt-egl=enabled
- -Dgst-plugins-good:qt-wayland=enabled
- -Dgst-plugins-good:qt-x11=enabled
- -Dbase=enabled
- -Dgst-plugins-base:gl=enabled
- -Dgst-plugins-base:gl_platform=glx,egl
- -Dgst-plugins-base:gl_winsys=x11,wayland
- -Dgst-plugins-base:x11=enabled
- -Dgst-plugins-base:xshm=enabled
- name: qt-jdenticon
buildsystem: cmake-ninja
no-make-install: true
build-commands:
- mkdir -p /app/bin/
- cp libqtjdenticon.so /app/bin/
sources:
- commit: 39cde33d4b23b57aa5b94e94071d6ff18d2bd92a
tag: v0.3.1
type: git
url: https://github.com/Nheko-Reborn/qt-jdenticon.git
- name: coeurl
buildsystem: meson
config-opts:
- -Ddefault_library=static
sources:
- commit: f49993e6ad3b2f4fa6503f46d547351fa276ac84
tag: v0.3.1
type: git
url: https://nheko.im/nheko-reborn/coeurl.git
- name: mtxclient
config-opts:
- -DBUILD_LIB_TESTS=OFF
- -DBUILD_LIB_EXAMPLES=OFF
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_SHARED_LIBS=OFF
buildsystem: cmake-ninja
sources:
- commit: a0b203980491ddf2e2fe4f1cd6af8c2562b3ee35
#tag: v0.10.0
type: git
url: https://github.com/Nheko-Reborn/mtxclient.git
- name: nheko
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DLMDBXX_INCLUDE_DIR=.deps/lmdbxx
- -DCOMPILE_QML=ON
- -DMAN=OFF
- -DFLATPAK=ON
buildsystem: cmake-ninja
sources:
- path: .
type: dir
skip:
- build-flatpak
- dest: .deps/lmdbxx
sha256: 5e12eb3aefe9050068af7df2c663edabc977ef34c9e7ba7b9d2c43e0ad47d8df
type: archive
url: https://github.com/hoytech/lmdbxx/archive/1.0.0.tar.gz