Ports/gn: Switch to using the Git repository directly
This commit is contained in:
parent
e28ff48304
commit
d94bffd708
Notes:
sideshowbarker
2024-07-18 03:35:30 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/d94bffd708 Pull-request: https://github.com/SerenityOS/serenity/pull/20904 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/gmta
1 changed files with 3 additions and 12 deletions
|
@ -2,24 +2,15 @@
|
|||
port='gn'
|
||||
workdir='gn'
|
||||
version='2023.07.12'
|
||||
repository='https://gn.googlesource.com/gn'
|
||||
git_rev='fae280eabe5d31accc53100137459ece19a7a295'
|
||||
useconfigure='true'
|
||||
# FIXME: The files and auth_type are lies here. See #20004
|
||||
files=('git')
|
||||
auth_type='sha256'
|
||||
files=(
|
||||
'git+https://gn.googlesource.com/gn#fae280eabe5d31accc53100137459ece19a7a295'
|
||||
)
|
||||
depends=(
|
||||
'ninja'
|
||||
'python3'
|
||||
)
|
||||
|
||||
fetch() {
|
||||
if [ ! -d ${workdir} ]; then
|
||||
git clone ${repository} ${workdir}
|
||||
fi
|
||||
run git checkout ${git_rev}
|
||||
}
|
||||
|
||||
configure() {
|
||||
run python3 build/gen.py --platform='serenity' --allow-warnings
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue