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

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

commit 0923bdc497461ffe020f2bea4e73bcb0af320954
Author: Alexandre Detiste <[email protected]>
Date:   Mon Apr 27 10:44:18 2015 +0200

    unace-nonfree: only unpack usefull files
---
 data/arx.yaml                  | 8 ++++++++
 game_data_packager/__init__.py | 3 ++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/data/arx.yaml b/data/arx.yaml
index 7040264..26c5547 100644
--- a/data/arx.yaml
+++ b/data/arx.yaml
@@ -377,6 +377,14 @@ files:
   arx_demo_german.exe:
     unpack:
       format: unace-nonfree
+      unpack:
+      - Setup1.cab
+      - Setup2.cab
+      - Setup3.cab
+      - arx.ttf
+      - logo.bmp
+      - data2.pak
+      - loc.pak
     provides:
     - Setup1.cab_de
     - Setup2.cab_de
diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index 41c43f7..ce163c4 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -1526,7 +1526,8 @@ class GameData(object):
                             provider_name + '.d')
                     mkdir_p(tmpdir)
                     subprocess.check_call(['unace', 'x',
-                             os.path.abspath(found_name)], cwd=tmpdir)
+                             os.path.abspath(found_name)] +
+                             list(to_unpack), cwd=tmpdir)
                     self.consider_file_or_dir(tmpdir)
                 elif fmt == 'unrar-nonfree':
                     to_unpack = provider.unpack.get('unpack', 
provider.provides)

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

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to