mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 04:37:51 -06:00
Add includes for apt packages
Based on: https://github.com/AppImageCrafters/appimage-builder/blob/main/recipes/hello-world-qt6/AppImageBuilder.yml Contributes CURA-10951
This commit is contained in:
parent
c29fcd7dce
commit
7eedcac62f
2 changed files with 55 additions and 5 deletions
|
@ -4,7 +4,7 @@ AppDir:
|
||||||
path: {{ app_dir }}
|
path: {{ app_dir }}
|
||||||
app_info:
|
app_info:
|
||||||
id: com.ultimaker.cura
|
id: com.ultimaker.cura
|
||||||
name: UltiMaker-Cura
|
name: UltiMaker Cura
|
||||||
icon: {{ icon }}
|
icon: {{ icon }}
|
||||||
version: {{ version }}
|
version: {{ version }}
|
||||||
exec: UltiMaker-Cura
|
exec: UltiMaker-Cura
|
||||||
|
@ -47,8 +47,58 @@ AppDir:
|
||||||
- sourceline: deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie
|
- sourceline: deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie
|
||||||
main
|
main
|
||||||
include:
|
include:
|
||||||
- libc6:amd64
|
- libc6:amd64
|
||||||
- xdg-desktop-portal-kde:amd64
|
- xdg-desktop-portal-kde:amd64
|
||||||
|
- libcap2:amd64
|
||||||
|
- libcom-err2:amd64
|
||||||
|
- libdbus-1-3:amd64
|
||||||
|
- libgpg-error0:amd64
|
||||||
|
- libgtk-3-common
|
||||||
|
- libkeyutils1:amd64
|
||||||
|
- libllvm13
|
||||||
|
- liblzma5:amd64
|
||||||
|
- libpcre3:amd64
|
||||||
|
- libqt6gui6
|
||||||
|
- libqt6qml6
|
||||||
|
- libqt6qmlworkerscript6
|
||||||
|
- libqt6quick6
|
||||||
|
- libselinux1:amd64
|
||||||
|
- libtinfo6:amd64
|
||||||
|
- qml6-module-qtqml-workerscript:amd64
|
||||||
|
- qml6-module-qtquick:amd64
|
||||||
|
- qt6-gtk-platformtheme:amd64
|
||||||
|
- qt6-qpa-plugins:amd64
|
||||||
|
# x11
|
||||||
|
- libx11-6
|
||||||
|
- libx11-xcb1
|
||||||
|
- libxcb1
|
||||||
|
- libxcb-render0
|
||||||
|
- libxcb-xfixes0
|
||||||
|
- libxcb-shape0
|
||||||
|
- libxcb-dri2-0
|
||||||
|
- libxcb-shm0
|
||||||
|
- libxcb-glx0
|
||||||
|
- libxcb-present0
|
||||||
|
- libxcb-dri3-0
|
||||||
|
# graphic libraries interface (safe graphics bundle including drivers, acceleration may not work in some systems)
|
||||||
|
- libglvnd0
|
||||||
|
- libglx0
|
||||||
|
- libglapi-mesa
|
||||||
|
- libgl1
|
||||||
|
- libegl1
|
||||||
|
- libgbm1
|
||||||
|
- libdrm2
|
||||||
|
- libglx-mesa0
|
||||||
|
- libgl1-amber-dri
|
||||||
|
- libgl1-mesa-dri
|
||||||
|
- mesa-utils
|
||||||
|
- libgl1-mesa-glx
|
||||||
|
- libdrm-amdgpu1
|
||||||
|
- libdrm-nouveau2
|
||||||
|
exclude:
|
||||||
|
- hicolor-icon-theme
|
||||||
|
- adwaita-icon-theme
|
||||||
|
- humanity-icon-theme
|
||||||
files:
|
files:
|
||||||
include: []
|
include: []
|
||||||
exclude:
|
exclude:
|
||||||
|
@ -59,6 +109,7 @@ AppDir:
|
||||||
- usr/share/doc/*/TODO.*
|
- usr/share/doc/*/TODO.*
|
||||||
runtime:
|
runtime:
|
||||||
env:
|
env:
|
||||||
|
APPDIR_LIBRARY_PATH: "$APPDIR/usr/lib/x86_64-linux-gnu:$APPDIR/lib/x86_64-linux-gnu:$APPDIR/usr/lib:$APPDIR/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders"
|
||||||
PYTHONPATH: "$APPDIR"
|
PYTHONPATH: "$APPDIR"
|
||||||
QT_PLUGIN_PATH: "$APPDIR/qt/plugins"
|
QT_PLUGIN_PATH: "$APPDIR/qt/plugins"
|
||||||
QML2_IMPORT_PATH: "$APPDIR/qt/qml"
|
QML2_IMPORT_PATH: "$APPDIR/qt/qml"
|
||||||
|
|
|
@ -86,8 +86,7 @@ def create_appimage():
|
||||||
|
|
||||||
|
|
||||||
def sign_appimage(dist_path, appimage_filename):
|
def sign_appimage(dist_path, appimage_filename):
|
||||||
appimage_path = os.path.join(dist_path, "..", appimage_filename)
|
command = ["gpg", "--yes", "--armor", "--detach-sig", appimage_filename]
|
||||||
command = ["gpg", "--yes", "--armor", "--detach-sig", appimage_path]
|
|
||||||
result = subprocess.call(command)
|
result = subprocess.call(command)
|
||||||
if result != 0:
|
if result != 0:
|
||||||
raise RuntimeError(f"The GPG command returned non-zero: {result}")
|
raise RuntimeError(f"The GPG command returned non-zero: {result}")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue