nodejs-lts: update to 12.21.0.

This commit is contained in:
John 2021-03-21 19:20:30 +01:00
parent c9671a1e44
commit 3dd720ce75
2 changed files with 9 additions and 4 deletions

View file

@ -1,6 +1,6 @@
# Template file for 'nodejs-lts'
pkgname=nodejs-lts
version=12.20.1
version=12.21.0
revision=1
wrksrc="node-v${version}"
# Need these for host v8 for torque, see https://github.com/nodejs/node/pull/21079
@ -12,12 +12,13 @@ makedepends="libatomic-devel zlib-devel python-devel $(vopt_if icu icu-devel)
$(vopt_if ssl openssl-devel) $(vopt_if libuv libuv-devel)
$(vopt_if http_parser http-parser-devel) $(vopt_if nghttp2 nghttp2-devel)
$(vopt_if cares c-ares-devel) $(vopt_if http_parser llhttp-devel)"
checkdepends="procps-ng"
short_desc="Evented I/O for V8 javascript"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="https://nodejs.org/"
distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz"
checksum=5318a5db1484050430371b77dece281a5b078a14e6962e105aa5790bdb3c3bed
checksum=36e862555bebc04b13f7afebf4472c4dd7ebf4c891f9d6746ec545a4f099d05e
python_version=3
build_options="ssl libuv http_parser icu nghttp2 cares"
@ -27,7 +28,7 @@ desc_option_http_parser="Enable shared http-parser and llhttp"
desc_option_icu="Enable shared icu"
desc_option_nghttp2="Enable shared nghttp2"
desc_option_cares="Enable shared c-ares"
build_options_default="libuv http_parser icu nghttp2 cares"
build_options_default="ssl libuv http_parser icu nghttp2 cares"
replaces="iojs>=0"
conflicts="nodejs nodejs-lts-10"
@ -89,6 +90,10 @@ do_build() {
fi
}
do_check() {
make LD="$CXX" LDFLAGS+=-ldl ${makejobs} V=1 test-only
}
do_install() {
make LD="$CXX" LDFLAGS+=-ldl DESTDIR="$DESTDIR" install
rm $DESTDIR/usr/include/node/openssl -rf

View file

@ -1,2 +1,2 @@
site=https://nodejs.org/dist
pattern='v\K8\.9\.\d(?=\/)'
pattern='v\K12[\d.]+(?=\/)'