-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathorg.sdrangel.SDRangel.yaml
478 lines (436 loc) · 14.7 KB
/
org.sdrangel.SDRangel.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
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
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
app-id: org.sdrangel.SDRangel
runtime: org.kde.Platform
runtime-version: '6.8'
sdk: org.kde.Sdk
base: io.qt.qtwebengine.BaseApp
base-version: '6.8'
command: sdrangel
rename-desktop-file: sdrangel.desktop
rename-icon: sdrangel_icon
copy-icon: true
finish-args:
- --device=all
- --share=network
- --share=ipc
- --socket=pulseaudio
- --socket=x11
- --filesystem=xdg-documents
cleanup-commands:
- /app/cleanup-BaseApp.sh
- mkdir -p ${FLATPAK_DEST}/lib/ffmpeg
add-extensions:
org.freedesktop.Platform.ffmpeg-full:
directory: lib/ffmpeg
add-ld-path: .
version: '24.08'
autodownload: true
autodelete: false
modules:
- shared-modules/linux-audio/fftw3f.json
- shared-modules/libusb/libusb.json
- name: libxml2
config-opts:
- --without-python
sources:
- type: archive
url: https://download.gnome.org/sources/libxml2/2.10/libxml2-2.10.4.tar.xz
sha256: ed0c91c5845008f1936739e4eee2035531c1c94742c6541f44ee66d885948d45
- name: boost
buildsystem: simple
sources:
- type: archive
url: https://sourceforge.net/projects/boost/files/boost/1.83.0/boost_1_83_0.tar.bz2
sha256: 6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e
build-commands:
- ./bootstrap.sh --prefix=/app
- ./b2 -j $FLATPAK_BUILDER_N_JOBS
- ./b2 install
- name: xxd
build-options:
env:
LIBS: -lm
cleanup:
- /bin/vim*
- /bin/rvim
- /bin/view
- /bin/rview
- /bin/ex
- /share
config-opts:
- --disable-gui
- --disable-gtk3
- --disable-luainterp
- --disable-python3interp
- --disable-xim
- --disable-xsmp
- --disable-xsmp-interact
- --disable-desktop-database-update
- --disable-icon-cache-update
- --disable-gnome-check
- --disable-motif-check
- --disable-athena-check
- --disable-fontset
sources:
- type: archive
url: https://github.com/vim/vim/archive/refs/tags/v9.0.2059.tar.gz
sha256: 5b20c2fed3844ffbd2bef51d2e6de8e5c07f9c3cfb84e2679a729b69f178f8d6
- name: python-cheetah
buildsystem: simple
sources:
- type: archive
url: https://files.pythonhosted.org/packages/23/33/ace0250068afca106c1df34348ab0728e575dc9c61928d216de3e381c460/Cheetah3-3.2.6.post1.tar.gz
sha256: 58b5d84e5fbff6cf8e117414b3ea49ef51654c02ee887d155113c5b91d761967
build-commands:
- python setup.py install --prefix=/app --root=/
- name: python-mako
buildsystem: simple
sources:
- type: archive
url: https://files.pythonhosted.org/packages/fa/0b/29bc5a230948bf209d3ed3165006d257e547c02c3c2a96f6286320dfe8dc/mako-1.3.6.tar.gz
sha256: 9ec3a1583713479fae654f83ed9fa8c9a4c16b7bb0daba0e6bbebff50c0d983d
build-commands:
- python setup.py install --prefix=/app --root=/
- name: flit-core
buildsystem: simple
sources:
- type: archive
url: https://files.pythonhosted.org/packages/d5/ae/09427bea9227a33ec834ed5461432752fd5d02b14f93dd68406c91684622/flit_core-3.10.1.tar.gz
sha256: 66e5b87874a0d6e39691f0e22f09306736b633548670ad3c09ec9db03c5662f7
build-commands:
- pip3 install --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST}
--no-build-isolation .
- name: pyproject-metadata
buildsystem: simple
sources:
- type: archive
url: https://files.pythonhosted.org/packages/c0/79/406a9f56c435caaaca4a1c66397e4f63ecd48a72a6c4fc1d9ecdaac66acb/pyproject_metadata-0.9.0.tar.gz
sha256: 8511c00a4cad96686af6a6b4143433298beb96105a9379afdc9b0328f4f260c9
build-commands:
- pip3 install --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST}
--no-build-isolation .
- name: python-meson
buildsystem: simple
sources:
- type: archive
url: https://files.pythonhosted.org/packages/67/66/91d242ea8dd1729addd36069318ba2cd03874872764f316c3bb51b633ed2/meson_python-0.17.1.tar.gz
sha256: efb91f69f2e19eef7bc9a471ed2a4e730088cc6b39eacaf3e49fc4f930eb5f83
build-commands:
- pip3 install --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST}
--no-build-isolation .
- name: python-numpy
buildsystem: simple
sources:
- type: archive
url: https://files.pythonhosted.org/packages/25/ca/1166b75c21abd1da445b97bf1fa2f14f423c6cfb4fc7c4ef31dccf9f6a94/numpy-2.1.3.tar.gz
sha256: aa08e04e08aaf974d4458def539dece0d28146d866a39da5639596f4921fd761
build-commands:
- pip3 install --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST}
--no-build-isolation .
- name: opencv
buildsystem: cmake-ninja
builddir: true
build-options:
cxxflags: -std=c++14
sources:
- type: archive
url: https://github.com/opencv/opencv/archive/refs/tags/4.8.1.tar.gz
sha256: 62f650467a60a38794d681ae7e66e3e8cfba38f445e0bf87867e2f2cdc8be9d5
- name: libpostproc
config-opts:
- --disable-debug
- --disable-doc
- --disable-static
- --enable-shared
- --enable-gpl
- --disable-libvpx
- --disable-ffplay
- --disable-ffprobe
- --disable-everything
- --enable-postproc
sources:
- type: archive
url: https://ffmpeg.org/releases/ffmpeg-6.0.tar.xz
sha256: 57be87c22d9b49c112b6d24bc67d42508660e6b718b3db89c44e47e289137082
- type: patch
path: ffmpeg-fix-assembling.patch
- name: libaio
no-autogen: true
make-install-args:
- prefix=${FLATPAK_DEST}
sources:
- type: archive
url: https://pagure.io/libaio/archive/libaio-0.3.113/libaio-libaio-0.3.113.tar.gz
sha256: 716c7059703247344eb066b54ecbc3ca2134f0103307192e6c2b7dab5f9528ab
- name: cm256cc
buildsystem: cmake-ninja
config-opts:
- -Wno-dev
sources:
- type: git
url: https://github.com/f4exb/cm256cc.git
commit: 6f4a51802f5f302577d6d270a9fc0cb7a1ee28ef
- name: mbelib
buildsystem: cmake-ninja
config-opts:
- -Wno-dev
sources:
- type: archive
url: https://github.com/szechyjs/mbelib/archive/refs/tags/v1.3.0.tar.gz
sha256: 5a2d5ca37cef3b6deddd5ce8c73918f27936c50eb0e63b27e4b4fc493310518d
- name: serialdv
buildsystem: cmake-ninja
config-opts:
- -Wno-dev
sources:
- type: archive
url: https://github.com/f4exb/serialDV/archive/refs/tags/v1.1.4.tar.gz
sha256: 0764701ac7b52ab4e7db26d91b0c0d5206377574a8ce4d705c9ec99b8f85ef79
- name: dsdcc
buildsystem: cmake-ninja
config-opts:
- -Wno-dev
- -DUSE_MBELIB=ON
sources:
- type: archive
url: https://github.com/f4exb/dsdcc/archive/refs/tags/v1.9.4.tar.gz
sha256: 23b96630c5d2d3d2f8dabfd6e36aea34b670a286c835790af811f209cf408960
- name: codec2
buildsystem: cmake-ninja
builddir: true
config-opts:
- -Wno-dev
sources:
- type: archive
url: https://github.com/drowe67/codec2/archive/refs/tags/1.2.0.tar.gz
sha256: cbccae52b2c2ecc5d2757e407da567eb681241ff8dadce39d779a7219dbcf449
- name: faad2
sources:
- type: archive
url: https://sourceforge.net/projects/faac/files/faad2-src/faad2-2.8.0/faad2-2.8.8.tar.gz
sha256: 985c3fadb9789d2815e50f4ff714511c79c2710ac27a4aaaf5c0c2662141426d
- name: libdab
subdir: library
buildsystem: cmake-ninja
builddir: true
config-opts:
- -Wno-dev
sources:
- type: git
url: https://github.com/JvanKatwijk/dab-cmdline.git
commit: a09145a128fc2824ca5a04b2a5897b820328183f
- name: hidapi
buildsystem: cmake-ninja
sources:
- type: archive
url: https://github.com/libusb/hidapi/archive/refs/tags/hidapi-0.14.0.tar.gz
sha256: a5714234abe6e1f53647dd8cba7d69f65f71c558b7896ed218864ffcf405bcbd
- name: graphviz
buildsystem: cmake-ninja
sources:
- type: archive
url: https://gitlab.com/graphviz/graphviz/-/archive/12.0.0/graphviz-12.0.0.tar.gz
sha256: ea12b4f73e7c7eb9fb9c1c29f7763491306c322f6f2332a352d09debc37f0ed7
- name: libsigmf
buildsystem: cmake-ninja
build-options:
cflags: -Wno-error
cflags-override: true
cxxflags: -Wno-error
cxxflags-override: true
config-opts:
- -Wno-dev
sources:
- type: git
url: https://github.com/f4exb/libsigmf.git
# branch: new-namespaces
commit: 299dc8f9725f1733e5cc1ce8a69fbcf7f18a2f58
- name: sgp4
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/dnwrnr/sgp4.git
commit: 6a448b4850e5fbf8c1ca03bb5f6013a9fdc1fd91
- name: aptdec
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/srcejon/aptdec.git
# branch: libaptdec
commit: 3e8297a912f89a3c42af0845b83a209a6cd13c55
- name: ggmorse
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/f4exb/ggmorse.git
commit: 75c335f343aa15514c6437c5c19c7ea54ea3ce7e
- name: hamlib
sources:
- type: archive
url: https://github.com/Hamlib/Hamlib/releases/download/4.5.5/hamlib-4.5.5.tar.gz
sha256: 601c89f32ed225e9527ade3d64d0d05d23202c05ae21ffa77e59d70ee4597fcd
- name: airspy
buildsystem: cmake-ninja
config-opts:
- -Wno-dev
sources:
- type: archive
url: https://github.com/airspy/airspyone_host/archive/refs/tags/v1.0.10.tar.gz
sha256: fcca23911c9a9da71cebeffeba708c59d1d6401eec6eb2dd73cae35b8ea3c613
- name: airspyhf
buildsystem: cmake-ninja
config-opts:
- -Wno-dev
- -DINSTALL_UDEV_RULES=OFF
sources:
- type: archive
url: https://github.com/airspy/airspyhf/archive/refs/tags/1.6.8.tar.gz
sha256: cd1e5ae89e09b813b096ae4a328e352c9432a582e03fd7da86760ba60efa77ab
- name: rtlsdr
buildsystem: cmake-ninja
config-opts:
- -Wno-dev
- -DDETACH_KERNEL_DRIVER=ON
sources:
- type: git
url: https://github.com/steve-m/librtlsdr.git
commit: af338867964136ce8dd670a6c8ac340cb3e36fd8
- name: plutosdr
buildsystem: cmake-ninja
config-opts:
- -Wno-dev
- -DINSTALL_UDEV_RULE=OFF
- -DHAVE_DNS_SD=OFF
sources:
- type: archive
url: https://github.com/analogdevicesinc/libiio/archive/refs/tags/v0.24.tar.gz
sha256: a2b5d848531ea64fd9f95327dfd5a588bd227d9577281ec375e822702c6a52d5
- name: hackrf
buildsystem: cmake-ninja
subdir: host
config-opts:
- -Wno-dev
- -DINSTALL_UDEV_RULE=OFF
sources:
- type: archive
url: https://github.com/greatscottgadgets/hackrf/archive/refs/tags/v2023.01.1.tar.gz
sha256: fd10cd3650900aef7546e7a40a2d475db9dd1eab86b5d6f0c1188c91bedadd31
- name: limesdr
buildsystem: cmake-ninja
config-opts:
- -Wno-dev
- -DENABLE_QUICKTEST=OFF
- -DENABLE_GUI=OFF
- -DENABLE_SOAPY_LMS7=OFF
- -DENABLE_EXAMPLES=OFF
- -DENABLE_UTILITIES=OFF
- -DENABLE_HEADERS=ON
sources:
- type: archive
url: https://github.com/myriadrf/LimeSuite/archive/refs/tags/v22.09.0.tar.gz
sha256: 521e45298e1ffd0fd65006598e1edf37bd92a13667afaab262582fc681f1cf16
- type: patch
path: limesdr-fix-gcc-13-build.patch
- name: perseus
buildsystem: cmake-ninja
config-opts:
- -Wno-dev
sources:
- type: git
url: https://github.com/f4exb/libperseus-sdr.git
commit: 30de6c708fa6afe2040a80df74afb39dcdc6e74a
- name: xtrx
buildsystem: cmake-ninja
subdir: sources
config-opts:
- -Wno-dev
- -DENABLE_SOAPY=NO
sources:
- type: git
url: https://github.com/xtrx-sdr/images.git
commit: e7c68fa621004ee0d6a65171c786fd9d5a1f2ce6
- name: uhd
buildsystem: cmake-ninja
subdir: host
config-opts:
- -Wno-dev
- -DENABLE_PYTHON_API=OFF
- -DINSTALL_UDEV_RULES=OFF
sources:
- type: archive
url: https://github.com/EttusResearch/uhd/archive/refs/tags/v4.5.0.0.tar.gz
sha256: ca8217b1f0591fb99432a94f225e74fb4d0fe541d496ec1386221b6438d4875d
- type: patch
path: uhd-disable-ascii-art-dft.patch
- type: patch
path: uhd-disable-latency-utils.patch
- name: libmirisdr
buildsystem: cmake-ninja
config-opts:
- -Wno-dev
sources:
- type: archive
url: https://github.com/f4exb/libmirisdr-4/archive/refs/tags/v2.0.0.tar.gz
sha256: c9fa00737f37de788873248c71dd653b0e9c043aed70620ea17cfde8894be2df
- name: soapy
buildsystem: cmake-ninja
config-opts:
- -Wno-dev
sources:
- type: archive
url: https://github.com/pothosware/SoapySDR/archive/refs/tags/soapy-sdr-0.8.1.tar.gz
sha256: a508083875ed75d1090c24f88abef9895ad65f0f1b54e96d74094478f0c400e6
- name: soapy_remote
buildsystem: cmake-ninja
config-opts:
- -Wno-dev
sources:
- type: archive
url: https://github.com/pothosware/SoapyRemote/archive/refs/tags/soapy-remote-0.5.2.tar.gz
sha256: 66a372d85c984e7279b4fdc0a7f5b0d7ba340e390bc4b8bd626a6523cd3c3c76
- name: soapy_uhd
buildsystem: cmake-ninja
config-opts:
- -Wno-dev
sources:
- type: archive
url: https://github.com/pothosware/SoapyUHD/archive/refs/tags/soapy-uhd-0.4.1.tar.gz
sha256: 9779cce2e732cd41905b6cf8ea85edbbf51b1ac918e6180bd4891eebb4c8d085
- name: soapy_redpitaya
buildsystem: cmake-ninja
config-opts:
- -Wno-dev
sources:
- type: archive
url: https://github.com/pothosware/SoapyRedPitaya/archive/refs/tags/soapy-redpitaya-0.1.1.tar.gz
sha256: 71306b1bdc4bd53b059e374797e4ad86672221d5f8534bda60f2dc726005be50
- name: sdrangel
buildsystem: cmake-ninja
build-options:
cxxflags: -fpermissive
arch:
x86_64:
config-opts:
- -DARCH_OPT=nehalem
config-opts:
- -Wno-dev
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DRX_SAMPLE_24BIT=ON
- -DENABLE_QT6=ON
sources:
- type: archive
url: https://github.com/f4exb/sdrangel/archive/refs/tags/v7.22.5.tar.gz
sha256: aa32041750de98059af3303e43bf84d2ce0c1d1af24014d94ec7fb308bae4f11
x-checker-data:
type: anitya
project-id: 14479
url-template: https://github.com/f4exb/sdrangel/archive/refs/tags/v$version.tar.gz
- type: shell
commands:
- sed -e 's|/usr/|/app/|g' -i cmake/Modules/FindSerialDV.cmake
- sed -e 's|/usr/|/app/|g' -i cmake/Modules/FindLibDAB.cmake
- sed -e 's|/usr/|/app/|g' -i cmake/Modules/FindSgp4.cmake
- sed -e 's|/usr/|/app/|g' -i cmake/Modules/FindAptDec.cmake
- type: file
path: org.sdrangel.SDRangel.metainfo.xml
post-install:
- install -Dm644 org.sdrangel.SDRangel.metainfo.xml /app/share/metainfo/org.sdrangel.SDRangel.metainfo.xml