mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-10-04 09:16:34 +08:00

This update removes various icon-theme exclusions from the AppImage build configuration and includes specific hicolor icon files. It also adds new environment variables and path mappings for handling user data more efficiently within the AppImage. This aims to optimize the packing process and improve the resultant AppImage's compatibility and performance. Contributes to CURA-11132
96 lines
3.7 KiB
Django/Jinja
96 lines
3.7 KiB
Django/Jinja
version: 1
|
|
|
|
AppDir:
|
|
path: {{ app_dir }}
|
|
app_info:
|
|
id: com.ultimaker.cura
|
|
name: UltiMaker Cura
|
|
icon: {{ icon }}
|
|
version: {{ version }}
|
|
exec: UltiMaker-Cura
|
|
exec_args: $@
|
|
apt:
|
|
arch:
|
|
- amd64
|
|
allow_unauthenticated: true
|
|
sources:
|
|
- sourceline: deb http://nl.archive.ubuntu.com/ubuntu/ jammy main restricted
|
|
- sourceline: deb http://nl.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
|
|
- sourceline: deb http://nl.archive.ubuntu.com/ubuntu/ jammy universe
|
|
- sourceline: deb http://nl.archive.ubuntu.com/ubuntu/ jammy-updates universe
|
|
- sourceline: deb http://nl.archive.ubuntu.com/ubuntu/ jammy multiverse
|
|
- sourceline: deb http://nl.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
|
|
- sourceline: deb http://nl.archive.ubuntu.com/ubuntu/ jammy-backports main restricted
|
|
universe multiverse
|
|
- sourceline: deb http://security.ubuntu.com/ubuntu jammy-security main restricted
|
|
- sourceline: deb http://security.ubuntu.com/ubuntu jammy-security universe
|
|
- sourceline: deb http://security.ubuntu.com/ubuntu jammy-security multiverse
|
|
- sourceline: deb https://releases.jfrog.io/artifactory/jfrog-debs xenial contrib
|
|
- sourceline: deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-14 main
|
|
- sourceline: deb https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu/
|
|
jammy main
|
|
- sourceline: deb https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu/ jammy
|
|
main
|
|
- sourceline: deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable
|
|
main
|
|
- sourceline: deb https://ppa.launchpadcontent.net/ppa-verse/cling/ubuntu/ jammy
|
|
main
|
|
- sourceline: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable
|
|
main
|
|
- sourceline: deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x
|
|
jammy main
|
|
- sourceline: deb [arch=amd64 signed-by=/usr/share/keyrings/transip-stack.gpg]
|
|
https://mirror.transip.net/stack/software/deb/Ubuntu_22.04/ ./
|
|
- sourceline: deb http://repository.spotify.com stable non-free
|
|
- sourceline: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code
|
|
stable main
|
|
- sourceline: deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie
|
|
main
|
|
include:
|
|
- xdg-desktop-portal-kde:amd64
|
|
exclude: []
|
|
files:
|
|
include:
|
|
- usr/share/icons/hicolor/*
|
|
exclude:
|
|
- usr/share/man
|
|
- usr/share/doc/*/README.*
|
|
- usr/share/doc/*/changelog.*
|
|
- usr/share/doc/*/NEWS.*
|
|
- usr/share/doc/*/TODO.*
|
|
runtime:
|
|
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"
|
|
QT_PLUGIN_PATH: "$APPDIR/qt/plugins"
|
|
QML2_IMPORT_PATH: "$APPDIR/qt/qml"
|
|
QT_QPA_PLATFORMTHEME: xdgdesktopportal
|
|
XDG_DATA_HOME: "$APPDIR/usr/share"
|
|
path_mappings:
|
|
- /usr/share:$APPDIR/usr/share
|
|
test:
|
|
fedora-30:
|
|
image: appimagecrafters/tests-env:fedora-30
|
|
command: ./AppRun
|
|
use_host_x: True
|
|
debian-stable:
|
|
image: appimagecrafters/tests-env:debian-stable
|
|
command: ./AppRun
|
|
use_host_x: True
|
|
archlinux-latest:
|
|
image: appimagecrafters/tests-env:archlinux-latest
|
|
command: ./AppRun
|
|
use_host_x: True
|
|
centos-7:
|
|
image: appimagecrafters/tests-env:centos-7
|
|
command: ./AppRun
|
|
use_host_x: True
|
|
ubuntu-xenial:
|
|
image: appimagecrafters/tests-env:ubuntu-xenial
|
|
command: ./AppRun
|
|
use_host_x: True
|
|
AppImage:
|
|
arch: {{ arch }}
|
|
file_name: {{ file_name }}
|
|
update-information: guess
|