From 69430c4af3623594c269e252a9fa844b28ad5509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Simon=20Fauteux-Chapleau?= Date: Wed, 23 Apr 2025 14:49:28 -0400 Subject: [PATCH] packaging: fix Qt build on Debian testing Change-Id: I798cdcf297ac3c0b448b4f61e192edd177e7fcbf --- .../gnu-linux/scripts/build-package-debian.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/extras/packaging/gnu-linux/scripts/build-package-debian.sh b/extras/packaging/gnu-linux/scripts/build-package-debian.sh index 21141314..d8b10dad 100755 --- a/extras/packaging/gnu-linux/scripts/build-package-debian.sh +++ b/extras/packaging/gnu-linux/scripts/build-package-debian.sh @@ -47,11 +47,11 @@ if [ ! -f "${qt_deb_path}" ] || [ "${FORCE_REBUILD_QT}" = "true" ]; then # HACK: For now on ubuntu 24.04 there is no python3.10 package # So create a PyEnv environment to install the required packages - # NOTE: We use this on Ubuntu 25.04 too because otherwise we get - # a ModuleNotFoundError when building Qt 6.6.1 (specifically the - # chromium submodule in QtWebEngine) due to the version of python - # used (3.13) being too recent. - if cat /etc/os-release | grep -Eq "24.04|25.04"; then + # NOTE: We use this on Ubuntu 25.04 and Debian 13 ("trixie") too + # because otherwise we get a ModuleNotFoundError when building + # Qt 6.6.1 (specifically the chromium submodule in QtWebEngine) + # due to the version of python used (3.13) being too recent. + if cat /etc/os-release | grep -Eq "24.04|25.04|trixie"; then apt-get install git gcc make python3-pip libssl-dev curl libreadline-dev -y curl https://pyenv.run | bash export PYENV_ROOT="$HOME/.pyenv"