A content snap that provides a PyQt5 / Qt 5.15 runtime for core22 snaps — without FFmpeg and mpv.
Same idea as pyqt5-runtime-core22: carry the PyQt5 and Qt stack once so each app snap ships only its own code. This variant drops the media stack, which is a large chunk of the full runtime — use it when your app does not decode or play media.
| Python / Qt | python3-pyqt5, qt5-gtk-platformtheme, qt5-image-formats-plugins |
| Themes & icons | adwaita-icon-theme, light-themes, gnome-themes-standard, dmz-cursor-theme |
| Fonts & locales | fonts-ubuntu, locales-all |
| Core libs | glib, gdk-pixbuf, libglu1-mesa, freeglut3, libgtk2.0-0, libxkbcommon0, samba-libs, libdb5.3, libslang2 |
| Desktop integration | gsettings-desktop-schemas, shared-mime-info, xdg-user-dirs |
Not included: ffmpeg, mpv. If you need those, use the full pyqt5-runtime-core22.
Base core22 (Ubuntu 22.04), amd64, strict confinement.
Add the plug to your app's snap/snapcraft.yaml:
plugs:
pyqt5-runtime-core22-lite:
interface: content
target: $SNAP/pyqt5-runtime-core22-lite
default-provider: pyqt5-runtime-core22-litePoint your launcher at the mounted runtime, for example:
environment:
SNAP_DESKTOP_RUNTIME: $SNAP/pyqt5-runtime-core22-litedefault-provider means snapd installs this runtime automatically alongside your app — users never install it by hand.
git clone https://github.com/rishabh3354/pyqt5-runtime-core22-lite.git
cd pyqt5-runtime-core22-lite
snapcraft- pyqt5-runtime-core22 — the full runtime, with FFmpeg and mpv
- content-snap-core22 — library stack with FFmpeg, mpv and VA-API drivers, without PyQt5
- content-snap-core22-lite — lightweight stack with Noto fonts, without FFmpeg or mpv