summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-12-29 15:12:43 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2015-12-29 15:31:38 -0500
commitcb91080b900eb6671562eb4e27027dd9ba78d86a (patch)
treef69f4af22773c55e6550c730bacfbcc19387aabf /games-rpg/coe2
parentgames-strategy/defcon-demo: add libsdl use deps; tidy (diff)
downloadgentoo-cb91080b900eb6671562eb4e27027dd9ba78d86a.tar.gz
gentoo-cb91080b900eb6671562eb4e27027dd9ba78d86a.tar.bz2
gentoo-cb91080b900eb6671562eb4e27027dd9ba78d86a.zip
games-rpg/coe2: add libsdl use deps; fix save file symlink creation
Package-Manager: portage-2.2.24
Diffstat (limited to 'games-rpg/coe2')
-rw-r--r--games-rpg/coe2/coe2-2007-r1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/games-rpg/coe2/coe2-2007-r1.ebuild b/games-rpg/coe2/coe2-2007-r1.ebuild
index 8d8aefe83bcc..906453ab88f1 100644
--- a/games-rpg/coe2/coe2-2007-r1.ebuild
+++ b/games-rpg/coe2/coe2-2007-r1.ebuild
@@ -15,14 +15,14 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="mirror bindist"
-RDEPEND="media-libs/libsdl"
+RDEPEND="media-libs/libsdl[sound,video]"
DEPEND="${RDEPEND}
app-arch/unzip"
S=${WORKDIR}/coe
# bug #430026
-QA_PREBUILT="/opt/coe2/coe_linux"
+QA_PREBUILT="${GAMES_PREFIX_OPT}/coe2/coe_linux"
src_prepare() {
rm -r *.{dll,exe} old || die
@@ -47,8 +47,8 @@ src_install() {
dodir "${state_dir}"
for slot in {0..4} ; do
f=save${slot}
- dosym "${state_dir}/save${slot}" "${dir}/${f}"
- echo "empty slot ${slot}" > "${D}${state_dir}/${f}" || die "echo"
+ dosym "${state_dir}/save${slot}" "${GAMES_PREFIX_OPT}/${PN}/${f}"
+ echo "empty slot ${slot}" > "${D}${state_dir}/${f}" || die
fperms 660 "${state_dir}/${f}"
done