mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2026-01-02 22:47:39 +00:00
moremorewip
This commit is contained in:
parent
c770fb3c87
commit
438e2a70c8
@ -65,20 +65,8 @@ build-appimage-job:
|
||||
- DESTDIR=/home/AppDir meson setup -Dspice=enabled --prefix=/usr --debug --buildtype=debug build
|
||||
- DESTDIR=/home/AppDir ninja -C build install
|
||||
|
||||
- vvsrc=$PWD
|
||||
- mkdir /home/code
|
||||
- cd /home/code
|
||||
- download() { wget -- "$1"; chmod +x -- "${1##*/}"; }
|
||||
- extract() ( mkdir -- "$2"; cd -- "$2"; "../$1" --appimage-extract )
|
||||
|
||||
- download https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
|
||||
- extract linuxdeploy-x86_64.AppImage linuxdeploy
|
||||
- download https://github.com/linuxdeploy/linuxdeploy-plugin-appimage/releases/download/continuous/linuxdeploy-plugin-appimage-x86_64.AppImage
|
||||
- extract linuxdeploy-plugin-appimage-x86_64.AppImage linuxdeploy-plugin-appimage
|
||||
# ???????????????????????????????????????????????????
|
||||
- ln -s linuxdeploy/linuxdeploy-plugin-appimage/squashfs-root/AppRun linuxdeploy/squashfs-root/linuxdeploy-plugin-appimage
|
||||
|
||||
- cd linuxdeploy/squashfs-root
|
||||
- download https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gstreamer/refs/heads/master/linuxdeploy-plugin-gstreamer.sh
|
||||
- download https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh
|
||||
|
||||
@ -90,10 +78,10 @@ build-appimage-job:
|
||||
- sed -i '/export GDK_BACKEND=x11 \# Crash with Wayland backend on Wayland/d' /home/code/linuxdeploy/squashfs-root/linuxdeploy-plugin-gtk.sh
|
||||
- sed -i '/env LINUXDEPLOY_PLUGIN_MODE=1 "$LINUXDEPLOY" --appdir="$APPDIR"/s|\(--appdir="$APPDIR"\)|\1'test'|' /home/code/linuxdeploy/squashfs-root/linuxdeploy-plugin-gtk.sh
|
||||
- export LINUXDEPLOY_EXCLUDE_LIBRARY="*libva*";
|
||||
- ./AppRun --appdir /home/AppDir/ --exclude-library ${LINUXDEPLOY_EXCLUDE_LIBRARY} --plugin gtk;
|
||||
- GSTREAMER_PLUGINS_DIR=/usr/lib64/gstreamer-1.0 GSTREAMER_HELPERS_DIR=/usr/libexec/gstreamer-1.0 GSTREAMER_INCLUDE_BAD_PLUGINS=1 NO_STRIP=1 ./AppRun --appdir /home/AppDir/ --exclude-library ${LINUXDEPLOY_EXCLUDE_LIBRARY} --plugin gstreamer;
|
||||
- ./AppRun --appdir /home/AppDir/ --exclude-library ${LINUXDEPLOY_EXCLUDE_LIBRARY} --output appimage;
|
||||
- mv Remote_Viewer-x86_64.AppImage $vvsrc
|
||||
- ./linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir /home/AppDir/ --exclude-library ${LINUXDEPLOY_EXCLUDE_LIBRARY} --plugin gtk
|
||||
- GSTREAMER_PLUGINS_DIR=/usr/lib64/gstreamer-1.0 GSTREAMER_HELPERS_DIR=/usr/libexec/gstreamer-1.0 GSTREAMER_INCLUDE_BAD_PLUGINS=1 NO_STRIP=1
|
||||
./linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir /home/AppDir/ --exclude-library ${LINUXDEPLOY_EXCLUDE_LIBRARY} --plugin gstreamer
|
||||
- ./linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir /home/AppDir/ --exclude-library ${LINUXDEPLOY_EXCLUDE_LIBRARY} --output appimage
|
||||
|
||||
artifacts:
|
||||
paths:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user