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
6fc37aec
Commit
6fc37aec
authored
Aug 21, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play rustdesk: allow install latest 1.2.2 version and fix 1.1.9 install
parent
4f9559a9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
24 deletions
+11
-24
rustdesk.sh
play.d/rustdesk.sh
+9
-20
rustdesk.sh
repack.d/rustdesk.sh
+2
-4
No files found.
play.d/rustdesk.sh
View file @
6fc37aec
#!/bin/sh
#!/bin/sh
BASE
PKGNAME
=
rustdesk
PKGNAME
=
rustdesk
SUPPORTEDARCHES
=
"x86_64
armhf
"
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
VERSION
=
"
$2
"
if
[
"
$VERSION
"
=
"nightly"
]
;
then
SUPPORTEDARCHES
=
"x86_64 aarch64"
fi
DESCRIPTION
=
"RustDesk — Display and control your PC and Android devices"
DESCRIPTION
=
"RustDesk — Display and control your PC and Android devices"
PRODUCTALT
=
"'' nightly"
URL
=
"https://github.com/rustdesk/rustdesk/"
# we have no package rustdesk-nightly
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$BASEPKGNAME
exit
fi
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
arch
=
$(
epm print info
-a
)
arch
=
$(
epm print info
-a
)
pkgtype
=
deb
pkgtype
=
deb
if
[
"
$PKGNAME
"
=
"
$BASEPKGNAME
-nightly"
]
;
then
if
[
"
$VERSION
"
=
"1.1.9"
]
;
then
PKGNAME
=
rustdesk
# https://github.com/rustdesk/rustdesk/releases/download/nightly/rustdesk-1.2.0-aarch64.deb
MASK
=
"nightly/
$PKGNAME
-
$VERSION
-
$arch
.
$pkgtype
"
else
#rustdesk-1.1.9-raspberry-armhf.deb
#rustdesk-1.1.9-raspberry-armhf.deb
#rustdesk-1.1.9.deb
#rustdesk-1.1.9.deb
[
"
$VERSION
"
=
"*"
]
&&
VERSION
=
"[0-9].[0-9].[0-9]"
#[ "$VERSION" = "*" ] && VERSION="[0-9].[0-9].[0-9]"
[
"
$arch
"
=
"armhf"
]
&&
VERSION
=
"
$VERSION
-raspberry-armhf"
#[ "$arch" = "armhf" ] && VERSION="$VERSION-raspberry-armhf"
MASK
=
"[0-9]/
$PKGNAME
-
$VERSION
.
$pkgtype
"
MASK
=
"
$PKGNAME
-
$VERSION
.
$pkgtype
"
else
MASK
=
"
$PKGNAME
-
$VERSION
-
$arch
.
$pkgtype
"
fi
fi
PKGURL
=
$(
epm tool eget
--list
--latest
https://github.com/rustdesk/rustdesk/releases
"
$MASK
"
)
||
fatal
"Can't get package URL"
PKGURL
=
$(
epm tool eget
--list
--latest
https://github.com/rustdesk/rustdesk/releases
"
$MASK
"
)
||
fatal
"Can't get package URL"
...
...
repack.d/rustdesk.sh
View file @
6fc37aec
...
@@ -58,13 +58,11 @@ filter_from_requires /etc/X11/xinit/Xsession /etc/default/locale /usr/etc/X11/xd
...
@@ -58,13 +58,11 @@ filter_from_requires /etc/X11/xinit/Xsession /etc/default/locale /usr/etc/X11/xd
fi
fi
set_autoreq
'yes'
add_libs_requires
#add_libs_requires
[
"
$(
epm print info
-s
)
"
=
"alt"
]
||
exit
0
[
"
$(
epm print info
-s
)
"
=
"alt"
]
||
exit
0
install_requires glib2 libappindicator-gtk3 libcairo libgdk-pixbuf libgtk+3 libpango libpulseaudio libuuid libX11 libXau libxcb libXdmcp libXfixes libXtst
xdotool
add_unirequires
xdotool
if
!
epm
install
--skip-installed
--no-remove
python3-module-pynput
;
then
if
!
epm
install
--skip-installed
--no-remove
python3-module-pynput
;
then
case
"
$(
epm print info
-e
)
"
in
case
"
$(
epm print info
-e
)
"
in
...
...
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