diff --git a/assets/com.experimentalcraft.NekoPlayer.metainfo.xml b/assets/com.experimentalcraft.NekoPlayer.metainfo.xml new file mode 100644 index 0000000..005f4db --- /dev/null +++ b/assets/com.experimentalcraft.NekoPlayer.metainfo.xml @@ -0,0 +1,38 @@ + + + com.experimentalcraft.NekoPlayer + + Neko Player + An audio player that can play back files with seamless loops using their metadata. + + MIT + MIT + + +

+ An audio player that can play back files with seamless loops using their metadata. +

+

+ It can also change the pitch, tempo, and speed (which is pitch and tempo at the same time) using the SoundTouch libraries found on the system. +

+

+ ### Themes This player supports theming! Go to the preferences window, and either select a theme, or open the theme editor. +

+

+ In addition, themes support changing the accent color to have the hue you select. +

+
+ + neko-player.desktop + + + https://complecwaft.com/catmeow/neko-player/raw/branch/main/screenshots/main_window.png + + + https://complecwaft.com/catmeow/neko-player/raw/branch/main/screenshots/dark_with_accent.png + + + https://complecwaft.com/catmeow/neko-player/raw/branch/main/screenshots/playing.png + + +
diff --git a/meson.build b/meson.build index fd84870..08d7663 100644 --- a/meson.build +++ b/meson.build @@ -46,8 +46,21 @@ include_dirs = [ ] res = run_command('./assets/update-assets.sh', check: true) +# Validate MetaInfo file +metainfo_file = '/path/to/com.experimentalcraft.NekoPlayer.metainfo.xml' +ascli_exe = find_program('appstreamcli', required: false) +if ascli_exe.found() + test('validate metainfo file', + ascli_exe, + args: ['validate', + '--no-net', + '--pedantic', + metainfo_file] + ) +endif install_data('assets/icon.svg', rename: 'neko-player.svg', install_dir: 'share/icons/hicolor/scalable/apps/') install_data('assets/neko-player.desktop', install_dir: 'share/applications') +install_data('assets/com.experimentalcraft.NekoPlayer.metainfo.xml', install_dir: 'share/metainfo') exe = executable('neko-player', srcs, dependencies: deps, include_directories: include_dirs,