extra/gn to 0.2130.7367b0df-1

This commit is contained in:
Kevin Mihelich 2023-12-03 17:32:31 +00:00
parent 898cbadeee
commit f7963e90e6
3 changed files with 4 additions and 25 deletions

View file

@ -1,6 +1,6 @@
pkgbase = gn
pkgdesc = Meta-build system that generates build files for Ninja
pkgver = 0.2124.e4702d74
pkgver = 0.2130.7367b0df
pkgrel = 1
url = https://gn.googlesource.com/gn/
arch = x86_64
@ -10,7 +10,7 @@ pkgbase = gn
makedepends = python
makedepends = git
depends = gcc-libs
source = git+https://gn.googlesource.com/gn#commit=e4702d7409069c4f12d45ea7b7f0890717ca3f4b
source = git+https://gn.googlesource.com/gn#commit=7367b0df0a0aa25440303998d54045bda73935a5
sha256sums = SKIP
pkgname = gn

View file

@ -4,8 +4,8 @@
# - strip -fstack-clash-protection from CFLAGS
pkgname=gn
pkgver=0.2124.e4702d74
_commit=e4702d7409069c4f12d45ea7b7f0890717ca3f4b
pkgver=0.2130.7367b0df
_commit=7367b0df0a0aa25440303998d54045bda73935a5
pkgrel=1
pkgdesc="Meta-build system that generates build files for Ninja"
arch=('x86_64')

View file

@ -1,21 +0,0 @@
#!/bin/bash
set -eo pipefail
readonly CURL='curl -s --compressed'
gn_revision_from_chrome_version() {
$CURL "https://chromium.googlesource.com/chromium/src/+/$1/DEPS?format=TEXT" \
| base64 -d | grep -Po "'gn_version': 'git_revision:\K[^']*"
}
{
echo channel version gn_revision
echo ------- ------- -----------
while read -r channel version; do
echo "$channel $version $(gn_revision_from_chrome_version "$version")"
done < <(
$CURL https://omahaproxy.appspot.com/json \
| jq -r '.[] | select ( .os == "linux" ) | .versions | .[] | "\(.channel) \(.version)"'
)
} | column -t