WIP: flatpak

This commit is contained in:
Nils Fenner 2019-05-11 00:37:17 +02:00
parent 9e628917dc
commit f1c5e27b59
4 changed files with 103 additions and 0 deletions

2
flatpak/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
# ignore all subfolders
/*/

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop">
<id>org.sdrangel.SDRangel</id>
<launchable type="desktop-id">org.sdrangel.SDRangel</launchable>
<metadata_license></metadata_license>
<project_license>MIT</project_license>
<name>SDRangel</name>
<summary>SDRangel</summary>
<description>
<p>SDRangel</p>
<p xml:lang="en-GB">SDRangel</p>
<p xml:lang="de-DE">SDRangel</p>
</description>
<releases>
<release version="1.0.0" date="2019-05-03"/>
</releases>
<screenshots>
<screenshot type="default">
<!--image type="source">https://github.com/f4exb/sdrangel/.../screenshot.png</image-->
</screenshot>
</screenshots>
<categories>
<category>Documentation</category>
<category>Development</category>
<category>Qt</category>
</categories>
<url type="homepage">https://github.com/f4exb/sdrangel</url>
<url type="bugtracker">https://github.com/f4exb/sdrangel/issues</url>
<project_group>SDRangel</project_group>
<update_contact></update_contact>
<provides>
<binary>sdrangel</binary>
</provides>
</component>

View File

@ -0,0 +1,66 @@
{
"app-id": "org.sdrangel.SDRangel",
"runtime": "org.kde.Platform",
"runtime-version": "5.12",
"sdk": "org.kde.Sdk",
"command": "sdrangel",
"finish-args": [
"--filesystem=host",
"--filesystem=xdg-documents",
"--device=dri",
"--share=network",
"--socket=ipc",
"--socket=pulseaudio",
"--socket=x11",
"--socket=wayland"
],
"modules": [
{
"name": "libusb",
"config-opts": [""],
"make-args": [""],
"sources": [
{
"type": "git",
"url": "https://github.com/libusb/libusb.git"
}
]
},
{
"name": "limesuite",
"buildsystem": "cmake-ninja",
"config-opts": [
"-DENABLE_QUICKTEST=OFF",
"-DENABLE_GUI=OFF",
"-DENABLE_SOAPY_LMS7=OFF",
"-DENABLE_EXAMPLES=OFF",
"-DENABLE_UTILITIES=OFF",
"-DENABLE_HEADERS=ON",
"-DENABLE_SIMD_FLAGS=SSE3"
],
"sources": [
{
"type": "git",
"url": "https://github.com/myriadrf/LimeSuite.git",
"commit": "025ffa1a"
}
]
},
{
"name": "sdrangel",
"buildsystem": "cmake-ninja",
"config-opts": [
"-DDEBUG_OUTPUT=ON",
"-DBUILD_TYPE=RELEASE",
"-DRX_SAMPLE_24BIT=ON"
],
"sources": [
{
"type": "git",
"url": "https://github.com/f4exb/sdrangel.git",
"tag": "v4.5.6"
}
]
}
]
}

1
flatpak/sdrangel.desktop Symbolic link
View File

@ -0,0 +1 @@
../desktop/sdrangel.desktop