1 |
commit: be214f59a2387da65ae4665cbe1639a9c3e6bb42 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 28 22:32:40 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 28 23:04:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be214f59 |
7 |
|
8 |
games-strategy/0ad: use multiprocessing.eclass |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
games-strategy/0ad/0ad-0.0.24b_alpha.ebuild | 8 ++++---- |
13 |
1 file changed, 4 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/games-strategy/0ad/0ad-0.0.24b_alpha.ebuild b/games-strategy/0ad/0ad-0.0.24b_alpha.ebuild |
16 |
index 1a15d95383c..cde93c077b3 100644 |
17 |
--- a/games-strategy/0ad/0ad-0.0.24b_alpha.ebuild |
18 |
+++ b/games-strategy/0ad/0ad-0.0.24b_alpha.ebuild |
19 |
@@ -5,7 +5,7 @@ EAPI=7 |
20 |
|
21 |
WX_GTK_VER="3.0-gtk3" |
22 |
|
23 |
-inherit desktop toolchain-funcs wxwidgets xdg |
24 |
+inherit desktop toolchain-funcs multiprocessing wxwidgets xdg |
25 |
|
26 |
if [[ ${PV} == 9999 ]]; then |
27 |
inherit git-r3 |
28 |
@@ -145,7 +145,7 @@ src_compile() { |
29 |
if use nvtt ; then |
30 |
cd libraries/source/nvtt || die |
31 |
elog "Building bundled nvtt (bug #768930)" |
32 |
- ./build.sh JOBS="-j3" || die "Failed to build bundled nvtt" |
33 |
+ ./build.sh JOBS="-j$(makeopts_jobs)" || die "Failed to build bundled nvtt" |
34 |
cd "${S}" || die |
35 |
fi |
36 |
|
37 |
@@ -155,12 +155,12 @@ src_compile() { |
38 |
# e.g. bug #768840. |
39 |
cd libraries/source/spidermonkey || die |
40 |
elog "Building bundled SpiderMonkey (bug #768840)" |
41 |
- XARGS="${EPREFIX}/usr/bin/xargs" ./build.sh JOBS="-j3" || die "Failed to build bundled SpiderMonkey" |
42 |
+ XARGS="${EPREFIX}/usr/bin/xargs" ./build.sh JOBS="-j(makeopts_jobs)" || die "Failed to build bundled SpiderMonkey" |
43 |
cd "${S}" || die |
44 |
|
45 |
# build 0ad |
46 |
elog "Building 0ad" |
47 |
- emake -C build/workspaces/gcc verbose=1 JOBS="-j3" |
48 |
+ emake -C build/workspaces/gcc verbose=1 JOBS="-j$(makeopts_jobs)" |
49 |
|
50 |
# Merged from 0ad-data |
51 |
# bug #771147 (comment 3) |