mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-10-03 20:46:36 +08:00
Clean up AppImageBuilder.yml template
This commit is contained in:
parent
042363de39
commit
83910935f2
@ -19,11 +19,13 @@ AppDir:
|
|||||||
allow_unauthenticated: true
|
allow_unauthenticated: true
|
||||||
sources:
|
sources:
|
||||||
{% if arch == "x86_64" %}
|
{% if arch == "x86_64" %}
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ noble-updates main restricted universe multiverse
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
|
||||||
- sourceline: deb http://security.ubuntu.com/ubuntu noble-security main restricted universe multiverse
|
- sourceline: deb http://security.ubuntu.com/ubuntu jammy-security main restricted universe multiverse
|
||||||
{% elif arch == "aarch64" %}
|
{% elif arch == "aarch64" %}
|
||||||
- sourceline: deb http://ports.ubuntu.com/ubuntu-ports/ noble main restricted universe multiverse
|
- sourceline: deb http://ports.ubuntu.com/ubuntu-ports/ noble main restricted universe multiverse
|
||||||
|
- sourceline: deb http://ports.ubuntu.com/ubuntu-ports/ noble-updates main restricted universe multiverse
|
||||||
|
- sourceline: deb http://ports.ubuntu.com/ubuntu-ports/ noble-security main restricted universe multiverse
|
||||||
{% endif %}
|
{% endif %}
|
||||||
include:
|
include:
|
||||||
- xdg-desktop-portal-kde
|
- xdg-desktop-portal-kde
|
||||||
@ -49,13 +51,8 @@ AppDir:
|
|||||||
- usr/lib/x86_64-linux-gnu/libssl.so*
|
- usr/lib/x86_64-linux-gnu/libssl.so*
|
||||||
runtime:
|
runtime:
|
||||||
env:
|
env:
|
||||||
{% if arch == "x86_64" %}
|
APPDIR_LIBRARY_PATH: "$APPDIR:$APPDIR/runtime/compat/:$APPDIR/usr/lib/{{ arch }}-linux-gnu:$APPDIR/lib/{{ arch }}-linux-gnu:$APPDIR/usr/lib:$APPDIR/usr/lib/{{ arch }}-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders"
|
||||||
APPDIR_LIBRARY_PATH: "$APPDIR:$APPDIR/runtime/compat/:$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"
|
LD_LIBRARY_PATH: "$APPDIR:$APPDIR/runtime/compat/:$APPDIR/usr/lib/{{ arch }}-linux-gnu:$APPDIR/lib/{{ arch }}-linux-gnu:$APPDIR/usr/lib:$APPDIR/usr/lib/{{ arch }}-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders"
|
||||||
LD_LIBRARY_PATH: "$APPDIR:$APPDIR/runtime/compat/:$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"
|
|
||||||
{% elif arch == "aarch64" %}
|
|
||||||
APPDIR_LIBRARY_PATH: "$APPDIR:$APPDIR/runtime/compat/:$APPDIR/runtime/compat/usr:$APPDIR/usr/lib/aarch64-linux-gnu:$APPDIR/lib/aarch64-linux-gnu:$APPDIR/usr/lib:$APPDIR/usr/lib/aarch64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders"
|
|
||||||
LD_LIBRARY_PATH: "$APPDIR:$APPDIR/runtime/compat/:$APPDIR/runtime/compat/usr:$APPDIR/usr/lib/aarch64-linux-gnu:$APPDIR/lib/aarch64-linux-gnu:$APPDIR/usr/lib:$APPDIR/usr/lib/aarch64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders"
|
|
||||||
{% endif %}
|
|
||||||
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"
|
||||||
@ -65,8 +62,10 @@ AppDir:
|
|||||||
GDK_PIXBUF_MODULE_FILE: $APPDIR/usr/lib/{{ arch }}-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
GDK_PIXBUF_MODULE_FILE: $APPDIR/usr/lib/{{ arch }}-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||||
path_mappings:
|
path_mappings:
|
||||||
- /usr/share:$APPDIR/usr/share
|
- /usr/share:$APPDIR/usr/share
|
||||||
|
{% if arch == "aarch64" %}
|
||||||
after_runtime:
|
after_runtime:
|
||||||
- ln -sr "$TARGET_APPDIR/runtime/compat/usr/lib" "$TARGET_APPDIR/runtime/compat/lib"
|
- ln -sr "$TARGET_APPDIR/runtime/compat/usr/lib" "$TARGET_APPDIR/runtime/compat/lib"
|
||||||
|
{% endif %}
|
||||||
test:
|
test:
|
||||||
fedora-30:
|
fedora-30:
|
||||||
image: appimagecrafters/tests-env:fedora-30
|
image: appimagecrafters/tests-env:fedora-30
|
||||||
@ -92,4 +91,4 @@ AppImage:
|
|||||||
arch: {{ arch }}
|
arch: {{ arch }}
|
||||||
file_name: {{ file_name }}
|
file_name: {{ file_name }}
|
||||||
update-information: guess
|
update-information: guess
|
||||||
comp: zstd
|
comp: xz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user