summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-04-27 18:40:47 +0200
committerMichał Górny <mgorny@gentoo.org>2017-05-16 19:11:28 +0200
commitf7a6a18eaf91ef20a841417e1c7eddfb569810c2 (patch)
treebad33cbd3ee25347b8cfdc853c916dd0047ff5db /www-client
parentsys-apps/systemd: Use eninja from ninja-utils (diff)
downloadgentoo-f7a6a18eaf91ef20a841417e1c7eddfb569810c2.tar.gz
gentoo-f7a6a18eaf91ef20a841417e1c7eddfb569810c2.tar.bz2
gentoo-f7a6a18eaf91ef20a841417e1c7eddfb569810c2.zip
www-client/chromium: Use eninja from ninja-utils
Diffstat (limited to 'www-client')
-rw-r--r--www-client/chromium/chromium-59.0.3071.47.ebuild19
-rw-r--r--www-client/chromium/chromium-60.0.3095.5.ebuild19
2 files changed, 2 insertions, 36 deletions
diff --git a/www-client/chromium/chromium-59.0.3071.47.ebuild b/www-client/chromium/chromium-59.0.3071.47.ebuild
index 909ae41ab28d..cb5041167a2d 100644
--- a/www-client/chromium/chromium-59.0.3071.47.ebuild
+++ b/www-client/chromium/chromium-59.0.3071.47.ebuild
@@ -8,7 +8,7 @@ CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he
hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
sv sw ta te th tr uk vi zh-CN zh-TW"
-inherit check-reqs chromium-2 eutils gnome2-utils flag-o-matic multilib multiprocessing pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs versionator virtualx xdg-utils
+inherit check-reqs chromium-2 eutils gnome2-utils flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs versionator virtualx xdg-utils
DESCRIPTION="Open-source version of Google Chrome web browser"
HOMEPAGE="http://chromium.org/"
@@ -504,23 +504,6 @@ src_configure() {
out/Release/gn gen --args="${myconf_gn}" out/Release || die
}
-eninja() {
- if [[ -z ${NINJAOPTS+set} ]]; then
- local jobs=$(makeopts_jobs)
- local loadavg=$(makeopts_loadavg)
-
- if [[ ${MAKEOPTS} == *-j* && ${jobs} != 999 ]]; then
- NINJAOPTS+=" -j ${jobs}"
- fi
- if [[ ${MAKEOPTS} == *-l* && ${loadavg} != 999 ]]; then
- NINJAOPTS+=" -l ${loadavg}"
- fi
- fi
- set -- ninja -v ${NINJAOPTS} "$@"
- echo "$@"
- "$@"
-}
-
src_compile() {
local ninja_targets="chrome chromedriver"
if use suid; then
diff --git a/www-client/chromium/chromium-60.0.3095.5.ebuild b/www-client/chromium/chromium-60.0.3095.5.ebuild
index 1a29ba35961c..210fb31567be 100644
--- a/www-client/chromium/chromium-60.0.3095.5.ebuild
+++ b/www-client/chromium/chromium-60.0.3095.5.ebuild
@@ -8,7 +8,7 @@ CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he
hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
sv sw ta te th tr uk vi zh-CN zh-TW"
-inherit check-reqs chromium-2 eutils gnome2-utils flag-o-matic multilib multiprocessing pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs versionator virtualx xdg-utils
+inherit check-reqs chromium-2 eutils gnome2-utils flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs versionator virtualx xdg-utils
DESCRIPTION="Open-source version of Google Chrome web browser"
HOMEPAGE="http://chromium.org/"
@@ -510,23 +510,6 @@ src_configure() {
out/Release/gn gen --args="${myconf_gn}" out/Release || die
}
-eninja() {
- if [[ -z ${NINJAOPTS+set} ]]; then
- local jobs=$(makeopts_jobs)
- local loadavg=$(makeopts_loadavg)
-
- if [[ ${MAKEOPTS} == *-j* && ${jobs} != 999 ]]; then
- NINJAOPTS+=" -j ${jobs}"
- fi
- if [[ ${MAKEOPTS} == *-l* && ${loadavg} != 999 ]]; then
- NINJAOPTS+=" -l ${loadavg}"
- fi
- fi
- set -- ninja -v ${NINJAOPTS} "$@"
- echo "$@"
- "$@"
-}
-
src_compile() {
local ninja_targets="chrome chromedriver"
if use suid; then