1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-01 06:05:25 +02:00

packaging: fix Qt build on Debian testing

Change-Id: I798cdcf297ac3c0b448b4f61e192edd177e7fcbf
This commit is contained in:
François-Simon Fauteux-Chapleau 2025-04-23 14:49:28 -04:00
parent 911fdbc9e5
commit 69430c4af3

View file

@ -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"