commit: cb91080b900eb6671562eb4e27027dd9ba78d86a
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 29 20:12:43 2015 +0000
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 20:31:38 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb91080b
games-rpg/coe2: add libsdl use deps; fix save file symlink creation
Package-Manager: portage-2.2.24
games-rpg/coe2/coe2-2007-r1.ebuild | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/games-rpg/coe2/coe2-2007-r1.ebuild
b/games-rpg/coe2/coe2-2007-r1.ebuild
index 8d8aefe..906453a 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