Skip to content

Commit

Permalink
Merge pull request #1076 from gqrx-sdr/fix-appstream
Browse files Browse the repository at this point in the history
Fix errors & warnings in appstream metadata & desktop entry
  • Loading branch information
argilo authored Jan 23, 2022
2 parents 87e5b62 + 783c67d commit b49751e
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ jobs:
working-directory: build
run: make -j4
- name: Validate desktop entry
run: desktop-file-validate gqrx.desktop
if: matrix.os == 'ubuntu-20.04'
run: desktop-file-validate dk.gqrx.gqrx.desktop
- name: Validate appstream metadata
run: appstreamcli validate gqrx.appdata.xml
if: matrix.os == 'ubuntu-20.04'
run: appstreamcli validate dk.gqrx.gqrx.appdata.xml
macos-build:
name: MacOS CI
strategy:
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,10 @@ if(Gnuradio_VERSION VERSION_LESS "3.8")
endif()

# Install desktop
install(FILES gqrx.desktop DESTINATION share/applications)
install(FILES dk.gqrx.gqrx.desktop DESTINATION share/applications)

# Install appstream / metainfo file
install(FILES gqrx.appdata.xml DESTINATION share/metainfo)
install(FILES dk.gqrx.gqrx.appdata.xml DESTINATION share/metainfo)

# Install icon
install(FILES resources/icons/gqrx.svg DESTINATION share/icons/hicolor/scalable/apps)
Expand Down
2 changes: 1 addition & 1 deletion appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
APP="build/src/gqrx"

# No need to tweak below unless you move files on the actual project
DESKTOP="gqrx.desktop"
DESKTOP="dk.gqrx.gqrx.desktop"
ICON="resources/icons/gqrx.svg"

# clean log space
Expand Down
3 changes: 2 additions & 1 deletion gqrx.appdata.xml → dk.gqrx.gqrx.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@
<image width="1850" height="1055">https://raw.githubusercontent.com/gqrx-sdr/gqrx/master/resources/screenshots/gqrx-main.png</image>
</screenshot>
</screenshots>
<update_contact>[email protected]</update_contact>
<content_rating type="oars-1.1" />
<update_contact>[email protected]</update_contact>
</component>
File renamed without changes.
5 changes: 5 additions & 0 deletions resources/news.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

2.15.7: In progress...

FIXED: Errors & warnings in appstream metadata & desktop entry.


2.15.6: Released January 22, 2022

IMPROVED: Install icon, desktop entry, and appstream metadata.
Expand Down

0 comments on commit b49751e

Please sign in to comment.