[arch-commits] Commit in emscripten/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Nov 28 02:01:31 UTC 2020
Date: Saturday, November 28, 2020 @ 02:01:31
Author: svenstaro
Revision: 764962
upgpkg: emscripten 2.0.9-1
Modified:
emscripten/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-28 02:00:40 UTC (rev 764961)
+++ PKGBUILD 2020-11-28 02:01:31 UTC (rev 764962)
@@ -5,19 +5,19 @@
pkgname=emscripten
# NOTE: You need to run ./get-compatible-versions.sh after changing the pkgver!
-_binaryen_revision=5ae1724add800780475e02e05a4af133e3729bd6
-_llvm_project_revision=25a8881b724abf7251a9278e72224af7e82cb9c2
+_binaryen_revision=262bd62777fcde6b930d520e61457699dbb9901e
+_llvm_project_revision=27e9f0f95ef7b144d008bc1cf1459dced6cb5842
# Sadly, upstream currently suggests bundling a binaryen version for the time being:
# https://github.com/emscripten-core/emscripten/issues/12252
# I'm obviously unhappy about that but it appears to be the only practical solution for the time being.
-pkgver=2.0.7
+pkgver=2.0.9
pkgrel=1
pkgdesc="Compile C and C++ into highly-optimizable JavaScript for the web"
arch=('x86_64')
url="http://emscripten.org"
license=('custom')
-depends=('nodejs' 'python' 'which' 'acorn')
-makedepends=('cmake' 'libxml2' 'git' 'ninja')
+depends=('nodejs' 'python' 'which' 'acorn' 'nodejs')
+makedepends=('cmake' 'libxml2' 'git' 'ninja' 'npm')
optdepends=('java-environment: for using clojure'
'ruby: for using websockify addon'
'cmake: for emcc --show-ports')
@@ -28,13 +28,23 @@
git+https://github.com/llvm/llvm-project.git#commit=$_llvm_project_revision
git+https://github.com/WebAssembly/binaryen.git#commit=$_binaryen_revision
"emscripten.sh"
+ https://github.com/emscripten-core/emscripten/pull/12898.patch
+ https://github.com/emscripten-core/emscripten/pull/12899.patch
emscripten-config)
sha512sums=('SKIP'
'SKIP'
'SKIP'
'fbe9b95b8d18e7d0c6ec5fded6f11b72fbe4ddd0391e5704b281ba79c479f3563e82423b790ddf3f0554a23d659193ca898a81fe3db509f16c30c7188b790e4d'
+ 'e86fce6ac840a5f6da4b942827c0060d9180983672e31f79d3eb9e590ef32a63b36529e908214178f6f2c25e015a7eead7aee97fe47592e4ebc82767742cc716'
+ '6d116606af3bac3be485803913632571af2cea0978ed81507c639e75bf69126ead5bee727a2a3c335b65ba02ecdf78edf9b6d72e28e409d6f2f69c547475f688'
'8b5951493f69631045f44736917144b7679beb2bf087fca8a8ba887224cfc598fe8c76c5a4e7aa4a09fbb8f1b7b42556b68f4aa9e5b93fb130fd8bdab79053d9')
+prepare() {
+ cd emscripten
+ patch -Np1 -i "${srcdir}"/12898.patch
+ patch -Np1 -i "${srcdir}"/12899.patch
+}
+
build() {
cd binaryen
cmake . \
@@ -94,7 +104,7 @@
# Install emscripten
cd "$srcdir"/emscripten
- make DESTDIR="$pkgdir"/usr/lib/emscripten install
+ DESTDIR="$pkgdir"/usr/lib/emscripten make install
install -Dm644 "$srcdir"/emscripten-config "$pkgdir"/usr/lib/emscripten/.emscripten
install -d "$pkgdir"/usr/share/doc
More information about the arch-commits
mailing list