1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-05-03 04:34:05 -04:00
sdrangel/flatpak/org.sdrangel.SDRangel.yaml
AsciiWolf f77720f25b Update Flatpak manifest
Sync with Flathub
2025-11-16 01:32:26 +01:00

508 lines
15 KiB
YAML

id: org.sdrangel.SDRangel
runtime: org.kde.Platform
runtime-version: '6.9'
sdk: org.kde.Sdk
base: io.qt.qtwebengine.BaseApp
base-version: '6.9'
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:
- name: fftw3f
config-opts:
- --enable-threads
- --enable-shared
- --disable-static
- --enable-float
build-options:
arch:
x86_64:
config-opts:
- --enable-sse2
- --enable-avx
- --enable-avx-128-fma
aarch64:
config-opts:
- --enable-neon
sources:
- type: archive
url: https://www.fftw.org/fftw-3.3.10.tar.gz
sha256: 56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467
- name: libusb
config-opts:
- --disable-static
sources:
- type: archive
url: https://github.com/libusb/libusb/releases/download/v1.0.27/libusb-1.0.27.tar.bz2
sha256: ffaa41d741a8a3bee244ac8e54a72ea05bf2879663c098c82fc5757853441575
post-install:
- install -Dm644 COPYING ${FLATPAK_DEST}/share/licenses/libusb/COPYING
- 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.6.5/hamlib-4.6.5.tar.gz
sha256: 90d6f1dba59417c00f8f4545131c7efd31930cd0e178598980a8210425e3852e
- 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: bladerf
buildsystem: cmake-ninja
build-options:
cflags: "-Wno-calloc-transposed-args"
sources:
- type: git
url: https://github.com/Nuand/bladeRF.git
tag: '2023.02'
commit: 41ef63460956e833c9b321252245257ab3946055
- 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: 619ac3186ea0ffc092615e1f59f7397e5e6f668c
- 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
paths:
- uhd-disable-ascii-art-dft.patch
- 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: dir
path: ..
- 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