mirror of
https://github.com/morgan9e/sdrpp-flatpak
synced 2026-04-14 16:24:03 +09:00
update and add build action
This commit is contained in:
48
.github/workflows/flatpak.yml
vendored
Normal file
48
.github/workflows/flatpak.yml
vendored
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
name: Flatpak Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 2 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
flatpak:
|
||||||
|
name: "Build Flatpak"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: ghcr.io/flathub-infra/flatpak-github-actions:freedesktop-24.08
|
||||||
|
options: --privileged
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Build Flatpak
|
||||||
|
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
||||||
|
with:
|
||||||
|
bundle: org.sdrpp.App.flatpak
|
||||||
|
manifest-path: org.sdrpp.App.yaml
|
||||||
|
cache-key: flatpak-builder-${{ github.sha }}
|
||||||
|
|
||||||
|
- name: Get current date
|
||||||
|
id: date
|
||||||
|
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: Delete existing release
|
||||||
|
uses: dev-drprasad/delete-tag-and-release@v1.1
|
||||||
|
with:
|
||||||
|
tag_name: nightly
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
delete_release: true
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
|
- name: Upload Release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
tag_name: nightly
|
||||||
|
name: "Nightly Build (${{ steps.date.outputs.date }})"
|
||||||
|
files: org.sdrpp.App.flatpak
|
||||||
|
body: |
|
||||||
|
**Build Date:** ${{ steps.date.outputs.date }}
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
build-dir/
|
||||||
|
repo/
|
||||||
|
*.flatpak
|
||||||
21
README.md
21
README.md
@@ -1,21 +0,0 @@
|
|||||||
# SDR++ Flatpak
|
|
||||||
|
|
||||||
This project provides a simple way to install [SDR++](https://github.com/AlexandreRouma/SDRPlusPlus) in non-mutable Operating Systems such as SteamDeck's SteamOS
|
|
||||||
|
|
||||||
__WARNING: Tested only with RTL-TCP source on SteamDeck under SteamOS 3.7.x, other usages might need tweaking__
|
|
||||||
|
|
||||||
## Building
|
|
||||||
|
|
||||||
### Build binaries and dependencies
|
|
||||||
|
|
||||||
```
|
|
||||||
flatpak-builder --force-clean build-dir org.sdrpp.App.yaml --install build-dir --user
|
|
||||||
```
|
|
||||||
|
|
||||||
### Generate single file bundle
|
|
||||||
|
|
||||||
```
|
|
||||||
flatpak build-bundle repo-dir org.sdrpp.App.flatpak org.sdrpp.App
|
|
||||||
```
|
|
||||||
|
|
||||||
Double click `.flatpak` file and install with Discover
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 358 KiB |
BIN
assets/cover.png
BIN
assets/cover.png
Binary file not shown.
|
Before Width: | Height: | Size: 481 KiB |
@@ -1,9 +1,9 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=SDR++
|
Name=SDR++
|
||||||
Comment=SDR receiver software
|
Comment=Cross-Platform SDR Software
|
||||||
Exec=sdrpp
|
Exec=sdrpp
|
||||||
Icon=org.sdrpp.App
|
Icon=org.sdrpp.App
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Categories=AudioVideo;HamRadio;
|
Categories=Audio;HamRadio;
|
||||||
|
Keywords=sdr;radio;rtl-sdr;hackrf;airspy;
|
||||||
|
|||||||
36
org.sdrpp.App.metainfo.xml
Normal file
36
org.sdrpp.App.metainfo.xml
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="desktop-application">
|
||||||
|
<id>org.sdrpp.App</id>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<project_license>GPL-3.0-or-later</project_license>
|
||||||
|
<name>SDR++</name>
|
||||||
|
<developer_name>Alexandre Rouma</developer_name>
|
||||||
|
<summary>The bloat-free SDR software</summary>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
SDR++ is a cross-platform and open source SDR software with the aim of being bloat free and simple to use.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Features:
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li>Wide hardware support (both through SoapySDR and dedicated modules)</li>
|
||||||
|
<li>SIMD accelerated DSP</li>
|
||||||
|
<li>Full waterfall update when possible. Makes browsing signals easier and more pleasant</li>
|
||||||
|
</ul>
|
||||||
|
</description>
|
||||||
|
<!--
|
||||||
|
<screenshots>
|
||||||
|
<screenshot type="default">
|
||||||
|
<image>https://</image>
|
||||||
|
</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
-->
|
||||||
|
<url type="homepage">https://www.sdrpp.org</url>
|
||||||
|
<url type="bugtracker">https://github.com/AlexandreRouma/SDRPlusPlus/issues</url>
|
||||||
|
<provides>
|
||||||
|
<binary>sdrpp</binary>
|
||||||
|
</provides>
|
||||||
|
<content_rating type="oars-1.1"/>
|
||||||
|
<launchable type="desktop-id">org.sdrpp.App.desktop</launchable>
|
||||||
|
</component>
|
||||||
@@ -1,15 +1,17 @@
|
|||||||
id: org.sdrpp.App
|
id: org.sdrpp.App
|
||||||
runtime: org.kde.Platform
|
runtime: org.freedesktop.Platform
|
||||||
runtime-version: '5.15-23.08'
|
runtime-version: '24.08'
|
||||||
sdk: org.kde.Sdk
|
sdk: org.freedesktop.Sdk
|
||||||
command: sdrpp
|
command: sdrpp
|
||||||
finish-args:
|
finish-args:
|
||||||
- --share=network
|
- --share=network
|
||||||
|
- --share=ipc
|
||||||
|
- --socket=wayland
|
||||||
|
- --socket=fallback-x11
|
||||||
- --socket=pulseaudio
|
- --socket=pulseaudio
|
||||||
- --filesystem=home
|
|
||||||
- --device=usb
|
- --device=usb
|
||||||
- --socket=x11
|
|
||||||
- --device=dri
|
- --device=dri
|
||||||
|
|
||||||
modules:
|
modules:
|
||||||
- name: fftw
|
- name: fftw
|
||||||
buildsystem: autotools
|
buildsystem: autotools
|
||||||
@@ -20,24 +22,32 @@ modules:
|
|||||||
- type: archive
|
- type: archive
|
||||||
url: http://www.fftw.org/fftw-3.3.10.tar.gz
|
url: http://www.fftw.org/fftw-3.3.10.tar.gz
|
||||||
sha256: 56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467
|
sha256: 56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467
|
||||||
|
|
||||||
- name: volk
|
- name: volk
|
||||||
buildsystem: cmake
|
buildsystem: cmake
|
||||||
sources:
|
sources:
|
||||||
- type: git
|
- type: git
|
||||||
url: https://github.com/gnuradio/volk.git
|
url: https://github.com/gnuradio/volk.git
|
||||||
commit: 07c1952cd642897af70b6f8bbfeee3a14f54f525
|
tag: v3.2.0
|
||||||
|
|
||||||
- name: glfw
|
- name: glfw
|
||||||
buildsystem: cmake
|
buildsystem: cmake
|
||||||
|
config-opts:
|
||||||
|
- -DGLFW_BUILD_WAYLAND=ON
|
||||||
|
- -DGLFW_BUILD_X11=ON
|
||||||
|
- -DBUILD_SHARED_LIBS=ON
|
||||||
sources:
|
sources:
|
||||||
- type: git
|
- type: git
|
||||||
url: https://github.com/glfw/glfw.git
|
url: https://github.com/glfw/glfw.git
|
||||||
commit: 7482de6071d21db77a7236155da44c172a7f6c9e
|
tag: '3.4'
|
||||||
|
|
||||||
- name: libusb
|
- name: libusb
|
||||||
buildsystem: autotools
|
buildsystem: autotools
|
||||||
sources:
|
sources:
|
||||||
- type: archive
|
- type: archive
|
||||||
url: https://github.com/libusb/libusb/releases/download/v1.0.28/libusb-1.0.28.tar.bz2
|
url: https://github.com/libusb/libusb/releases/download/v1.0.27/libusb-1.0.27.tar.bz2
|
||||||
sha256: 966bb0d231f94a474eaae2e67da5ec844d3527a1f386456394ff432580634b29
|
sha256: ffaa41d741a8a3bee244ac8e54a72ea05bf2879663c098c82fc5757853441575
|
||||||
|
|
||||||
- name: rtl-sdr
|
- name: rtl-sdr
|
||||||
buildsystem: cmake
|
buildsystem: cmake
|
||||||
config-opts:
|
config-opts:
|
||||||
@@ -46,7 +56,8 @@ modules:
|
|||||||
sources:
|
sources:
|
||||||
- type: git
|
- type: git
|
||||||
url: https://github.com/rtlsdrblog/rtl-sdr-blog.git
|
url: https://github.com/rtlsdrblog/rtl-sdr-blog.git
|
||||||
branch: v1.3.6
|
tag: v1.3.6
|
||||||
|
|
||||||
- name: rtaudio
|
- name: rtaudio
|
||||||
buildsystem: cmake
|
buildsystem: cmake
|
||||||
config-opts:
|
config-opts:
|
||||||
@@ -56,41 +67,51 @@ modules:
|
|||||||
sources:
|
sources:
|
||||||
- type: git
|
- type: git
|
||||||
url: https://github.com/thestk/rtaudio.git
|
url: https://github.com/thestk/rtaudio.git
|
||||||
branch: 5.2.0
|
tag: '6.0.1'
|
||||||
|
|
||||||
|
- name: codec2
|
||||||
|
buildsystem: cmake
|
||||||
|
builddir: true
|
||||||
|
config-opts:
|
||||||
|
- -DBUILD_SHARED_LIBS=ON
|
||||||
|
sources:
|
||||||
|
- type: git
|
||||||
|
url: https://github.com/drowe67/codec2.git
|
||||||
|
tag: '1.2.0'
|
||||||
|
|
||||||
- name: sdrpp
|
- name: sdrpp
|
||||||
buildsystem: cmake
|
buildsystem: cmake
|
||||||
build-args: "--socket=x11"
|
|
||||||
config-opts:
|
config-opts:
|
||||||
- -DCMAKE_BUILD_TYPE=Release
|
- -DCMAKE_BUILD_TYPE=Release
|
||||||
- -DUSE_SYSTEM_FFTW=ON
|
- -DUSE_SYSTEM_FFTW=ON
|
||||||
- -DUSE_SYSTEM_VOLK=ON
|
- -DUSE_SYSTEM_VOLK=ON
|
||||||
- -DUSE_SYSTEM_GLFW=ON
|
- -DUSE_SYSTEM_GLFW=ON
|
||||||
- -DOPT_BUILD_RTL_TCP_SOURCE=ON
|
- -DOPT_BUILD_RTL_TCP_SOURCE=ON
|
||||||
- -DOPT_BUILD_RTL_SDR_SOURCE=OFF
|
- -DOPT_BUILD_RTL_SDR_SOURCE=ON
|
||||||
- -DOPT_BUILD_AIRSPY_SOURCE=OFF
|
- -DOPT_BUILD_AIRSPY_SOURCE=OFF
|
||||||
- -DOPT_BUILD_AIRSPYHF_SOURCE=OFF
|
- -DOPT_BUILD_AIRSPYHF_SOURCE=OFF
|
||||||
- -DOPT_BUILD_HACKRF_SOURCE=OFF
|
- -DOPT_BUILD_HACKRF_SOURCE=OFF
|
||||||
- -DOPT_BUILD_SOAPY_SOURCE=OFF
|
- -DOPT_BUILD_SOAPY_SOURCE=OFF
|
||||||
- -DOPT_BUILD_PLUTOSDR_SOURCE=OFF
|
- -DOPT_BUILD_PLUTOSDR_SOURCE=OFF
|
||||||
build-options:
|
- -DOPT_BUILD_BLADERF_SOURCE=OFF
|
||||||
append-ldflags:
|
- -DOPT_BUILD_M17_DECODER=ON
|
||||||
- -lX11
|
|
||||||
append-cxxflags:
|
|
||||||
- -I/usr/include
|
|
||||||
sources:
|
sources:
|
||||||
- type: git
|
- type: git
|
||||||
url: https://github.com/AlexandreRouma/SDRPlusPlus.git
|
url: https://github.com/AlexandreRouma/SDRPlusPlus.git
|
||||||
commit: dd9b8db6c933eb3ed51288522b746b64c79a7fcf
|
branch: master
|
||||||
#branch: master
|
- type: patch
|
||||||
- type: patch
|
path: remove-stdc++fs.patch
|
||||||
path: remove-stdc++fs.patch
|
|
||||||
- name: sdrpp-desktop
|
- name: sdrpp-desktop
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
build-commands:
|
build-commands:
|
||||||
- install -D org.sdrpp.App.desktop /app/share/applications/org.sdrpp.App.desktop
|
- install -D org.sdrpp.App.desktop /app/share/applications/org.sdrpp.App.desktop
|
||||||
- install -D org.sdrpp.App.png /app/share/icons/hicolor/256x256/apps/org.sdrpp.App.png
|
- install -D org.sdrpp.App.png /app/share/icons/hicolor/256x256/apps/org.sdrpp.App.png
|
||||||
|
- install -D org.sdrpp.App.metainfo.xml /app/share/metainfo/org.sdrpp.App.metainfo.xml
|
||||||
sources:
|
sources:
|
||||||
- type: file
|
- type: file
|
||||||
path: org.sdrpp.App.desktop
|
path: org.sdrpp.App.desktop
|
||||||
- type: file
|
- type: file
|
||||||
path: org.sdrpp.App.png
|
path: org.sdrpp.App.png
|
||||||
|
- type: file
|
||||||
|
path: org.sdrpp.App.metainfo.xml
|
||||||
|
|||||||
Reference in New Issue
Block a user