commit:     b8fcc6973b4af6f150a468ade33ad6f58bf9a933
Author:     Alexander Turenko <totktonada.ru <AT> gmail <DOT> com>
AuthorDate: Thu Dec 29 17:15:09 2016 +0000
Commit:     Alexander Turenko <totktonada.ru <AT> gmail <DOT> com>
CommitDate: Thu Dec 29 22:28:43 2016 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=b8fcc697

games-action/descent1-data: updated URL, fix GOG install

GOG setup file doesn't need the patch, but -cdinstall assumes
RESTRICT=fetch and it was required manual downloading for the patch.

 games-action/descent1-data/descent1-data-1.0-r1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/games-action/descent1-data/descent1-data-1.0-r1.ebuild 
b/games-action/descent1-data/descent1-data-1.0-r1.ebuild
index 4509d1b..9b0cf82 100644
--- a/games-action/descent1-data/descent1-data-1.0-r1.ebuild
+++ b/games-action/descent1-data/descent1-data-1.0-r1.ebuild
@@ -12,7 +12,7 @@ MY_EXE="setup_descent_1_2.exe"
 
 DESCRIPTION="Data files for Descent 1"
 HOMEPAGE="http://www.interplay.com/games/support.php?id=263";
-SRC_URI="http://www.dxx-rebirth.com/download/dxx/res/d1datapt.zip
+SRC_URI="cdinstall? ( 
http://www.dxx-rebirth.com/download/dxx/misc/descent-game-content-10to14a-patch.zip
 )
        !cdinstall? ( $MY_EXE )"
 
 # See readme.txt
@@ -102,7 +102,10 @@ src_unpack() {
        mv missions/descent.pig . || die 'descent.pig not found'
 
        # Unpack data file patches
-       unpack d1datapt.zip
+       if use cdinstall; then
+               mkdir d1datapt && cd d1datapt
+               unpack ../descent-game-content-10to14a-patch.zip
+       fi
 
        mkdir doc || die "mkdir doc failed"
        mv missions/*.txt missions/*.pdf doc/ # ignore fail

Reply via email to