|
9 | 9 | "V": "1" |
10 | 10 | } |
11 | 11 | }, |
12 | | - "cleanup": [ |
13 | | - "*.la", |
14 | | - "*.a", |
15 | | - "/include", |
16 | | - "/lib/cmake", |
17 | | - "/lib/pkgconfig" |
18 | | - ], |
19 | | - "finish-args": [ |
20 | | - "--share=network", |
21 | | - "--socket=pulseaudio", |
22 | | - "--socket=pcsc", |
23 | | - "--socket=ssh-auth", |
24 | | - "--socket=x11", |
25 | | - "--device=all", |
26 | | - "--filesystem=~/Documents", |
27 | | - "--filesystem=xdg-documents", |
28 | | - "--talk-name=org.freedesktop.Notifications", |
29 | | - "--talk-name=org.freedesktop.secrets", |
30 | | - "--talk-name=org.kde.StatusNotifierWatcher", |
31 | | - "--system-talk-name=org.freedesktop.Avahi" |
32 | | - ], |
33 | | - "cleanup-commands": [ |
34 | | - "rm -fr /var/tmp/*" |
35 | | - ], |
36 | | - "cleanup-platform-commands": [ |
37 | | - ], |
38 | 12 | "modules": [ |
39 | 13 | { |
40 | 14 | "name": "xprop", |
|
114 | 88 | "sha256": "14b7dcc72e91e08151c58b981a7b570ab2663f630e7d2837645d5a9c612c1b79" |
115 | 89 | } |
116 | 90 | ], |
117 | | - "buildsystem": "cmake", |
| 91 | + "buildsystem": "cmake-ninja", |
118 | 92 | "builddir": true, |
119 | 93 | "config-opts": [ |
120 | 94 | "-DWITH_EXAMPLES=OFF" |
|
142 | 116 | "cleanup": [ |
143 | 117 | ] |
144 | 118 | }, |
| 119 | + "shared-modules/libusb/libusb.json", |
145 | 120 | { |
146 | 121 | "name": "FreeRDP", |
147 | 122 | "disabled": false, |
|
152 | 127 | "sha256": "a7a979382703c2bc18aa9b22cfa12d7a441b6927ab45ac62ef8353786bc92241" |
153 | 128 | } |
154 | 129 | ], |
155 | | - "buildsystem": "cmake", |
| 130 | + "buildsystem": "cmake-ninja", |
156 | 131 | "builddir": true, |
157 | 132 | "config-opts": [ |
158 | 133 | "-DCMAKE_VERBOSE_MAKEFILE=OFF", |
|
184 | 159 | "sha256": "62352c7795e231dfce044beb96156065a05a05c974e5de9e023d688d8ff675d7" |
185 | 160 | } |
186 | 161 | ], |
187 | | - "buildsystem": "cmake", |
| 162 | + "buildsystem": "cmake-ninja", |
188 | 163 | "builddir": true, |
189 | 164 | "config-opts": [ |
190 | 165 | "-DWITH_OPENSSL=ON", |
|
207 | 182 | "sha256": "3da93db5469c30588cfeb283d9d62edfc6ded9eb0edc10a4f5bbfb7d722ea802" |
208 | 183 | } |
209 | 184 | ], |
210 | | - "buildsystem": "cmake", |
| 185 | + "buildsystem": "cmake-ninja", |
211 | 186 | "builddir": true, |
212 | 187 | "config-opts": [ |
213 | 188 | "-DBUILD_TESTING=OFF" |
|
225 | 200 | "branch": "master" |
226 | 201 | } |
227 | 202 | ], |
228 | | - "buildsystem": "simple", |
229 | | - "build-commands": [ |
230 | | - "cp -R /run/build/RabbitCommon /var/tmp/" |
231 | | - ] |
232 | | - }, |
233 | | - { |
234 | | - "name": "RabbitRemoteControl-Flathub", |
235 | | - "disabled": true, |
236 | | - "sources": [ |
237 | | - { |
238 | | - "type": "git", |
239 | | - "url": "https://github.com/KangLin/RabbitRemoteControl.git", |
240 | | - "branch": "master" |
241 | | - } |
242 | | - ], |
243 | | - "buildsystem": "cmake", |
| 203 | + "buildsystem": "cmake-ninja", |
244 | 204 | "builddir": true, |
245 | 205 | "config-opts": [ |
246 | | - "-DRabbitCommon_ROOT=/var/tmp/RabbitCommon", |
247 | | - "-DCMAKE_BUILD_TYPE:STRING=Release" |
248 | | - ], |
249 | | - "build-options": { |
250 | | - "env": { |
251 | | - } |
252 | | - } |
| 206 | + "-DCMAKE_BUILD_TYPE=Release" |
| 207 | + ] |
253 | 208 | }, |
254 | 209 | { |
255 | 210 | "name": "RabbitRemoteControl", |
256 | 211 | "disabled": false, |
257 | 212 | "sources": [ |
258 | 213 | { |
259 | 214 | "type": "dir", |
260 | | - "path": ".." |
| 215 | + "path": "../.." |
261 | 216 | } |
262 | 217 | ], |
263 | | - "buildsystem": "cmake", |
| 218 | + "buildsystem": "cmake-ninja", |
264 | 219 | "builddir": true, |
265 | 220 | "config-opts": [ |
266 | | - "-DRabbitCommon_ROOT=/var/tmp/RabbitCommon", |
267 | | - "-DCMAKE_BUILD_TYPE:STRING=Release", |
| 221 | + "-DCMAKE_BUILD_TYPE=Release", |
268 | 222 | "-DCMARK_SHARED=OFF", |
269 | 223 | "-DCMARK_TESTS=OFF", |
270 | 224 | "-DCMARK_STATIC=ON" |
|
275 | 229 | }, |
276 | 230 | "post-install": [ |
277 | 231 | "sed -i 's|Path=/app/bin|Path=/bin|' /app/share/applications/io.github.KangLin.RabbitRemoteControl.desktop" |
| 232 | + ], |
| 233 | + "cleanup": [ |
278 | 234 | ] |
279 | 235 | } |
| 236 | + ], |
| 237 | + "cleanup": [ |
| 238 | + "*.la", |
| 239 | + "*.a", |
| 240 | + "/include", |
| 241 | + "/lib/cmake", |
| 242 | + "/lib/pkgconfig" |
| 243 | + ], |
| 244 | + "cleanup-commands": [ |
| 245 | + ], |
| 246 | + "finish-args": [ |
| 247 | + "--share=ipc", |
| 248 | + "--share=network", |
| 249 | + "--socket=pulseaudio", |
| 250 | + "--socket=pcsc", |
| 251 | + "--socket=ssh-auth", |
| 252 | + "--socket=x11", |
| 253 | + "--device=all", |
| 254 | + "--filesystem=xdg-documents", |
| 255 | + "--talk-name=org.freedesktop.Notifications", |
| 256 | + "--talk-name=org.freedesktop.secrets", |
| 257 | + "--talk-name=org.kde.StatusNotifierWatcher", |
| 258 | + "--system-talk-name=org.freedesktop.Avahi" |
280 | 259 | ] |
281 | 260 | } |
0 commit comments