mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 01:19:28 +01:00
JBR-9699 Build with newer wayland-protocols
Updates the CI build scripts to look for wayland protocols in /opt/wayland-protocols
This commit is contained in:
@@ -27,6 +27,12 @@ JCEF_PATH=${JCEF_PATH:=./jcef_linux_aarch64}
|
|||||||
function do_configure {
|
function do_configure {
|
||||||
|
|
||||||
GTK_SHELL_PATH=/gtk-shell.xml
|
GTK_SHELL_PATH=/gtk-shell.xml
|
||||||
|
WAYLAND_PROTOCOLS_PATH=/opt/wayland-protocols
|
||||||
|
WITH_WAYLAND_PROTOCOLS=
|
||||||
|
|
||||||
|
if [ -e "$WAYLAND_PROTOCOLS_PATH" ]; then
|
||||||
|
WITH_WAYLAND_PROTOCOLS="--with-wayland-protocols=$WAYLAND_PROTOCOLS_PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -e $GTK_SHELL_PATH ]; then
|
if [ ! -e $GTK_SHELL_PATH ]; then
|
||||||
echo $GTK_SHELL_PATH" does not exist"
|
echo $GTK_SHELL_PATH" does not exist"
|
||||||
@@ -54,6 +60,7 @@ function do_configure {
|
|||||||
$REPRODUCIBLE_BUILD_OPTS \
|
$REPRODUCIBLE_BUILD_OPTS \
|
||||||
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
|
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
|
||||||
$WITH_BUNDLED_FREETYPE \
|
$WITH_BUNDLED_FREETYPE \
|
||||||
|
$WITH_WAYLAND_PROTOCOLS \
|
||||||
|| do_exit $?
|
|| do_exit $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,6 +34,12 @@ function do_configure {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
GTK_SHELL_PATH=/gtk-shell.xml
|
GTK_SHELL_PATH=/gtk-shell.xml
|
||||||
|
WAYLAND_PROTOCOLS_PATH=/opt/wayland-protocols
|
||||||
|
WITH_WAYLAND_PROTOCOLS=
|
||||||
|
|
||||||
|
if [ -e "$WAYLAND_PROTOCOLS_PATH" ]; then
|
||||||
|
WITH_WAYLAND_PROTOCOLS="--with-wayland-protocols=$WAYLAND_PROTOCOLS_PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -e $GTK_SHELL_PATH ]; then
|
if [ ! -e $GTK_SHELL_PATH ]; then
|
||||||
echo $GTK_SHELL_PATH" does not exist"
|
echo $GTK_SHELL_PATH" does not exist"
|
||||||
@@ -68,6 +74,7 @@ function do_configure {
|
|||||||
$REPRODUCIBLE_BUILD_OPTS \
|
$REPRODUCIBLE_BUILD_OPTS \
|
||||||
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
|
$WITH_ZIPPED_NATIVE_DEBUG_SYMBOLS \
|
||||||
$WITH_BUNDLED_FREETYPE \
|
$WITH_BUNDLED_FREETYPE \
|
||||||
|
$WITH_WAYLAND_PROTOCOLS \
|
||||||
|| do_exit $?
|
|| do_exit $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user