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
Nurlan
eepm
Commits
5b353ca3
Commit
5b353ca3
authored
Feb 07, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack rustdesk: improve packing
parent
92051791
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
rustdesk.sh
repack.d/rustdesk.sh
+13
-6
No files found.
repack.d/rustdesk.sh
View file @
5b353ca3
...
...
@@ -13,13 +13,9 @@ 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
remove_
dir /usr/share/rustdesk/files/systemd
pack_file /etc/systemd/system/
$PRODUCT
.service
remove_dir /usr/share/rustdesk
move_to_opt
add_bin_link_command
# TODO
# if [[ "$parsedVersion" -gt "360" ]]; then
...
...
@@ -27,7 +23,18 @@ add_bin_link_command
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
subst
"s|^Categories.*|Categories=GNOME;GTK;Network;RemoteAccess;|"
$BUILDROOT
/usr/share/applications/
$PRODUCT
.desktop
subst
"s|/usr/share/rustdesk/files/rustdesk.png|
$PRODUCT
|"
$BUILDROOT
/usr/share/applications/
$PRODUCT
.desktop
ICONFILE
=
$PRODUCT
.png
mkdir
-p
$BUILDROOT
/usr/share/pixmaps/
cp
$BUILDROOT
/usr/share/rustdesk/files/rustdesk.png
$BUILDROOT
/usr/share/pixmaps/
$ICONFILE
pack_file /usr/share/pixmaps/
$ICONFILE
move_to_opt /usr/lib/rustdesk
add_bin_link_command
remove_dir /usr/lib
epm assure patchelf
||
fatal
for
i
in
$BUILDROOT
/
$PRODUCTDIR
/lib/
*
.so
;
do
...
...
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