From a1a049d9541d55d543d91b1b97fd23dd90f28fa8 Mon Sep 17 00:00:00 2001 From: Kushal Das Date: Tue, 17 Jan 2023 17:18:10 +0100 Subject: [PATCH] Adds AppImage requirements --- pyproject.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index cc64caf..3065b35 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,8 +27,14 @@ requires = [ requires = [] [tool.briefcase.app.tugpgp.linux.appimage] -system_requires = [] +system_requires = ["gstreamer1.0-gl", "libasound2", "libegl1", "libfontconfig1", "libgl1", "libnss3", "libpulse0", "libwayland-cursor++0", "libxcb-icccm4", "libxcb-image0", "libxcb-keysyms1", "libxcb-randr0", "libxcb-render-util0", "libxcb-shape0", "libxcomposite1", "libxdamage1", "libxi6", "libxkbfile1", "libxrandr2", "libxtst6", "libegl-mesa0", "curl"] +dockerfile_extra_content = """ +ENV APP_PACKAGES_PATH="/app/appimage/{{ cookiecutter.formal_name }}/{{ cookiecutter.formal_name }}.AppDir/usr/app_packages" +ENV LD_LIBRARY_PATH="$APP_PACKAGES_PATH/shiboken6:$APP_PACKAGES_PATH/PySide6:$APP_PACKAGES_PATH/PySide6/Qt/lib" +""" linuxdeploy_plugins = [] +support_package="Python-3.10-linux-x86_64-support.custom.tar.gz" + [tool.briefcase.app.tugpgp.linux.flatpak] flatpak_runtime = 'org.kde.Platform'