Skip to content

Commit

Permalink
Add icons and metainfos to flatpak
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbrechtL committed Dec 15, 2024
1 parent 760e4f6 commit 9d95a31
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 7 deletions.
13 changes: 9 additions & 4 deletions io.welle.welle_io.metainfo.xml → io.welle.welle_io.appdata.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2022 Albrecht Lohofener <[email protected]> -->
<component type="desktop-application">
<!-- Copyright 2024 Albrecht Lohofener <[email protected]> -->
<component type="desktop">
<id>io.welle.welle_io</id>
<launchable type="desktop-id">welle-io.desktop</launchable>
<launchable type="desktop-id">io.welle.welle_io.desktop</launchable>
<name>welle.io</name>
<summary>A DAB/DAB+ Software Radio</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<developer_name>Albrecht Lohofener</developer_name>
<developer id="io.welle.welle_io">
<name>Albrecht Lohofener</name>
</developer>
<url type="homepage">https://www.welle.io</url>
<description>
<p>
Expand All @@ -21,4 +23,7 @@
</screenshots>
<update_contact>[email protected]</update_contact>
<content_rating type="oars-1.1" />
<releases>
<release date="1970-01-01" version="0.0.0"/>
</releases>
</component>
2 changes: 1 addition & 1 deletion welle-io.desktop → io.welle.welle_io.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
Type=Application
Name=welle.io
Exec=welle-io
Icon=welle-io
Icon=io.welle.welle_io
Comment=A DAB/DAB+ Software Radio
Categories=AudioVideo;
30 changes: 28 additions & 2 deletions io.welle.welle_io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ command: welle-io
finish-args:
- '--share=network'
- '--share=ipc'
- '--filesystem=host'
- '--filesystem=xdg-documents'
- '--socket=pulseaudio'
- '--socket=wayland'
- '--socket=fallback-x11'
Expand Down Expand Up @@ -65,15 +65,41 @@ modules:
sources:
- type: git
url: 'https://github.com/pothosware/SoapySDR.git'

- name: welle.io
buildsystem: qmake
build-commands:
- cp src/welle-gui/welle-io /app/bin
- install -Dm644 io.welle.welle_io.appdata.xml -t /app/share/metainfo
- install -Dm644 io.welle.welle_io.desktop -t /app/share/applications
- install -Dm644 icon_16.png /app/share/icons/hicolor/16x16/apps/io.welle.welle_io.png
- install -Dm644 icon_32.png /app/share/icons/hicolor/32x32/apps/io.welle.welle_io.png
- install -Dm644 icon_48.png /app/share/icons/hicolor/48x48/apps/io.welle.welle_io.png
- install -Dm644 icon_128.png /app/share/icons/hicolor/128x128/apps/io.welle.welle_io.png
- install -Dm644 icon_256.png /app/share/icons/hicolor/256x256/apps/io.welle.welle_io.png
config-opts:
- LIBS+=-L/app/lib
- LIBS+=-L/app/lib64
- 'QMAKE_LFLAGS+=-Wl,-rpath,/app/lib64'
sources:
- type: dir
path: .
- type: file
path: io.welle.welle_io.appdata.xml
- type: file
path: io.welle.welle_io.desktop
- type: file
path: src/welle-gui/icons/16x16/welle-io.png
dest-filename: icon_16.png
- type: file
path: src/welle-gui/icons/32x32/welle-io.png
dest-filename: icon_32.png
- type: file
path: src/welle-gui/icons/48x48/welle-io.png
dest-filename: icon_48.png
- type: file
path: src/welle-gui/icons/128x128/welle-io.png
dest-filename: icon_128.png
- type: file
path: src/welle-gui/icons/256x256/welle-io.png
dest-filename: icon_256.png

0 comments on commit 9d95a31

Please sign in to comment.