[arch-commits] Commit in emscripten/trunk (PKGBUILD get-compatible-versions.sh)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Wed Nov 24 15:40:50 UTC 2021


    Date: Wednesday, November 24, 2021 @ 15:40:50
  Author: svenstaro
Revision: 1054704

upgpkg: emscripten 3.0.0-1

Modified:
  emscripten/trunk/PKGBUILD
  emscripten/trunk/get-compatible-versions.sh

----------------------------+
 PKGBUILD                   |    8 ++++----
 get-compatible-versions.sh |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-24 14:37:02 UTC (rev 1054703)
+++ PKGBUILD	2021-11-24 15:40:50 UTC (rev 1054704)
@@ -1,4 +1,4 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
 # Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
 # Contributor: Stefan Husmann <stefan-husmann at t-online.de>
 # Contributor: Vlad Kolotvin <vlad.kolotvin at gmail.com>
@@ -5,12 +5,12 @@
 
 pkgname=emscripten
 # NOTE: You need to run ./get-compatible-versions.sh after changing the pkgver!
-_binaryen_revision=96d2c946329f26bb742684a70cb48e98aa55083d
-_llvm_project_revision=78e87970af888bbbd5652c31f3a8454e8e9dd5b8
+_binaryen_revision=76327e47119c2b4c24a3382d31000cdcc67c7a13
+_llvm_project_revision=4348cd42c385e71b63e5da7e492172cff6a79d7b
 # 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.27
+pkgver=3.0.0
 pkgrel=1
 pkgdesc="Compile C and C++ into highly-optimizable JavaScript for the web"
 arch=('x86_64')

Modified: get-compatible-versions.sh
===================================================================
--- get-compatible-versions.sh	2021-11-24 14:37:02 UTC (rev 1054703)
+++ get-compatible-versions.sh	2021-11-24 15:40:50 UTC (rev 1054704)
@@ -7,7 +7,7 @@
 # This will fetch, print and substitute into the PKGBUILD the compatible binaryen and llvm versions.
 
 pkgver=$(makepkg --printsrcinfo | sed -rn 's/.*pkgver = (.*)/\1/gp')
-tag_hash=$(curl -Ls https://github.com/emscripten-core/emsdk/raw/main/emscripten-releases-tags.txt | jq ".releases[\"$pkgver\"]" | sed s/\"//g)
+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)
 binaryen_revision=$(echo "$deps_file" | sed -rn "s/.*'binaryen_revision': '(.*)',/\\1/gp")
 llvm_project_revision=$(echo "$deps_file" | sed -rn "s/.*'llvm_project_revision': '(.*)',/\\1/gp")



More information about the arch-commits mailing list