FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
skia-python/scripts/build_Linux.sh at main · skia-python/skia-python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
skia-python
/
skia-python
Public
Notifications
You must be signed in to change notification settings
Fork
52
Star
322
Code
Issues
44
Pull requests
6
Discussions
Actions
Projects
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
skia-python
/
scripts
/
build_Linux.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
42 lines (40 loc) · 1.38 KB
Breadcrumbs
skia-python
/
scripts
/
build_Linux.sh
Copy path
File metadata and controls
42 lines (40 loc) · 1.38 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!
/usr/bin/env bash
#
Install system dependencies
if
[[
$EUID
-eq
0 ]]
;
then
if
[[
!
-e
"
/etc/fedora-release
"
]]
;
then
yum -y install epel-release
;
fi
yum install -y \
python3 \
ninja-build gn \
fontconfig-devel \
mesa-libGL-devel \
mesa-libEGL-devel libglvnd-devel mesa-libGLES-devel libglvnd mesa-libGLES mesa-libEGL libglvnd-egl \
xorg-x11-server-Xvfb \
mesa-dri-drivers
&&
\
yum clean all
&&
\
mv depot_tools/ninja depot_tools/ninja.bak
&&
\
mv depot_tools/gn depot_tools/gn.bak
&&
\
rm -rf /var/cache/yum
fi
#
Build skia
cd
skia
&&
\
patch -R -p1
<
../patch/0001-Make-SkPath-immutable-on-GN-build.patch
&&
\
patch -R -p1
<
../patch/0001-Disable-legacy-PNG-encoding-decoding-in-SkPicture.patch
&&
\
patch -p1
<
../patch/skia-m144-minimize-download.patch
&&
\
patch -p1
<
../patch/skia-m132-colrv1-freetype.diff
&&
\
patch -p1
<
../patch/skia-m132-egl-runtime.diff
&&
\
python3 tools/git-sync-deps
&&
\
gn gen out/Release --args=
"
is_official_build=true
skia_enable_svg=true
skia_use_vulkan=true
skia_use_system_libjpeg_turbo=false
skia_use_system_libwebp=false
skia_use_system_libpng=false
skia_use_system_icu=false
skia_use_system_harfbuzz=false
skia_use_system_freetype2=false
extra_cflags_cc=[
\"
-frtti
\"
]
extra_ldflags=[
\"
-lrt
\"
]
"
&&
\
ninja -C out/Release
&&
\
cd
..
Back
|
FazBrowse Home
|
New Git URL