From 2fdf6d0efd50f7c6d17df56fb231b5e4d0d6e051 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 4 Feb 2024 01:34:17 -0500 Subject: @BLumia casually fixing Gentoo packaging QA warning. --- qmidiplayer-desktop/CMakeLists.txt | 10 ++++----- .../org.chrisoft.qmidiplayer.appdata.xml | 25 ++++++++++++++++++++++ .../org.chrisoft.qmidiplayer.desktop | 12 +++++++++++ qmidiplayer-desktop/qmidiplayer.appdata.xml | 24 --------------------- qmidiplayer-desktop/qmidiplayer.desktop | 12 ----------- 5 files changed, 42 insertions(+), 41 deletions(-) create mode 100644 qmidiplayer-desktop/org.chrisoft.qmidiplayer.appdata.xml create mode 100644 qmidiplayer-desktop/org.chrisoft.qmidiplayer.desktop delete mode 100644 qmidiplayer-desktop/qmidiplayer.appdata.xml delete mode 100644 qmidiplayer-desktop/qmidiplayer.desktop (limited to 'qmidiplayer-desktop') diff --git a/qmidiplayer-desktop/CMakeLists.txt b/qmidiplayer-desktop/CMakeLists.txt index b878ccc..2504750 100644 --- a/qmidiplayer-desktop/CMakeLists.txt +++ b/qmidiplayer-desktop/CMakeLists.txt @@ -102,14 +102,14 @@ else() qt_add_translations(qmidiplayer TS_FILES ${qmpdesktop_TS_FILES} QM_FILES_OUTPUT_VARIABLE qmpdesktop_QM_FILES) endif() -install(TARGETS qmidiplayer) +install(TARGETS qmidiplayer RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) install(DIRECTORY ${PROJECT_SOURCE_DIR}/doc DESTINATION ${CMAKE_INSTALL_PREFIX}/share/qmidiplayer) install(DIRECTORY ${PROJECT_SOURCE_DIR}/img DESTINATION ${CMAKE_INSTALL_PREFIX}/share/qmidiplayer FILES_MATCHING PATTERN "*.png") -install(FILES qmidiplayer.appdata.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/appdata) -install(FILES qmidiplayer.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications) -install(FILES ${PROJECT_SOURCE_DIR}/img/qmidiplyr.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/64x64/apps) -install(FILES ${PROJECT_SOURCE_DIR}/img/qmidiplyr.svg DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps) +install(FILES org.chrisoft.qmidiplayer.appdata.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo) +install(FILES org.chrisoft.qmidiplayer.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications) +install(FILES ${PROJECT_SOURCE_DIR}/img/qmidiplyr.png DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/64x64/apps RENAME org.chrisoft.qmidiplayer.png) +install(FILES ${PROJECT_SOURCE_DIR}/img/qmidiplyr.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps RENAME org.chrisoft.qmidiplayer.svg) install(FILES menu/qmidiplayer DESTINATION ${CMAKE_INSTALL_PREFIX}/share/menu) install(FILES qmidiplayer.mime DESTINATION ${CMAKE_INSTALL_PREFIX}/share/mime/packages) install(FILES ${qmpdesktop_QM_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/qmidiplayer/translations) diff --git a/qmidiplayer-desktop/org.chrisoft.qmidiplayer.appdata.xml b/qmidiplayer-desktop/org.chrisoft.qmidiplayer.appdata.xml new file mode 100644 index 0000000..0d22cec --- /dev/null +++ b/qmidiplayer-desktop/org.chrisoft.qmidiplayer.appdata.xml @@ -0,0 +1,25 @@ + + + org.chrisoft.qmidiplayer.desktop + FSFAP + GPL-3.0+ + QMidiPlayer + A cross-platform midi file player based on libfluidsynth and Qt. + +

QMidiPlayer is a cross-platform midi file player based on libfluidsynth and Qt.

+
+ org.chrisoft.qmidiplayer.desktop + + + https://chrisoft.org/QMidiPlayer/qmidiplyr.png + The screenshot showing the application in action + + + https://chrisoft.org/QMidiPlayer/ + chirs241097@gmail.com + chrisoft.org + + HiDpiIcon + ModernToolkit + +
diff --git a/qmidiplayer-desktop/org.chrisoft.qmidiplayer.desktop b/qmidiplayer-desktop/org.chrisoft.qmidiplayer.desktop new file mode 100644 index 0000000..737c1ce --- /dev/null +++ b/qmidiplayer-desktop/org.chrisoft.qmidiplayer.desktop @@ -0,0 +1,12 @@ +#!/usr/bin/env xdg-open +[Desktop Entry] +Type=Application +Name=QMidiPlayer +Version=1.5 +GenericName=MIDI Player +Comment=QMidiPlayer is a midi file player based on Fluidsynth and Qt. +Exec=/usr/bin/qmidiplayer +Icon=org.chrisoft.qmidiplayer +Keywords=audio;sound; +Categories=Audio;AudioVideo;Midi;X-Alsa;X-Jack;Qt; +Terminal=false diff --git a/qmidiplayer-desktop/qmidiplayer.appdata.xml b/qmidiplayer-desktop/qmidiplayer.appdata.xml deleted file mode 100644 index c4afa10..0000000 --- a/qmidiplayer-desktop/qmidiplayer.appdata.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - qmidiplayer.desktop - GPL-3+ - GPL-3+ - QMidiPlayer - A cross-platform midi file player based on libfluidsynth and Qt. - -

QMidiPlayer is a cross-platform midi file player based on libfluidsynth and Qt.

-
- - - https://chrisoft.org/QMidiPlayer/qmidiplyr.png - The screenshot showing the application in action - - - https://chrisoft.org/QMidiPlayer/ - chirs241097@gmail.com - chrisoft.org - - HiDpiIcon - ModernToolkit - -
diff --git a/qmidiplayer-desktop/qmidiplayer.desktop b/qmidiplayer-desktop/qmidiplayer.desktop deleted file mode 100644 index 2884d18..0000000 --- a/qmidiplayer-desktop/qmidiplayer.desktop +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env xdg-open -[Desktop Entry] -Type=Application -Name=QMidiPlayer -Version=0.8.1 -GenericName=MIDI Player -Comment=QMidiPlayer is a midi file player based on Fluidsynth and Qt. -Exec=/usr/bin/qmidiplayer -Icon=qmidiplyr -Keywords=audio;sound; -Categories=Audio;AudioVideo;Midi;X-Alsa;X-Jack;Qt; -Terminal=false -- cgit v1.2.3