|
Lines 16-22
Link Here
|
| 16 |
ESVN_REPO_URI="http://svn.wildfiregames.com/public/ps/trunk" |
16 |
ESVN_REPO_URI="http://svn.wildfiregames.com/public/ps/trunk" |
| 17 |
|
17 |
|
| 18 |
LICENSE="GPL-2 LGPL-2.1 MIT CC-BY-SA-3.0 as-is" |
18 |
LICENSE="GPL-2 LGPL-2.1 MIT CC-BY-SA-3.0 as-is" |
| 19 |
SLOT="0" |
19 |
SLOT="svn" |
| 20 |
KEYWORDS="" |
20 |
KEYWORDS="" |
| 21 |
IUSE="+audio editor fam pch test" |
21 |
IUSE="+audio editor fam pch test" |
| 22 |
|
22 |
|
|
Lines 24-30
Link Here
|
| 24 |
~dev-lang/spidermonkey-1.8.5 |
24 |
~dev-lang/spidermonkey-1.8.5 |
| 25 |
dev-libs/boost |
25 |
dev-libs/boost |
| 26 |
dev-libs/libxml2 |
26 |
dev-libs/libxml2 |
| 27 |
!games-strategy/0ad-data |
|
|
| 28 |
media-gfx/nvidia-texture-tools |
27 |
media-gfx/nvidia-texture-tools |
| 29 |
media-libs/libpng:0 |
28 |
media-libs/libpng:0 |
| 30 |
media-libs/libsdl[X,opengl,video] |
29 |
media-libs/libsdl[X,opengl,video] |
|
Lines 70-77
Link Here
|
| 70 |
$(usex audio "" "--without-audio") \ |
69 |
$(usex audio "" "--without-audio") \ |
| 71 |
$(use_enable editor atlas) \ |
70 |
$(use_enable editor atlas) \ |
| 72 |
--bindir="${GAMES_BINDIR}" \ |
71 |
--bindir="${GAMES_BINDIR}" \ |
| 73 |
--libdir="$(games_get_libdir)"/${PN} \ |
72 |
--libdir="$(games_get_libdir)"/${PN}-${SLOT} \ |
| 74 |
--datadir="${GAMES_DATADIR}"/${PN} |
73 |
--datadir="${GAMES_DATADIR}"/${PN}-${SLOT} |
| 75 |
} |
74 |
} |
| 76 |
|
75 |
|
| 77 |
src_compile() { |
76 |
src_compile() { |
|
Lines 85-106
Link Here
|
| 85 |
|
84 |
|
| 86 |
src_install() { |
85 |
src_install() { |
| 87 |
# data |
86 |
# data |
| 88 |
insinto "${GAMES_DATADIR}"/${PN} |
87 |
insinto "${GAMES_DATADIR}"/${PN}-${SLOT} |
| 89 |
doins -r binaries/data/* |
88 |
doins -r binaries/data/* |
| 90 |
|
89 |
|
| 91 |
# bin |
90 |
# bin |
| 92 |
dogamesbin binaries/system/pyrogenesis |
91 |
newgamesbin binaries/system/pyrogenesis 0ad-${SLOT} |
| 93 |
|
92 |
|
| 94 |
# libs |
93 |
# libs |
| 95 |
exeinto "$(games_get_libdir)"/${PN} |
94 |
exeinto "$(games_get_libdir)"/${PN}-${SLOT} |
| 96 |
doexe binaries/system/libCollada.so |
95 |
doexe binaries/system/libCollada.so |
| 97 |
use editor && doexe binaries/system/libAtlasUI.so |
96 |
use editor && doexe binaries/system/libAtlasUI.so |
| 98 |
|
97 |
|
| 99 |
# other |
98 |
# other |
| 100 |
dodoc binaries/system/readme.txt |
99 |
dodoc binaries/system/readme.txt |
| 101 |
doicon build/resources/${PN}.png |
100 |
newicon build/resources/${PN}.png ${PN}-${SLOT}.png |
| 102 |
games_make_wrapper ${PN} "${GAMES_BINDIR}/pyrogenesis" |
101 |
make_desktop_entry ${PN}-${SLOT} "0 A.D. (svn)" |
| 103 |
make_desktop_entry ${PN} "0 A.D." |
|
|
| 104 |
|
102 |
|
| 105 |
# permissions |
103 |
# permissions |
| 106 |
prepgamesdirs |
104 |
prepgamesdirs |