[quake] 01/03: quake: add a shortcut for Quake Episode 5: Dimensions of the Past
Simon McVittie
smcv at debian.org
Wed Jun 29 09:20:15 UTC 2016
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch master
in repository quake.
commit a3fc270fefa6a987d0beee55ee42b95ff41d8bb9
Author: Simon McVittie <smcv at debian.org>
Date: Wed Jun 29 09:44:16 2016 +0100
quake: add a shortcut for Quake Episode 5: Dimensions of the Past
---
debian/changelog | 1 +
debian/control | 5 ++++-
debian/quake.install | 1 +
debian/quake.links | 1 +
quake-dopa.desktop | 10 ++++++++++
quake.6 | 5 +++--
quake.in | 4 ++++
7 files changed, 24 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 6239f7d..f509995 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ quake (18) UNRELEASED; urgency=medium
* quake4 AppArmor: allow additional video device enumeration
* quake4 AppArmor: allow reading /etc/machine-id, used by PulseAudio
* quake4 AppArmor: allow mmapping ~/.quake4/*/gamex86.so
+ * quake: add a shortcut for Quake Episode 5: Dimensions of the Past
-- Simon McVittie <smcv at debian.org> Tue, 31 May 2016 08:35:37 +0100
diff --git a/debian/control b/debian/control
index 88c2490..b5ce0d7 100644
--- a/debian/control
+++ b/debian/control
@@ -86,6 +86,7 @@ Suggests:
quake-armagon-music,
quake-dissolution (>= 29),
quake-dissolution-music,
+ quake-dopa (>= 45),
quake-music,
Description: classic gothic/horror-themed first person shooter
Quake is a classic first-person shooter game by id Software,
@@ -101,7 +102,9 @@ Description: classic gothic/horror-themed first person shooter
.
Creating quake-shareware requires the shareware version of Quake.
.
- game-data-packager (>= 29) can also produce packages for the official mission
+ game-data-packager (>= 45) can also produce packages for the official Episode
+ 5, Dimensions of the Past (developed by MachineGames to mark Quake's 20th
+ anniversary), and for the official mission
packs Scourge of Armagon (developed by Hipnotic Software) and Dissolution
of Eternity (developed by Rogue Entertainment). Additional menu entries
should appear automatically if those expansions are installed.
diff --git a/debian/quake.install b/debian/quake.install
index 3eb9571..5d0a2e0 100644
--- a/debian/quake.install
+++ b/debian/quake.install
@@ -18,4 +18,5 @@ build/quake.svg /usr/share/icons/hicolor/scalable/apps
need-data.sh /usr/share/games/quake
quake-armagon.desktop /usr/share/applications
quake-dissolution.desktop /usr/share/applications
+quake-dopa.desktop /usr/share/applications
quake.desktop /usr/share/applications
diff --git a/debian/quake.links b/debian/quake.links
index 684885f..9022cb5 100644
--- a/debian/quake.links
+++ b/debian/quake.links
@@ -1,2 +1,3 @@
usr/games/quake usr/share/games/quake/quake-armagon
usr/games/quake usr/share/games/quake/quake-dissolution
+usr/games/quake usr/share/games/quake/quake-dopa
diff --git a/quake-dopa.desktop b/quake-dopa.desktop
new file mode 100644
index 0000000..1a89b4c
--- /dev/null
+++ b/quake-dopa.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Quake 1 Ep5: Dimensions of the Past
+Comment=Episode 5, released to mark the 20th anniversary of the classic first person shooter
+Icon=quake
+TryExec=/usr/share/games/quake/dopa/tryexec
+Exec=/usr/share/games/quake/quake-dopa
+Categories=Game;ActionGame;
+Keywords=first person shooter;fps;3d;deathmatch;machinegames;machine games;episode 5;
diff --git a/quake.6 b/quake.6
index 2699e7f..47f80ea 100644
--- a/quake.6
+++ b/quake.6
@@ -47,8 +47,9 @@ Additionally, if \fBquake\fR is run via a symbolic link whose name contains
\fBarmagon\fR, \fBhipnotic\fR, \fBdissolution\fR or \fBrogue\fR,
it will play one of the Quake mission packs, \fBScourge of Armagon\fR
(by Hipnotic Software) or \fBDissolution of Eternity\fR (by Rogue
-Entertainment). This requires that additional data files are
-installed.
+Entertainment). Similarly, if run via a symbolic link whose name contains
+\fBdopa\fR it will play Quake Episode 5: Dimensions of the Past (by
+MachineGames). This requires that additional data files are installed.
.SH OPTIONS
These options are accepted for \fBWRAPPER-OPTIONS\fR in the
synopsis.
diff --git a/quake.in b/quake.in
index ff7f4c3..0ae7af7 100644
--- a/quake.in
+++ b/quake.in
@@ -20,6 +20,10 @@ main() {
set _ "$@" -rogue
shift
;;
+ (*dopa*)
+ set _ "$@" -game dopa
+ shift
+ ;;
esac
while [ $# -gt 0 ]; do
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/quake.git
More information about the Pkg-games-commits
mailing list