Gentoo Archives: gentoo-commits

From: Michael Sterrett <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/coe2/
Date: Tue, 29 Dec 2015 20:32:13
Message-Id: 1451421098.cb91080b900eb6671562eb4e27027dd9ba78d86a.mr_bones_@gentoo
1 commit: cb91080b900eb6671562eb4e27027dd9ba78d86a
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 29 20:12:43 2015 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 29 20:31:38 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb91080b
7
8 games-rpg/coe2: add libsdl use deps; fix save file symlink creation
9
10 Package-Manager: portage-2.2.24
11
12 games-rpg/coe2/coe2-2007-r1.ebuild | 8 ++++----
13 1 file changed, 4 insertions(+), 4 deletions(-)
14
15 diff --git a/games-rpg/coe2/coe2-2007-r1.ebuild b/games-rpg/coe2/coe2-2007-r1.ebuild
16 index 8d8aefe..906453a 100644
17 --- a/games-rpg/coe2/coe2-2007-r1.ebuild
18 +++ b/games-rpg/coe2/coe2-2007-r1.ebuild
19 @@ -15,14 +15,14 @@ KEYWORDS="~amd64 ~x86"
20 IUSE=""
21 RESTRICT="mirror bindist"
22
23 -RDEPEND="media-libs/libsdl"
24 +RDEPEND="media-libs/libsdl[sound,video]"
25 DEPEND="${RDEPEND}
26 app-arch/unzip"
27
28 S=${WORKDIR}/coe
29
30 # bug #430026
31 -QA_PREBUILT="/opt/coe2/coe_linux"
32 +QA_PREBUILT="${GAMES_PREFIX_OPT}/coe2/coe_linux"
33
34 src_prepare() {
35 rm -r *.{dll,exe} old || die
36 @@ -47,8 +47,8 @@ src_install() {
37 dodir "${state_dir}"
38 for slot in {0..4} ; do
39 f=save${slot}
40 - dosym "${state_dir}/save${slot}" "${dir}/${f}"
41 - echo "empty slot ${slot}" > "${D}${state_dir}/${f}" || die "echo"
42 + dosym "${state_dir}/save${slot}" "${GAMES_PREFIX_OPT}/${PN}/${f}"
43 + echo "empty slot ${slot}" > "${D}${state_dir}/${f}" || die
44 fperms 660 "${state_dir}/${f}"
45 done