mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
electron24: use python3.11 to build
This commit is contained in:
parent
684c75079a
commit
437f47a164
1 changed files with 5 additions and 3 deletions
|
@ -12,7 +12,7 @@ hostmakedepends="$(vopt_if clang "clang lld") python pkgconf perl gperf bison ni
|
|||
pciutils-devel ffmpeg-devel libxml2-devel libglib-devel yarn openjdk libxslt-devel
|
||||
opus-devel libXcursor-devel libXcomposite-devel libXtst-devel libXrandr-devel libXScrnSaver-devel
|
||||
alsa-lib-devel re2-devel snappy-devel mit-krb5-devel $(vopt_if pulseaudio pulseaudio-devel)
|
||||
$(vopt_if sndio sndio-devel) jq"
|
||||
$(vopt_if sndio sndio-devel) jq python3.11"
|
||||
makedepends="libpng-devel gtk+-devel gtk+3-devel nss-devel pciutils-devel
|
||||
libXi-devel libgcrypt-devel libgnome-keyring-devel cups-devel elfutils-devel
|
||||
libXcomposite-devel speech-dispatcher-devel libXrandr-devel mit-krb5-devel
|
||||
|
@ -206,6 +206,8 @@ post_patch() {
|
|||
}
|
||||
|
||||
pre_configure() {
|
||||
ln -s "/usr/bin/python3.11" "${XBPS_WRAPPERDIR}/python3"
|
||||
|
||||
cd "$wrksrc/$build_wrksrc"
|
||||
|
||||
# https://groups.google.com/a/chromium.org/d/topic/chromium-packagers/9JX1N2nf4PU/discussion
|
||||
|
@ -275,8 +277,8 @@ pre_configure() {
|
|||
|
||||
|
||||
msg_normal "Replacing gn files\n"
|
||||
python3 build/linux/unbundle/replace_gn_files.py --system-libraries \
|
||||
$use_system
|
||||
python3.11 build/linux/unbundle/replace_gn_files.py \
|
||||
--system-libraries $use_system
|
||||
third_party/libaddressinput/chromium/tools/update-strings.py
|
||||
|
||||
# Satisfy some scripts that use git describe to figure out the electron version
|
||||
|
|
Loading…
Add table
Reference in a new issue