]> git.jsancho.org Git - lugaru.git/commitdiff
Add AppStream appdata/metainfo file
authorNeal Gompa <ngompa13@gmail.com>
Wed, 7 Dec 2016 22:31:25 +0000 (17:31 -0500)
committerNeal Gompa <ngompa13@gmail.com>
Wed, 7 Dec 2016 22:39:46 +0000 (17:39 -0500)
This completes the set of metadata files installed for Linux systems.

Fixes #27.

CMakeLists.txt
Dist/lugaru.appdata.xml [new file with mode: 0644]

index 6b5f2266cbd6836d76e38dc384eb484f5388de0d..0c9ab66e917915cd672cd501423c75cc358ac757 100644 (file)
@@ -252,7 +252,7 @@ if(LINUX)
         install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/lugaru DESTINATION ${CMAKE_INSTALL_BINDIR})
         # Trailing '/' is significant, it installs and _renames_ Data/ as the destination folder
         install(DIRECTORY ${CMAKE_SOURCE_DIR}/Data/ DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME})
-        #install(FILES ${CMAKE_SOURCE_DIR}/Dist/lugaru.appdata.xml DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/appdata)
+        install(FILES ${CMAKE_SOURCE_DIR}/Dist/lugaru.appdata.xml DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/appdata)
         install(FILES ${CMAKE_SOURCE_DIR}/Dist/lugaru.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)
         install(FILES ${CMAKE_SOURCE_DIR}/Dist/lugaru.png DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/128x128/apps)
         install(FILES ${CMAKE_SOURCE_DIR}/Dist/lugaru.6 DESTINATION ${CMAKE_INSTALL_MANDIR}/man6)
diff --git a/Dist/lugaru.appdata.xml b/Dist/lugaru.appdata.xml
new file mode 100644 (file)
index 0000000..a9c45e5
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2016 Neal Gompa <ngompa13@gmail.com> -->
+<component type="desktop">
+ <id>lugaru.desktop</id>
+ <metadata_license>CC-BY-SA-4.0</metadata_license>
+ <project_license>GPL-2.0+ and CC-BY-SA-3.0</project_license>
+ <name>Lugaru HD</name>
+ <summary>Third person ninja rabbit fighting game</summary>
+ <description>
+  <p>
+     Lugaru (pronounced Loo-GAH-roo) is a cross-platform third-person action game. 
+     The main character, Turner, is an anthropomorphic rebel bunny rabbit with impressive combat skills.
+  </p>
+
+  <p>
+     In his quest to find those responsible for slaughtering his village, 
+     he uncovers a far-reaching conspiracy involving the corrupt leaders
+     of the rabbit republic and the starving wolves from a nearby den. 
+     Turner takes it upon himself to fight against their plot and save 
+     his fellow rabbits from slavery.
+  </p>
+ </description>
+ <screenshots>
+   <screenshot type="default" width="864" height="417">
+       https://osslugaru.gitlab.io/images/lugaru-banner.png
+   </screenshot>
+ </screenshots>
+ <url type="homepage">https://osslugaru.gitlab.io/</url>
+ <update_contact>ngompa13_at_gmail.com</update_contact>
+</component>
+