git repos / blockattack-game

commit 28735382

sago007 · 2019-04-28 11:01
28735382086e4e26a775a9291a2e86f7356b9383 patch · browse files
parent 269c4c3fe1f87a0b84b72349a07015ea209006e9

Add appstream metainfo

Changed files

M CMakeLists.txt before
A source/misc/net.blockattack.game.metainfo.xml
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d22ee3..9027c51 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -18,6 +18,7 @@ set(INSTALL_MAN_DIR "share/man/man6" CACHE STRING "Install the man page to this
set(INSTALL_APPLICATIONS_DIR "share/applications" CACHE STRING "Install the .desktop file to this directory")
set(INSTALL_ICONS_DIR "share/icons/hicolor" CACHE STRING "Install the icon in a subfolder in this directory")
set(INSTALL_LOCALE_DIR "${INSTALL_DATA_DIR}/locale/" CACHE STRING "Install translation to this dir")
+set(INSTALL_METAINFO_DIR "share/metainfo" CACHE STRING "Install appstream matedata to this directory")
# This sets up the exe icon for windows under mingw.
# Taken from https://hansonry.wordpress.com/2010/12/15/windows-application-icon-using-mingw-and-cmake/
@@ -89,6 +90,7 @@ install(TARGETS blockattack RUNTIME DESTINATION ${INSTALL_BIN_DIR} )
install(FILES Game/blockattack.data DESTINATION ${INSTALL_DATA_DIR} )
install(FILES man/blockattack.6.gz DESTINATION ${INSTALL_MAN_DIR} )
install(FILES source/misc/blockattack.desktop DESTINATION ${INSTALL_APPLICATIONS_DIR} )
+install(FILES source/misc/net.blockattack.game.metainfo.xml DESTINATION ${INSTALL_METAINFO_DIR} )
install(FILES source/misc/icons/blockattack16.xpm DESTINATION "${INSTALL_ICONS_DIR}/16x16/apps" RENAME blockattack.xpm )
install(FILES source/misc/icons/blockattack48.xpm DESTINATION "${INSTALL_ICONS_DIR}/48x48/apps" RENAME blockattack.xpm )
install(FILES source/misc/icons/blockattack128.xpm DESTINATION "${INSTALL_ICONS_DIR}/128x128/apps" RENAME blockattack.xpm )
diff --git a/source/misc/net.blockattack.game.metainfo.xml b/source/misc/net.blockattack.game.metainfo.xml new file mode 100644 index 0000000..3fe571f --- /dev/null +++ b/source/misc/net.blockattack.game.metainfo.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+ <id>net.blockattack.game</id>
+ <metadata_license>MIT</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <name>Block Attack - Rise of the Blocks</name>
+ <summary>A fast pased match 3 game</summary>
+ <description>
+ <p>This a puzzle/blockfall game inspired by Nintendo’s Tetris Attack (or “Panel de Pon”) for the Super Nintendo.
+ It might seem like any other match-3 style game but it is generally much faster.
+ The game requires fast decisions compared to other puzzle games.
+ While you can setup the perfect chain it is much more likely that you will construct chains while blocks are still dropping around you.</p>
+ <p>In addition to traditional game types like endless, time trial and stage clear the game does also feature a VS-mode.
+ The VS mode is a dual like you rarely see in a puzzle game.</p>
+ </description>
+ <categories>
+ <category>Game</category>
+ <category>ArcadeGame</category>
+ ​</categories>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://files.poulsander.com/~poul19/public_files/blockattack/v2.5.0/blockattack_2.5.0_vs1.png</image>
+ <caption>A VS game</caption>
+ </screenshot>
+ <screenshot>
+ <image>https://files.poulsander.com/~poul19/public_files/blockattack/v2.5.0/blockattack_2.5.0_1.png</image>
+ <caption>A time trial game</caption>
+ </screenshot>
+ <screenshot>
+ <image>https://files.poulsander.com/~poul19/public_files/blockattack/v2.5.0/blockattack_2.5.0_vs2.png</image>
+ <caption>A VS game with more action</caption>
+ </screenshot>
+ </screenshots>
+ <launchable type="desktop-id">blockattack.desktop</launchable>
+ <provides>
+ <binary>blockattack</binary>
+ </provides>
+ <url type="homepage">https://blockattack.net</url>
+ <url type="bugtracker">https://github.com/blockattack/blockattack-game/issues</url>
+ <url type="faq">https://blockattack.net/instructions/</url>
+ <update_contact>blockattack_AT_poulsander.com</update_contact>
+ <translation type="gettext">blockattack_roftb</translation>
+</component>