[game-data-packager] 03/03: hexen2: Allow auto-download of hexen2-hexenworld-data

Simon McVittie smcv at debian.org
Mon Dec 4 10:41:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch master
in repository game-data-packager.

commit 82fb1eaaa3b76d93bd08b4d27fc5f60c3ddc7b29
Author: Simon McVittie <smcv at debian.org>
Date:   Mon Dec 4 10:35:01 2017 +0000

    hexen2: Allow auto-download of hexen2-hexenworld-data
    
    This is only done if specifically requested or if the pak file or tarball
    is found, using the new activated_by feature.
    
    Signed-off-by: Simon McVittie <smcv at debian.org>
---
 data/hexen2.yaml | 8 ++++----
 debian/changelog | 2 ++
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/data/hexen2.yaml b/data/hexen2.yaml
index b95c1d7..d10f290 100644
--- a/data/hexen2.yaml
+++ b/data/hexen2.yaml
@@ -51,15 +51,15 @@ packages:
     install_to: $assets/hexen2
     install:
     - hw/pak4.pak
+    activated_by:
+    - hw/pak4.pak
+    - hexenworld-pakfiles-0.15.tgz
 
 files:
   hexenworld-pakfiles-0.15.tgz:
     provides:
     - hw/pak4.pak
-    # FIXME: if we list this as downloadable, then g-d-p will download it
-    # every time we try to package something else. Downloadable expansions
-    # should be a little less enthusiastic (#775080)
-    #download: http://downloads.sourceforge.net/project/uhexen2/Hexen2%20GameData/hexenworld-pakfiles/hexenworld-pakfiles-0.15.tgz?r=http%3A%2F%2Fuhexen2.sourceforge.net%2Fdownload.html
+    download: http://downloads.sourceforge.net/project/uhexen2/Hexen2%20GameData/hexenworld-pakfiles/hexenworld-pakfiles-0.15.tgz?r=http%3A%2F%2Fuhexen2.sourceforge.net%2Fdownload.html
     unpack:
       format: tar.gz
 
diff --git a/debian/changelog b/debian/changelog
index 81ac7fb..f53a529 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ game-data-packager (55) UNRELEASED; urgency=medium
     - Add support for expansions that are only downloaded if specifically
       requested, or if an important file from that expansion is found
       (Closes: #775080) [smcv]
+    - hexen2: Allow auto-download of hexen2-hexenworld-data, but only if
+      specifically requested or if the pak file or tarball is found [smcv]
     - Review of the French manpage [nyav]
     - unreal, ut99: adjust to web.archive.org behaviour changes
       (Closes: #882712) [smcv]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list