linux/appimage: install meson and ninja from PyPI

Some systems (e.g. Ubuntu 22.04, which we use to make the AppImage),
have ancient versions of meson and ninja, which is not good when we
have dependencies like PyGObject 3.47+ (and more recently, one of its
transitive dependencies, pycairo 1.27+) requiring a fairly recent
version of meson to be able to be built.

So, instead of relying on whatever meson/ninja version the current
system provides us with to make the AppImage, this change will simply
install up-to-date, official wheels of meson/ninja directly from PyPI.

This also allows us to finally unpin PyGObject's version.
This commit is contained in:
guihkx authored and DevilXD committed 2024-09-11 11:47:05 +02:00
1 parent 9c58befac3
commit 49e8db9e22
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
aiohttp>=3.9,<4.0
Pillow
pystray
PyGObject<3.47; sys_platform == "linux" # required for better system tray support on Linux
PyGObject; sys_platform == "linux" # required for better system tray support on Linux
# environment-dependent dependencies
pywin32; sys_platform == "win32"