|
Line
Link Here
|
| 0 |
-- katawa-shoujo-1.2.ebuild |
0 |
++ katawa-shoujo-1.2.ebuild |
|
Lines 17-22
Link Here
|
| 17 |
KEYWORDS="~amd64 ~x86" |
17 |
KEYWORDS="~amd64 ~x86" |
| 18 |
IUSE="doc system-renpy" |
18 |
IUSE="doc system-renpy" |
| 19 |
|
19 |
|
|
|
20 |
DEPEND="dev-util/patchelf" |
| 21 |
|
| 20 |
# make system-renpy optional due to #459742 :( |
22 |
# make system-renpy optional due to #459742 :( |
| 21 |
RDEPEND="system-renpy? ( games-engines/renpy ) |
23 |
RDEPEND="system-renpy? ( games-engines/renpy ) |
| 22 |
!system-renpy? ( |
24 |
!system-renpy? ( |
|
Lines 30-35
Link Here
|
| 30 |
|
32 |
|
| 31 |
S="${WORKDIR}/Katawa Shoujo-linux-x86" |
33 |
S="${WORKDIR}/Katawa Shoujo-linux-x86" |
| 32 |
|
34 |
|
|
|
35 |
src_prepare() { |
| 36 |
# Set RPATH for preserve-libs handling (bug #528086). |
| 37 |
local x |
| 38 |
while read -r x ; do |
| 39 |
# Use \x7fELF header to separate ELF executables and libraries |
| 40 |
[[ $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue |
| 41 |
patchelf --set-rpath \ |
| 42 |
"${EPREFIX}${GAMES_PREFIX_OPT}/${PN}/lib" "${x}" || \ |
| 43 |
die "patchelf failed on ${x}" |
| 44 |
done < <(find . -type f) |
| 45 |
} |
| 46 |
|
| 33 |
src_install() { |
47 |
src_install() { |
| 34 |
if use system-renpy ; then |
48 |
if use system-renpy ; then |
| 35 |
insinto "${GAMES_DATADIR}/${PN}" |
49 |
insinto "${GAMES_DATADIR}/${PN}" |