2022-05-29 10:14:22 +08:00
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
2022-06-10 00:41:52 +08:00
# Please build this AppImage on Ubuntu 18.04
2022-05-29 10:14:22 +08:00
version : 1
2022-06-09 17:30:26 +08:00
script :
# Remove any previous build
- rm -rf AppDir | true
# Install application dependencies
2022-06-10 00:41:52 +08:00
- pip3 install --upgrade pip && pip3 install --ignore-installed --prefix=/usr --root=AppDir -r ./requirements.txt
2022-06-09 17:30:26 +08:00
# Download sciter.so
- mkdir -p AppDir/usr/lib/rustdesk/
2022-06-10 00:41:52 +08:00
- pushd AppDir/usr/lib/rustdesk && wget https://github.com/c-smile/sciter-sdk/raw/29a598b6d20220b93848b5e8abab704619296857/bin.lnx/x64/libsciter-gtk.so && popd
2022-06-09 17:30:26 +08:00
# pynput_service.py
- cp ../pynput_service.py ./AppDir/usr/lib/rustdesk
# Build rustdesk
- pushd .. && python3 inline-sciter.py && cargo build --features inline,appimage --release && popd
- mkdir -p AppDir/usr/bin
- cp ../target/release/rustdesk AppDir/usr/bin/rustdesk
# Make usr and icons dirs
- 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
- cp rustdesk.desktop AppDir/
2022-06-10 00:41:52 +08:00
2022-05-29 10:14:22 +08:00
AppDir :
2022-06-09 17:30:26 +08:00
path : ./AppDir
2022-05-29 10:14:22 +08:00
app_info :
id : rustdesk
name : RustDesk
icon : rustdesk
2022-06-09 19:45:53 +08:00
version : 1.1 .10
2022-05-29 10:14:22 +08:00
exec : usr/bin/rustdesk
exec_args : $@
2022-06-09 17:30:26 +08:00
apt :
arch :
- amd64
allow_unauthenticated : true
sources :
2022-06-10 00:41:52 +08:00
- sourceline : deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
- sourceline : deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted
- sourceline : deb http://archive.ubuntu.com/ubuntu/ bionic universe
- sourceline : deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
- sourceline : deb http://archive.ubuntu.com/ubuntu/ bionic multiverse
- sourceline : deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse
- sourceline : deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted
2022-06-09 17:30:26 +08:00
universe multiverse
2022-06-10 00:41:52 +08:00
- sourceline : deb http://archive.ubuntu.com/ubuntu/ bionic-security main restricted
- sourceline : deb http://archive.ubuntu.com/ubuntu/ bionic-security universe
- sourceline : deb http://archive.ubuntu.com/ubuntu/ bionic-security multiverse
2022-05-29 10:14:22 +08:00
include :
2022-06-10 00:41:52 +08:00
- libgcc1:amd64
- libgcrypt20:amd64
- libgtk-3-0:amd64
- liblz4-1:amd64
2022-06-09 17:30:26 +08:00
- liblzma5:amd64
- libpcre3:amd64
- libpulse0:amd64
- libsystemd0:amd64
2022-06-10 00:41:52 +08:00
- libxau6:amd64
- libxcb-randr0:amd64
- libxdmcp6:amd64
- libxdo3:amd64
- libxext6:amd64
- libxfixes3:amd64
- libxinerama1:amd64
- libxrender1:amd64
- libxtst6:amd64
2022-06-09 17:30:26 +08:00
- python3:amd64
- python3-pkg-resources:amd64
2022-05-29 10:14:22 +08:00
files :
2022-06-10 00:41:52 +08:00
include : [ ]
2022-05-29 10:14:22 +08:00
exclude :
- usr/share/man
- usr/share/doc/*/README.*
- usr/share/doc/*/changelog.*
- usr/share/doc/*/NEWS.*
- usr/share/doc/*/TODO.*
2022-06-09 17:30:26 +08:00
runtime :
env :
PYTHONHOME : '${APPDIR}/usr'
2022-06-10 00:41:52 +08:00
PYTHONPATH : '${APPDIR}/usr/lib/python3.6/site-packages'
2022-05-29 10:14:22 +08:00
test :
fedora-30 :
image : appimagecrafters/tests-env:fedora-30
command : ./AppRun
debian-stable :
image : appimagecrafters/tests-env:debian-stable
command : ./AppRun
archlinux-latest :
image : appimagecrafters/tests-env:archlinux-latest
command : ./AppRun
centos-7 :
image : appimagecrafters/tests-env:centos-7
command : ./AppRun
ubuntu-xenial :
image : appimagecrafters/tests-env:ubuntu-xenial
command : ./AppRun
AppImage :
arch : x86_64
2022-06-10 00:41:52 +08:00
update-information : guess