diff --git a/dist/appstream/net.blumia.pineapple-tracker-player.metainfo.xml b/dist/appstream/net.blumia.pineapple-tracker-player.metainfo.xml new file mode 100644 index 0000000..0c5cef0 --- /dev/null +++ b/dist/appstream/net.blumia.pineapple-tracker-player.metainfo.xml @@ -0,0 +1,31 @@ + + + net.blumia.pineapple-tracker-player + Pineapple Tracker Player + 菠萝模块音乐播放器 + Modular Music Player + 模块音乐播放器 + CC0-1.0 + GPL-3.0 + Gary (BLumia) Wang + Gary (BLumia) Wang + +

Pineapple Tracker Player is a Modular Music Player

+

菠萝模块音乐播放器是一个模块音乐播放器

+
+ net.blumia.pineapple-tracker-player.desktop + + + Main window when modular files are loaded + 加载模块音乐后的主窗口 + https://pineapple-tracker-player.sourceforge.io/ptp-gui-static.png + + + + https://github.com/BLumia/pineapple-tracker-player + https://github.com/BLumia/pineapple-tracker-player/issues + + pineapple-tracker-player + + +
diff --git a/widget/CMakeLists.txt b/widget/CMakeLists.txt index 45f7325..c34d286 100644 --- a/widget/CMakeLists.txt +++ b/widget/CMakeLists.txt @@ -88,6 +88,12 @@ install ( DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications" ) +# install app metadata file for appstream (and some other stuff using this metadata like snapcraft) +install ( + FILES ../dist/appstream/net.blumia.pineapple-tracker-player.metainfo.xml + DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo" +) + if(QT_VERSION_MAJOR EQUAL 6) qt_finalize_executable(pineapple-tracker-player) endif()