1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:57:35 +00:00

Ports/gn: Switch to using the Git repository directly

This commit is contained in:
Tim Schumacher 2023-09-02 09:19:12 +02:00
parent e28ff48304
commit d94bffd708

View file

@ -2,24 +2,15 @@
port='gn' port='gn'
workdir='gn' workdir='gn'
version='2023.07.12' version='2023.07.12'
repository='https://gn.googlesource.com/gn'
git_rev='fae280eabe5d31accc53100137459ece19a7a295'
useconfigure='true' useconfigure='true'
# FIXME: The files and auth_type are lies here. See #20004 files=(
files=('git') 'git+https://gn.googlesource.com/gn#fae280eabe5d31accc53100137459ece19a7a295'
auth_type='sha256' )
depends=( depends=(
'ninja' 'ninja'
'python3' 'python3'
) )
fetch() {
if [ ! -d ${workdir} ]; then
git clone ${repository} ${workdir}
fi
run git checkout ${git_rev}
}
configure() { configure() {
run python3 build/gen.py --platform='serenity' --allow-warnings run python3 build/gen.py --platform='serenity' --allow-warnings
} }