From: Michael Sterrett Date: Tue, 29 Dec 2015 20:12:43 +0000 (-0500) Subject: games-rpg/coe2: add libsdl use deps; fix save file symlink creation X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cb91080b900eb6671562eb4e27027dd9ba78d86a;p=gentoo.git games-rpg/coe2: add libsdl use deps; fix save file symlink creation Package-Manager: portage-2.2.24 --- 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