Gentoo Archives: gentoo-commits

From: Alexander Turenko <totktonada.ru@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-action/descent1-data/
Date: Thu, 29 Dec 2016 23:30:17
Message-Id: 1483050523.b8fcc6973b4af6f150a468ade33ad6f58bf9a933.totktonada@gentoo
1 commit: b8fcc6973b4af6f150a468ade33ad6f58bf9a933
2 Author: Alexander Turenko <totktonada.ru <AT> gmail <DOT> com>
3 AuthorDate: Thu Dec 29 17:15:09 2016 +0000
4 Commit: Alexander Turenko <totktonada.ru <AT> gmail <DOT> com>
5 CommitDate: Thu Dec 29 22:28:43 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=b8fcc697
7
8 games-action/descent1-data: updated URL, fix GOG install
9
10 GOG setup file doesn't need the patch, but -cdinstall assumes
11 RESTRICT=fetch and it was required manual downloading for the patch.
12
13 games-action/descent1-data/descent1-data-1.0-r1.ebuild | 7 +++++--
14 1 file changed, 5 insertions(+), 2 deletions(-)
15
16 diff --git a/games-action/descent1-data/descent1-data-1.0-r1.ebuild b/games-action/descent1-data/descent1-data-1.0-r1.ebuild
17 index 4509d1b..9b0cf82 100644
18 --- a/games-action/descent1-data/descent1-data-1.0-r1.ebuild
19 +++ b/games-action/descent1-data/descent1-data-1.0-r1.ebuild
20 @@ -12,7 +12,7 @@ MY_EXE="setup_descent_1_2.exe"
21
22 DESCRIPTION="Data files for Descent 1"
23 HOMEPAGE="http://www.interplay.com/games/support.php?id=263"
24 -SRC_URI="http://www.dxx-rebirth.com/download/dxx/res/d1datapt.zip
25 +SRC_URI="cdinstall? ( http://www.dxx-rebirth.com/download/dxx/misc/descent-game-content-10to14a-patch.zip )
26 !cdinstall? ( $MY_EXE )"
27
28 # See readme.txt
29 @@ -102,7 +102,10 @@ src_unpack() {
30 mv missions/descent.pig . || die 'descent.pig not found'
31
32 # Unpack data file patches
33 - unpack d1datapt.zip
34 + if use cdinstall; then
35 + mkdir d1datapt && cd d1datapt
36 + unpack ../descent-game-content-10to14a-patch.zip
37 + fi
38
39 mkdir doc || die "mkdir doc failed"
40 mv missions/*.txt missions/*.pdf doc/ # ignore fail