Skip to content

Latest commit

 

History

44 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

pyqt5-runtime-core22

A content snap that provides a complete PyQt5 / Qt 5.15 runtime for core22 snaps.

Bundling PyQt5, Qt, FFmpeg and a GTK theme stack into every app snap makes each one enormous and slow to publish. This snap carries that stack once, and your app plugs into it — so the app snap ships only your own code.

Snap Store

What's inside

Python / Qt python3-pyqt5, qt5-gtk-platformtheme, qt5-image-formats-plugins
Media ffmpeg, mpv
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

Base core22 (Ubuntu 22.04), amd64, strict confinement.

Need the same thing without FFmpeg and mpv? Use pyqt5-runtime-core22-lite.

Using it in your app

Add the plug to your app's snap/snapcraft.yaml:

plugs:
  pyqt5-runtime-core22:
    interface: content
    target: $SNAP/pyqt5-runtime-core22
    default-provider: pyqt5-runtime-core22

Point your launcher at the mounted runtime, for example:

environment:
  SNAP_DESKTOP_RUNTIME: $SNAP/pyqt5-runtime-core22

default-provider means snapd installs this runtime automatically alongside your app — users never install it by hand.

Building it yourself

git clone https://github.com/rishabh3354/pyqt5-runtime-core22.git
cd pyqt5-runtime-core22
snapcraft

Related

Used in production by 4KTUBE, FormatLab, 4KWALL and DL-YouTube.

About

Content snap providing a full PyQt5 / Qt 5.15 runtime for core22 snaps — python3-pyqt5, FFmpeg, mpv, GTK themes and fonts. Keeps your app snap small.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors