Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages /
emscripten
Commits:
9875c1b0 by Sven-Hendrik Haase at 2026-06-04T18:27:25+02:00
upgpkg: 6.0.0-1
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- get-compatible-versions.sh
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = emscripten
pkgdesc = Compile C and C++ into highly-optimizable JavaScript for the
web
- pkgver = 5.0.7
- pkgrel = 2
+ pkgver = 6.0.0
+ pkgrel = 1
url = https://emscripten.org
install = emscripten.install
arch = x86_64
@@ -24,14 +24,14 @@ pkgbase = emscripten
conflicts = binaryen
options = !lto
options = !debug
- source = git+https://github.com/kripken/emscripten#tag=5.0.7
- source =
git+https://github.com/llvm/llvm-project.git#commit=7b58716d96c3ae4c0c4e6f72e29b16137bb6224b
- source =
git+https://github.com/WebAssembly/binaryen.git#commit=c6a5e65b77a4b6e9d72fa7ba674632aba4b99099
+ source = git+https://github.com/kripken/emscripten#tag=6.0.0
+ source =
git+https://github.com/llvm/llvm-project.git#commit=c6c2ad52586c28e74a724570985a48dc0022d250
+ source =
git+https://github.com/WebAssembly/binaryen.git#commit=b9c72894fba2ee5bef8e4002fb176c1917a556ad
source = emscripten.sh
source = emscripten-config
- sha512sums =
6b3e672604888e9e8174113d74d4b081b45173d13344b273afcac9624565ba8b4735e1f254d1dad8ff90dab3bf79fdf08c1ce7c4e632097f5bad9a875522d6a5
- sha512sums =
f61c103742fd8306e355163620a72c37c5a1759a2f67ea70def07f50dfd52fb70a9b29f3dae9a0ac3baff169f35568f97bd301bde14ac76b0e1a82007c60771c
- sha512sums =
89cb75683c03232f19d5d33c8a01371efdb0ba889e09ae8f8b2228b39c927491edf6c1075159ee37d1c397549cd9579513757ed6a35a8c29ff9b864c5ba85fdc
+ sha512sums =
ecbeee1d495a6a733585cecf512161a9f861e784578e2713ad10b55f69968dd2bde3b59a24909ae70290ad31b0ff2f07aa7aa9381a31d01dc54e1a33abc00919
+ sha512sums =
d866386c5b163d49a59ea444249b1e9c7ecf4fa5ab49ded4f770bdc24925f2ef7432fe0eecbe1451edd2db82ceb87ca6da33636f90e9c7f05ac7e0258251b4f5
+ sha512sums =
0c12606e1d0816f87fdead50659017adceabf0c36fb4cf22fbdcdc0b589ff6e925a6a0634d3e9cf917d5109680ef1cf49c422f8254ffe8fdc897e8d078371788
sha512sums =
fbe9b95b8d18e7d0c6ec5fded6f11b72fbe4ddd0391e5704b281ba79c479f3563e82423b790ddf3f0554a23d659193ca898a81fe3db509f16c30c7188b790e4d
sha512sums =
8d22f727e64cace0eb33f049a2902b928c29a6448b05098030858590660f31e1dc142dae55a54bbcb4da09650173f571a64789e0a955aefb449ce0081fb438f9
=====================================
PKGBUILD
=====================================
@@ -5,13 +5,13 @@
pkgname=emscripten
# NOTE: You need to run ./get-compatible-versions.sh after changing the pkgver!
-_binaryen_revision=c6a5e65b77a4b6e9d72fa7ba674632aba4b99099
-_llvm_project_revision=7b58716d96c3ae4c0c4e6f72e29b16137bb6224b
+_binaryen_revision=b9c72894fba2ee5bef8e4002fb176c1917a556ad
+_llvm_project_revision=c6c2ad52586c28e74a724570985a48dc0022d250
# 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=5.0.7
-pkgrel=2
+pkgver=6.0.0
+pkgrel=1
pkgdesc="Compile C and C++ into highly-optimizable JavaScript for the web"
arch=('x86_64')
url="https://emscripten.org"
@@ -30,16 +30,16 @@
source=("git+https://github.com/kripken/emscripten#tag=$pkgver"
git+https://github.com/WebAssembly/binaryen.git#commit=$_binaryen_revision
"emscripten.sh"
emscripten-config)
-sha512sums=('6b3e672604888e9e8174113d74d4b081b45173d13344b273afcac9624565ba8b4735e1f254d1dad8ff90dab3bf79fdf08c1ce7c4e632097f5bad9a875522d6a5'
-
'f61c103742fd8306e355163620a72c37c5a1759a2f67ea70def07f50dfd52fb70a9b29f3dae9a0ac3baff169f35568f97bd301bde14ac76b0e1a82007c60771c'
-
'89cb75683c03232f19d5d33c8a01371efdb0ba889e09ae8f8b2228b39c927491edf6c1075159ee37d1c397549cd9579513757ed6a35a8c29ff9b864c5ba85fdc'
+sha512sums=('ecbeee1d495a6a733585cecf512161a9f861e784578e2713ad10b55f69968dd2bde3b59a24909ae70290ad31b0ff2f07aa7aa9381a31d01dc54e1a33abc00919'
+
'd866386c5b163d49a59ea444249b1e9c7ecf4fa5ab49ded4f770bdc24925f2ef7432fe0eecbe1451edd2db82ceb87ca6da33636f90e9c7f05ac7e0258251b4f5'
+
'0c12606e1d0816f87fdead50659017adceabf0c36fb4cf22fbdcdc0b589ff6e925a6a0634d3e9cf917d5109680ef1cf49c422f8254ffe8fdc897e8d078371788'
'fbe9b95b8d18e7d0c6ec5fded6f11b72fbe4ddd0391e5704b281ba79c479f3563e82423b790ddf3f0554a23d659193ca898a81fe3db509f16c30c7188b790e4d'
'8d22f727e64cace0eb33f049a2902b928c29a6448b05098030858590660f31e1dc142dae55a54bbcb4da09650173f571a64789e0a955aefb449ce0081fb438f9')
build() {
cd binaryen
- export CXXFLAGS+=" -Wno-error=maybe-uninitialized"
+ export CXXFLAGS+=" -Wno-error=array-bounds"
cmake \
-Bbuild \
-GNinja \
=====================================
get-compatible-versions.sh
=====================================
@@ -6,6 +6,7 @@
# Change pkgver in PKGBUILD to desired version and then run
./get-compatible-versions.sh.
# This will fetch, print and substitute into the PKGBUILD the compatible
binaryen and llvm versions.
+updpkgsums # To download the package sources
pkgver=$(makepkg --printsrcinfo | sed -rn 's/.*pkgver = (.*)/\1/gp')
tag_hash=$(curl -Ls
https://github.com/emscripten-core/emsdk/raw/main/emscripten-releases-tags.json
| jq ".releases[\"$pkgver\"]" | sed s/\"//g)
deps_file=$(curl -Ls
"https://chromium.googlesource.com/emscripten-releases/+/$tag_hash/DEPS?format=TEXT"
| base64 -d)
@@ -13,3 +14,4 @@ binaryen_revision=$(echo "$deps_file" | sed -rn
"s/.*'binaryen_revision': '(.*)'
llvm_project_revision=$(echo "$deps_file" | sed -rn
"s/.*'llvm_project_revision': '(.*)',/\\1/gp")
sed -i "s/_binaryen_revision=.*/_binaryen_revision=$binaryen_revision/g"
PKGBUILD
sed -i
"s/_llvm_project_revision=.*/_llvm_project_revision=$llvm_project_revision/g"
PKGBUILD
+updpkgsums # Get checksums of the related repos
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/emscripten/-/commit/9875c1b0d157b56558286deea1f89fb8ba53eede
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/emscripten/-/commit/9875c1b0d157b56558286deea1f89fb8ba53eede
You're receiving this email because of your account on gitlab.archlinux.org.
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications
| Help: https://gitlab.archlinux.org/help