commit:     84117a49ca5c6fddb9ccae3d05a0478b86600a3e
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 30 06:18:39 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Sep 30 06:26:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84117a49

net-libs/nodejs: Use app-arch/brotli

Closes: https://bugs.gentoo.org/679590
Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --force
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 .../nodejs/{nodejs-12.18.4.ebuild => nodejs-12.18.4-r1.ebuild}     | 2 ++
 .../nodejs/{nodejs-14.13.0.ebuild => nodejs-14.13.0-r1.ebuild}     | 7 ++++++-
 net-libs/nodejs/nodejs-99999999.ebuild                             | 7 ++++++-
 3 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/net-libs/nodejs/nodejs-12.18.4.ebuild 
b/net-libs/nodejs/nodejs-12.18.4-r1.ebuild
similarity index 99%
rename from net-libs/nodejs/nodejs-12.18.4.ebuild
rename to net-libs/nodejs/nodejs-12.18.4-r1.ebuild
index eb3c992aa2b..db33bcfb87c 100644
--- a/net-libs/nodejs/nodejs-12.18.4.ebuild
+++ b/net-libs/nodejs/nodejs-12.18.4-r1.ebuild
@@ -23,6 +23,7 @@ REQUIRED_USE="
 "
 
 RDEPEND="
+       >=app-arch/brotli-1.0.7
        >=dev-libs/libuv-1.39.0:=
        >=net-dns/c-ares-1.16.0
        >=net-libs/http-parser-2.9.3:=
@@ -96,6 +97,7 @@ src_configure() {
        xdg_environment_reset
 
        local myconf=(
+               --shared-brotli
                --shared-cares
                --shared-http-parser
                --shared-libuv

diff --git a/net-libs/nodejs/nodejs-14.13.0.ebuild 
b/net-libs/nodejs/nodejs-14.13.0-r1.ebuild
similarity index 98%
rename from net-libs/nodejs/nodejs-14.13.0.ebuild
rename to net-libs/nodejs/nodejs-14.13.0-r1.ebuild
index 0e7ae978962..1b229989974 100644
--- a/net-libs/nodejs/nodejs-14.13.0.ebuild
+++ b/net-libs/nodejs/nodejs-14.13.0-r1.ebuild
@@ -23,6 +23,7 @@ REQUIRED_USE="
 "
 
 RDEPEND="
+       >=app-arch/brotli-1.0.9
        >=dev-libs/libuv-1.40.0:=
        >=net-dns/c-ares-1.16.1
        >=net-libs/nghttp2-1.41.0
@@ -98,7 +99,11 @@ src_configure() {
        xdg_environment_reset
 
        local myconf=(
-               --shared-cares --shared-libuv --shared-nghttp2 --shared-zlib
+               --shared-brotli
+               --shared-cares
+               --shared-libuv
+               --shared-nghttp2
+               --shared-zlib
        )
        use debug && myconf+=( --debug )
        use icu && myconf+=( --with-intl=system-icu ) || myconf+=( 
--with-intl=none )

diff --git a/net-libs/nodejs/nodejs-99999999.ebuild 
b/net-libs/nodejs/nodejs-99999999.ebuild
index 592f3a25366..87f5c52bddd 100644
--- a/net-libs/nodejs/nodejs-99999999.ebuild
+++ b/net-libs/nodejs/nodejs-99999999.ebuild
@@ -22,6 +22,7 @@ REQUIRED_USE="
 "
 
 RDEPEND="
+       >=app-arch/brotli-1.0.9
        >=dev-libs/libuv-1.40.0:=
        >=net-dns/c-ares-1.16.1
        >=net-libs/nghttp2-1.41.0
@@ -95,7 +96,11 @@ src_configure() {
        xdg_environment_reset
 
        local myconf=(
-               --shared-cares --shared-libuv --shared-nghttp2 --shared-zlib
+               --shared-brotli
+               --shared-cares
+               --shared-libuv
+               --shared-nghttp2
+               --shared-zlib
        )
        use debug && myconf+=( --debug )
        use icu && myconf+=( --with-intl=system-icu ) || myconf+=( 
--with-intl=none )

Reply via email to