Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 689124 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-7 / +5 lines)
Line  Link Here
0
-- games-strategy/0ad/0ad-0.0.23b_alpha.ebuild
0
++ games-strategy/0ad/0ad-0.0.23b_alpha.ebuild
Lines 22-27 Link Here
22
RESTRICT="test"
22
RESTRICT="test"
23
23
24
RDEPEND="
24
RDEPEND="
25
	dev-lang/spidermonkey:38
25
	dev-libs/boost:=
26
	dev-libs/boost:=
26
	dev-libs/icu:=
27
	dev-libs/icu:=
27
	dev-libs/libsodium
28
	dev-libs/libsodium
Lines 63-68 Link Here
63
	local myconf=(
64
	local myconf=(
64
		--with-system-nvtt
65
		--with-system-nvtt
65
		--with-system-miniupnpc
66
		--with-system-miniupnpc
67
		--with-system-mozjs38
66
		--minimal-flags
68
		--minimal-flags
67
		$(usex nvtt "" "--without-nvtt")
69
		$(usex nvtt "" "--without-nvtt")
68
		$(usex pch "" "--without-pch")
70
		$(usex pch "" "--without-pch")
Lines 100-114 Link Here
100
src_compile() {
102
src_compile() {
101
	tc-export AR
103
	tc-export AR
102
104
103
	# build bundled and patched spidermonkey
104
	cd libraries/source/spidermonkey || die
105
	JOBS="${MAKEOPTS}" ./build.sh || die
106
	cd "${S}" || die
107
108
	# build 3rd party fcollada
105
	# build 3rd party fcollada
109
	emake -C libraries/source/fcollada/src
106
	emake -C libraries/source/fcollada/src
110
107
111
	# build 0ad
108
	# build 0ad
109
	CFLAGS="${CFLAGS} -I/usr/include/mozjs-38/"
110
	CXXFLAGS="${CXXFLAGS} -I/usr/include/mozjs-38/"
112
	emake -C build/workspaces/gcc verbose=1
111
	emake -C build/workspaces/gcc verbose=1
113
}
112
}
114
113
Lines 126-132 Link Here
126
125
127
	exeinto /usr/$(get_libdir)/${PN}
126
	exeinto /usr/$(get_libdir)/${PN}
128
	doexe binaries/system/libCollada.so
127
	doexe binaries/system/libCollada.so
129
	doexe libraries/source/spidermonkey/lib/*.so
130
	use editor && doexe binaries/system/libAtlasUI.so
128
	use editor && doexe binaries/system/libAtlasUI.so
131
129
132
	dodoc binaries/system/readme.txt
130
	dodoc binaries/system/readme.txt

Return to bug 689124