summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Swanson2015-06-12 12:43:05 -0700
committerMike Swanson2015-08-29 16:18:34 -0700
commit79ef117aa867751110124fec843e0e406ddfe234 (patch)
tree74897d9e490efe9ca2b6004e2ef193266da03060 /src
parent4b865a2a162023b7a7cdb8c7eba16af9c447ec9b (diff)
downloadchocolate-doom-79ef117aa867751110124fec843e0e406ddfe234.tar.gz
chocolate-doom-79ef117aa867751110124fec843e0e406ddfe234.tar.bz2
chocolate-doom-79ef117aa867751110124fec843e0e406ddfe234.zip
Add some preliminary *.appdata.xml files for software centers
This should resolve #406; the description text probably needs revisement, and we still need to compose images for the screenshots section.
Diffstat (limited to 'src')
-rw-r--r--src/.gitignore1
-rw-r--r--src/Makefile.am19
-rw-r--r--src/doom.appdata.xml.in32
-rw-r--r--src/heretic.appdata.xml.in31
-rw-r--r--src/hexen.appdata.xml.in31
-rw-r--r--src/strife.appdata.xml.in32
6 files changed, 146 insertions, 0 deletions
diff --git a/src/.gitignore b/src/.gitignore
index a0cf15b4..84a9eaea 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -14,5 +14,6 @@ chocolate-strife-setup
chocolate-setup
*.exe
*.desktop
+*.appdata.xml
tags
TAGS
diff --git a/src/Makefile.am b/src/Makefile.am
index 1e54824c..78ee3bae 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -217,6 +217,25 @@ EXTRA_DIST = \
doom-screensaver.desktop.in \
manifest.xml
+appdatadir = $(prefix)/share/appdata
+appdata_DATA = \
+ @PROGRAM_PREFIX@doom.appdata.xml \
+ @PROGRAM_PREFIX@heretic.appdata.xml \
+ @PROGRAM_PREFIX@hexen.appdata.xml \
+ @PROGRAM_PREFIX@strife.appdata.xml
+
+@PROGRAM_PREFIX@doom.appdata.xml : doom.appdata.xml
+ cp doom.appdata.xml $@
+
+@PROGRAM_PREFIX@heretic.appdata.xml : heretic.appdata.xml
+ cp heretic.appdata.xml $@
+
+@PROGRAM_PREFIX@hexen.appdata.xml : hexen.appdata.xml
+ cp hexen.appdata.xml $@
+
+@PROGRAM_PREFIX@strife.appdata.xml : strife.appdata.xml
+ cp strife.appdata.xml $@
+
appdir = $(prefix)/share/applications
app_DATA = \
@PROGRAM_PREFIX@doom.desktop \
diff --git a/src/doom.appdata.xml.in b/src/doom.appdata.xml.in
new file mode 100644
index 00000000..220229d4
--- /dev/null
+++ b/src/doom.appdata.xml.in
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application>
+ <id type="desktop">@PROGRAM_PREFIX@doom.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <developer_name>@PACKAGE_MAINTAINER@</developer_name>
+ <url type="homepage">@PACKAGE_URL@</url>
+ <url type="bugtracker">@PACKAGE_ISSUES@</url>
+ <description>
+ <p>
+ @PACKAGE_SHORTNAME@ Doom is a conservative,
+ historically-accurate Doom source port, which is compatible with
+ the thousands of mods and levels that were made before the Doom
+ source code was released. Unlike other source ports, the goal
+ is to preserve the original look, feel, limitations, and bugs of
+ the original DOS executable.
+ </p>
+ <p>
+ Full support for single- and multi-player games is provided, for
+ all of the original Doom games, Chex Quest, and Hacx. Unlike
+ the original executable, network play is implemented on the IP
+ network stack, allowing it to function on modern LANs and the
+ Internet.
+ </p>
+ </description>
+ <screenshots>
+ <!-- TODO: The AppData specification demands that screenshot images be -->
+ <!-- in a 16:9 aspect ratio. We can create some with the Chocolate Doom -->
+ <!-- window centered against a transparent background. -->
+ </screenshots>
+</application>
diff --git a/src/heretic.appdata.xml.in b/src/heretic.appdata.xml.in
new file mode 100644
index 00000000..943c35ad
--- /dev/null
+++ b/src/heretic.appdata.xml.in
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application>
+ <id type="desktop">@PROGRAM_PREFIX@heretic.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <developer_name>@PACKAGE_MAINTAINER@</developer_name>
+ <url type="homepage">@PACKAGE_URL@</url>
+ <url type="bugtracker">@PACKAGE_ISSUES@</url>
+ <description>
+ <p>
+ @PACKAGE_SHORTNAME@ Heretic is a conservative,
+ historically-accurate Heretic source port, which is compatible
+ with mods and levels that were made before the Heretic source
+ code was released. Unlike other source ports, the goal is to
+ preserve the original look, feel, limitations, and bugs of the
+ original DOS executable.
+ </p>
+ <p>
+ Full support for single- and multi-player games is provided.
+ Unlike the original executable, network play is implemented on
+ the IP network stack, allowing it to function on modern LANs and
+ the Internet.
+ </p>
+ </description>
+ <screenshots>
+ <!-- TODO: The AppData specification demands that screenshot images be -->
+ <!-- in a 16:9 aspect ratio. We can create some with the Chocolate Doom -->
+ <!-- window centered against a transparent background. -->
+ </screenshots>
+</application>
diff --git a/src/hexen.appdata.xml.in b/src/hexen.appdata.xml.in
new file mode 100644
index 00000000..e81af3a7
--- /dev/null
+++ b/src/hexen.appdata.xml.in
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application>
+ <id type="desktop">@PROGRAM_PREFIX@hexen.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <developer_name>@PACKAGE_MAINTAINER@</developer_name>
+ <url type="homepage">@PACKAGE_URL@</url>
+ <url type="bugtracker">@PACKAGE_ISSUES@</url>
+ <description>
+ <p>
+ @PACKAGE_SHORTNAME@ Hexen is a conservative,
+ historically-accurate Hexen source port, which is compatible
+ with mods and levels that were made before the Hexen source code
+ was released. Unlike other source ports, the goal is to
+ preserve the original look, feel, limitations, and bugs of the
+ original DOS executable.
+ </p>
+ <p>
+ Full support for single- and multi-player games is provided.
+ Unlike the original executable, network play is implemented on
+ the IP network stack, allowing it to function on modern LANs and
+ the Internet.
+ </p>
+ </description>
+ <screenshots>
+ <!-- TODO: The AppData specification demands that screenshot images be -->
+ <!-- in a 16:9 aspect ratio. We can create some with the Chocolate Doom -->
+ <!-- window centered against a transparent background. -->
+ </screenshots>
+</application>
diff --git a/src/strife.appdata.xml.in b/src/strife.appdata.xml.in
new file mode 100644
index 00000000..f8345e27
--- /dev/null
+++ b/src/strife.appdata.xml.in
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application>
+ <id type="desktop">@PROGRAM_PREFIX@strife.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <developer_name>@PACKAGE_MAINTAINER@</developer_name>
+ <url type="homepage">@PACKAGE_URL@</url>
+ <url type="bugtracker">@PACKAGE_ISSUES@</url>
+ <description>
+ <p>
+ @PACKAGE_SHORTNAME@ Strife is a conservative,
+ historically-accurate recreation of the Strife engine. It is
+ completely compatible with the original game and mods created
+ with the original engine in mind. Made with a great reverse
+ engineering effort, it has the goal of preserving the original
+ look, feel, limitations, and bugs of the original DOS
+ executable.
+ </p>
+ <p>
+ Full support for single- and multi-player games is provided.
+ Unlike the original executable, network play is implemented on
+ the IP network stack, allowing it to function on modern LANs and
+ the Internet.
+ </p>
+ </description>
+ <screenshots>
+ <!-- TODO: The AppData specification demands that screenshot images be -->
+ <!-- in a 16:9 aspect ratio. We can create some with the Chocolate Doom -->
+ <!-- window centered against a transparent background. -->
+ </screenshots>
+</application>