summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-03-30 19:50:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-31 23:30:36 +0100
commit899ec32f42782e3f6234dcdc77f1e7068dbc249e (patch)
tree63c4b71ba5ffd5bdc0af2970cf1b8081381319c1 /meta/recipes-sato
parent65ee49e1e75d38761b396dc5425f157e1be8bee1 (diff)
downloadpoky-899ec32f42782e3f6234dcdc77f1e7068dbc249e.tar.gz
webkitgtk: clean up Python variables
The cmake bbclass already sets the path to the correct Python for us, and there appears to be no more scripts in the build which use 'python' explicitly. (From OE-Core rev: abbac1588163b63746928403d524a09532875d5a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato')
-rw-r--r--meta/recipes-sato/webkit/webkitgtk_2.38.5.bb9
1 files changed, 0 insertions, 9 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.38.5.bb b/meta/recipes-sato/webkit/webkitgtk_2.38.5.bb
index e52920883a..832c8327dd 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.38.5.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.38.5.bb
@@ -70,20 +70,11 @@ PACKAGECONFIG[soup2] = "-DUSE_SOUP2=ON,-DUSE_SOUP2=OFF,libsoup-2.4,,,soup3"
70PACKAGECONFIG[soup3] = ",,libsoup,,,soup2" 70PACKAGECONFIG[soup3] = ",,libsoup,,,soup2"
71PACKAGECONFIG[journald] = "-DENABLE_JOURNALD_LOG=ON,-DENABLE_JOURNALD_LOG=OFF,systemd" 71PACKAGECONFIG[journald] = "-DENABLE_JOURNALD_LOG=ON,-DENABLE_JOURNALD_LOG=OFF,systemd"
72 72
73# webkitgtk is full of /usr/bin/env python, particular for generating docs
74do_configure[postfuncs] += "setup_python_link"
75setup_python_link() {
76 if [ ! -e ${STAGING_BINDIR_NATIVE}/python ]; then
77 ln -s `which python3` ${STAGING_BINDIR_NATIVE}/python
78 fi
79}
80
81EXTRA_OECMAKE = " \ 73EXTRA_OECMAKE = " \
82 -DPORT=GTK \ 74 -DPORT=GTK \
83 ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DENABLE_INTROSPECTION=ON', '-DENABLE_INTROSPECTION=OFF', d)} \ 75 ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DENABLE_INTROSPECTION=ON', '-DENABLE_INTROSPECTION=OFF', d)} \
84 ${@bb.utils.contains('GIDOCGEN_ENABLED', 'True', '-DENABLE_DOCUMENTATION=ON', '-DENABLE_DOCUMENTATION=OFF', d)} \ 76 ${@bb.utils.contains('GIDOCGEN_ENABLED', 'True', '-DENABLE_DOCUMENTATION=ON', '-DENABLE_DOCUMENTATION=OFF', d)} \
85 -DENABLE_MINIBROWSER=ON \ 77 -DENABLE_MINIBROWSER=ON \
86 -DPYTHON_EXECUTABLE=`which python3` \
87 -DENABLE_BUBBLEWRAP_SANDBOX=OFF \ 78 -DENABLE_BUBBLEWRAP_SANDBOX=OFF \
88 -DENABLE_GAMEPAD=OFF \ 79 -DENABLE_GAMEPAD=OFF \
89 " 80 "