diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,8 @@ ########### install files ############### -install( PROGRAMS kreversi.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +install( PROGRAMS org.kde.kreversi.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) #install( FILES kreversi.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) install( FILES kreversiui.rc DESTINATION ${DATA_INSTALL_DIR}/kreversi ) install( DIRECTORY qml DESTINATION ${DATA_INSTALL_DIR}/kreversi ) +install(FILES org.kde.kreversi.appdata.xml DESTINATION ${SHARE_INSTALL_PREFIX}/metainfo/ ) diff --git a/org.kde.kreversi.appdata.xml b/org.kde.kreversi.appdata.xml new file mode 100644 --- /dev/null +++ b/org.kde.kreversi.appdata.xml @@ -0,0 +1,27 @@ + + + org.kde.kreversi.desktop + FSFAP + GPL-2.0+ + KReversi + Reversi Board Game + +

+ KReversi is a simple one player strategy game played against the computer. + If a player's piece is captured by an opposing player, that piece is turned over + to reveal the color of that player. A winner is declared when one player has more + pieces of his own color on the board and there are no more possible moves. +

+
+ https://bugs.kde.org/enter_bug.cgi?format=guided&product=kreversi + http://docs.kde.org/?application=kreversi + + + https://kde.org/images/screenshots/kreversi.png + + + KDE + + kreversi + +
diff --git a/kreversi.desktop b/org.kde.kreversi.desktop rename from kreversi.desktop rename to org.kde.kreversi.desktop