Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
b7491d26
Commit
b7491d26
authored
Aug 12, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add rustdesk support
parent
c8eb90eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
0 deletions
+51
-0
rustdesk.sh
play.d/rustdesk.sh
+23
-0
rustdesk.sh
repack.d/rustdesk.sh
+28
-0
No files found.
play.d/rustdesk.sh
0 → 100755
View file @
b7491d26
#!/bin/sh
PKGNAME
=
rustdesk
SUPPORTEDARCHES
=
"x86_64 armhf"
DESCRIPTION
=
"RustTDesk — Display and control your PC and Android devices"
.
$(
dirname
$0
)
/common.sh
arch
=
$(
$DISTRVENDOR
-a
)
[
"
$arch
"
=
"armhf"
]
||
arch
=
"[0-9]"
pkgtype
=
deb
#rustdesk-1.1.9-raspberry-armhf.deb
#rustdesk-1.1.9.deb
URL
=
$(
epm tool eget
--list
--latest
https://github.com/rustdesk/rustdesk/releases
"
$PKGNAME
-*
$arch
.
$pkgtype
"
)
||
fatal
"Can't get package URL"
epm
install
$URL
cat
<<
EOF
Note: run
# serv rustdesk on
to enable needed rustdesk system service (daemon)
EOF
repack.d/rustdesk.sh
0 → 100755
View file @
b7491d26
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
rustdesk
.
$(
dirname
$0
)
/common.sh
subst
'1iAutoProv:no'
$SPEC
# put service file to the normal place
mkdir
-p
$BUILDROOT
/etc/systemd/system/
cp
$BUILDROOT
/usr/share/rustdesk/files/systemd/rustdesk.service
$BUILDROOT
/etc/systemd/system/
$PRODUCT
.service
remove_file /usr/share/rustdesk/files/systemd/rustdesk.service
pack_file /etc/systemd/system/
$PRODUCT
.service
# TODO
# if [[ "$parsedVersion" -gt "360" ]]; then
# sudo -H pip3 install pynput
remove_file /usr/share/rustdesk/files/pynput_service.py
# filter_from_requires "python3(pynput.*"
echo
"Categories=GNOME;GTK;Network;RemoteAccess;"
>>
$BUILDROOT
/usr/share/applications/
$PRODUCT
.desktop
epm
install
glib2 libcairo libgdk-pixbuf libgtk+3 libpango libpulseaudio libuuid libX11 libXau libxcb libXdmcp libXfixes libXtst xdotool
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment