forked from mirrors/rustdesk
feat: flatpak and flutter build
This commit is contained in:
parent
1c170366e7
commit
2d93460873
9 changed files with 96 additions and 4 deletions
31
flatpak/rustdesk.yml
Normal file
31
flatpak/rustdesk.yml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
app-id: org.rustdesk.rustdesk
|
||||
runtime: org.freedesktop.Platform
|
||||
runtime-version: '21.08'
|
||||
sdk: org.freedesktop.Sdk
|
||||
command: rustdesk
|
||||
modules:
|
||||
# install appindicator
|
||||
- shared-modules/libappindicator/libappindicator-gtk3-12.10.json
|
||||
- name: rustdesk
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- bsdtar -zxvf rustdesk-1.2.0.deb
|
||||
- tar -xvf ./data.tar.xz
|
||||
- cp -r ./usr /app/
|
||||
- rm /app/usr/bin/rustdesk
|
||||
- mkdir -p /app/bin && ln -s /app/usr/lib/rustdesk/flutter_hbb /app/bin/rustdesk
|
||||
sources:
|
||||
# Note: replace to deb files with url
|
||||
- type: file
|
||||
path: ../rustdesk-1.2.0.deb
|
||||
|
||||
finish-args:
|
||||
# X11 + XShm access
|
||||
- --share=ipc
|
||||
- --socket=x11
|
||||
# Wayland access
|
||||
- --socket=wayland
|
||||
# Needs to talk to the network:
|
||||
- --share=network
|
||||
# Needs to save files locally
|
||||
- --filesystem=xdg-documents
|
||||
1
flatpak/shared-modules
Submodule
1
flatpak/shared-modules
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit cecc93886ce839ec49b0041f072a573327acdf08
|
||||
Loading…
Add table
Add a link
Reference in a new issue