diff options
author | rouhannb | 2020-03-13 18:20:55 -0400 |
---|---|---|
committer | rouhannb | 2020-03-13 18:20:55 -0400 |
commit | 6e1d44e0e7beb6c0395ffe2509da6f4132024a3e (patch) | |
tree | a7e6c2445af65f058831a8e2cd0a1cbef48b8bfc /PKGBUILD | |
parent | b9cc5d332e934f284f37d6fc53bd15ed7b52a3f0 (diff) | |
download | aur-6e1d44e0e7beb6c0395ffe2509da6f4132024a3e.tar.gz |
Restoring old python2 hack
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -135,16 +135,18 @@ prepare() { chmod u=rwx,g=rx,o=rx --verbose gn mv --verbose gn skia/bin/gn cp --verbose skia/bin/gn skia/buildtools/linux64/gn + + mkdir --verbose binsub + ln --symbolic /usr/bin/python2 binsub/python } build() { cd "${srcdir}" # Build skia - _skiapath="${srcdir}/depot_tools:${PATH}" + _skiapath="${srcdir}/binsub:${srcdir}/depot_tools:${PATH}" cd skia - # Bypass the gn script, which uses `python` and expects Python 2 - PATH="${_skiapath}" PYTHONDONTWRITEBYTECODE=1 python2 "$(which gn.py)" gen out/Release-x64 \ + PATH="${_skiapath}" gn gen out/Release-x64 \ --args="is_debug=false is_official_build=true skia_use_system_expat=false \ skia_use_system_icu=false skia_use_system_libjpeg_turbo=false skia_use_system_libpng=false \ skia_use_system_libwebp=false skia_use_system_zlib=false" |