refactor: change AppImage build env to Ubuntu 18.04
This commit is contained in:
parent
f166eec276
commit
36c10d823c
@ -1,14 +1,14 @@
|
|||||||
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
|
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
|
||||||
# Tested Linux Distro: Ubuntu 20.04 LTS
|
# Please build this AppImage on Ubuntu 18.04
|
||||||
version: 1
|
version: 1
|
||||||
script:
|
script:
|
||||||
# Remove any previous build
|
# Remove any previous build
|
||||||
- rm -rf AppDir | true
|
- rm -rf AppDir | true
|
||||||
# Install application dependencies
|
# Install application dependencies
|
||||||
- pip3 install --ignore-installed --prefix=/usr --root=AppDir -r ./requirements.txt
|
- pip3 install --upgrade pip && pip3 install --ignore-installed --prefix=/usr --root=AppDir -r ./requirements.txt
|
||||||
# Download sciter.so
|
# Download sciter.so
|
||||||
- mkdir -p AppDir/usr/lib/rustdesk/
|
- mkdir -p AppDir/usr/lib/rustdesk/
|
||||||
- curl https://github.com/c-smile/sciter-sdk/raw/29a598b6d20220b93848b5e8abab704619296857/bin.lnx/x64/libsciter-gtk.so -o AppDir/usr/lib/rustdesk/libsciter-gtk.so
|
- pushd AppDir/usr/lib/rustdesk && wget https://github.com/c-smile/sciter-sdk/raw/29a598b6d20220b93848b5e8abab704619296857/bin.lnx/x64/libsciter-gtk.so && popd
|
||||||
# pynput_service.py
|
# pynput_service.py
|
||||||
- cp ../pynput_service.py ./AppDir/usr/lib/rustdesk
|
- cp ../pynput_service.py ./AppDir/usr/lib/rustdesk
|
||||||
# Build rustdesk
|
# Build rustdesk
|
||||||
@ -19,7 +19,7 @@ script:
|
|||||||
- mkdir -p AppDir/usr/share/icons/hicolor/128x128 && cp ../128x128.png AppDir/usr/share/icons/hicolor/128x128/rustdesk.png
|
- mkdir -p AppDir/usr/share/icons/hicolor/128x128 && cp ../128x128.png AppDir/usr/share/icons/hicolor/128x128/rustdesk.png
|
||||||
- mkdir -p AppDir/usr/share/icons/hicolor/32x32 && cp ../32x32.png AppDir/usr/share/icons/hicolor/32x32/rustdesk.png
|
- mkdir -p AppDir/usr/share/icons/hicolor/32x32 && cp ../32x32.png AppDir/usr/share/icons/hicolor/32x32/rustdesk.png
|
||||||
- cp rustdesk.desktop AppDir/
|
- cp rustdesk.desktop AppDir/
|
||||||
|
|
||||||
AppDir:
|
AppDir:
|
||||||
path: ./AppDir
|
path: ./AppDir
|
||||||
app_info:
|
app_info:
|
||||||
@ -34,91 +34,39 @@ AppDir:
|
|||||||
- amd64
|
- amd64
|
||||||
allow_unauthenticated: true
|
allow_unauthenticated: true
|
||||||
sources:
|
sources:
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal main restricted
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal universe
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic universe
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-updates universe
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal multiverse
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic multiverse
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-updates multiverse
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted
|
||||||
universe multiverse
|
universe multiverse
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-security main restricted
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-security universe
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-security universe
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-security multiverse
|
- sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-security multiverse
|
||||||
include:
|
include:
|
||||||
- libexpat1:amd64
|
- libgcc1:amd64
|
||||||
- libgcc-s1:amd64
|
- libgcrypt20:amd64
|
||||||
- libgpg-error0:amd64
|
- libgtk-3-0:amd64
|
||||||
|
- liblz4-1:amd64
|
||||||
- liblzma5:amd64
|
- liblzma5:amd64
|
||||||
- libmount1:amd64
|
|
||||||
- libpcre3:amd64
|
- libpcre3:amd64
|
||||||
- libpulse0:amd64
|
- libpulse0:amd64
|
||||||
- libsystemd0:amd64
|
- libsystemd0:amd64
|
||||||
- libuuid1:amd64
|
- libxau6:amd64
|
||||||
- zlib1g:amd64
|
- libxcb-randr0:amd64
|
||||||
|
- libxdmcp6:amd64
|
||||||
|
- libxdo3:amd64
|
||||||
|
- libxext6:amd64
|
||||||
|
- libxfixes3:amd64
|
||||||
|
- libxinerama1:amd64
|
||||||
|
- libxrender1:amd64
|
||||||
|
- libxtst6:amd64
|
||||||
- python3:amd64
|
- python3:amd64
|
||||||
- python3-pkg-resources:amd64
|
- python3-pkg-resources:amd64
|
||||||
files:
|
files:
|
||||||
include:
|
include: []
|
||||||
- /lib/x86_64-linux-gnu/libFLAC.so.8
|
|
||||||
- /lib/x86_64-linux-gnu/libX11.so.6
|
|
||||||
- /lib/x86_64-linux-gnu/libXau.so.6
|
|
||||||
- /lib/x86_64-linux-gnu/libXcomposite.so.1
|
|
||||||
- /lib/x86_64-linux-gnu/libXcursor.so.1
|
|
||||||
- /lib/x86_64-linux-gnu/libXdamage.so.1
|
|
||||||
- /lib/x86_64-linux-gnu/libXdmcp.so.6
|
|
||||||
- /lib/x86_64-linux-gnu/libXext.so.6
|
|
||||||
- /lib/x86_64-linux-gnu/libXfixes.so.3
|
|
||||||
- /lib/x86_64-linux-gnu/libXi.so.6
|
|
||||||
- /lib/x86_64-linux-gnu/libXinerama.so.1
|
|
||||||
- /lib/x86_64-linux-gnu/libXrandr.so.2
|
|
||||||
- /lib/x86_64-linux-gnu/libXrender.so.1
|
|
||||||
- /lib/x86_64-linux-gnu/libXtst.so.6
|
|
||||||
- /lib/x86_64-linux-gnu/libapparmor.so.1
|
|
||||||
- /lib/x86_64-linux-gnu/libasyncns.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libatk-1.0.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libatspi.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libbsd.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libcairo-gobject.so.2
|
|
||||||
- /lib/x86_64-linux-gnu/libcairo.so.2
|
|
||||||
- /lib/x86_64-linux-gnu/libdatrie.so.1
|
|
||||||
- /lib/x86_64-linux-gnu/libepoxy.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libffi.so.7
|
|
||||||
- /lib/x86_64-linux-gnu/libfontconfig.so.1
|
|
||||||
- /lib/x86_64-linux-gnu/libfreetype.so.6
|
|
||||||
- /lib/x86_64-linux-gnu/libfribidi.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libgcrypt.so.20
|
|
||||||
- /lib/x86_64-linux-gnu/libgdk-3.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libgio-2.0.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libglib-2.0.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libgmodule-2.0.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libgobject-2.0.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libgraphite2.so.3
|
|
||||||
- /lib/x86_64-linux-gnu/libgtk-3.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libharfbuzz.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/liblz4.so.1
|
|
||||||
- /lib/x86_64-linux-gnu/libogg.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libpango-1.0.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libpangocairo-1.0.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libpcre2-8.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libpixman-1.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libpng16.so.16
|
|
||||||
- /lib/x86_64-linux-gnu/libpulse-simple.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libpulse.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libsndfile.so.1
|
|
||||||
- /lib/x86_64-linux-gnu/libthai.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libvorbis.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libvorbisenc.so.2
|
|
||||||
- /lib/x86_64-linux-gnu/libwayland-client.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libwayland-cursor.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libwayland-egl.so.1
|
|
||||||
- /lib/x86_64-linux-gnu/libwrap.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libxcb-randr.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libxdo.so.3
|
|
||||||
- /lib/x86_64-linux-gnu/libxkbcommon.so.0
|
|
||||||
exclude:
|
exclude:
|
||||||
- usr/share/man
|
- usr/share/man
|
||||||
- usr/share/doc/*/README.*
|
- usr/share/doc/*/README.*
|
||||||
@ -128,7 +76,7 @@ AppDir:
|
|||||||
runtime:
|
runtime:
|
||||||
env:
|
env:
|
||||||
PYTHONHOME: '${APPDIR}/usr'
|
PYTHONHOME: '${APPDIR}/usr'
|
||||||
PYTHONPATH: '${APPDIR}/usr/lib/python3.8/site-packages'
|
PYTHONPATH: '${APPDIR}/usr/lib/python3.6/site-packages'
|
||||||
test:
|
test:
|
||||||
fedora-30:
|
fedora-30:
|
||||||
image: appimagecrafters/tests-env:fedora-30
|
image: appimagecrafters/tests-env:fedora-30
|
||||||
@ -147,4 +95,4 @@ AppDir:
|
|||||||
command: ./AppRun
|
command: ./AppRun
|
||||||
AppImage:
|
AppImage:
|
||||||
arch: x86_64
|
arch: x86_64
|
||||||
update-information: guess
|
update-information: guess
|
Loading…
Reference in New Issue
Block a user