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
0f1bf872
Commit
0f1bf872
authored
Nov 10, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve teamviewer repack
parent
8713159a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
2 deletions
+40
-2
teamviewer.sh
prescription.d/teamviewer.sh
+1
-1
README.md
repack.d/README.md
+2
-0
teamviewer.sh
repack.d/teamviewer.sh
+37
-1
No files found.
prescription.d/teamviewer.sh
View file @
0f1bf872
...
...
@@ -31,7 +31,7 @@ fi
# See https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=teamviewer
repack
=
''
[
"
$(
$DISTRVENDOR
-p
)
"
=
"deb"
||
repack
=
'--repack'
[
"
$(
$DISTRVENDOR
-p
)
"
=
"deb"
]
||
repack
=
'--repack'
# epm uses eget to download * names
epm
$repack
install
"https://download.teamviewer.com/download/linux/
$(
epm print constructname
$PKGNAME
)
"
repack.d/README.md
0 → 100644
View file @
0f1bf872
Allowed variables:
*
$DISTRVENDOR (distro_info utility)
repack.d/teamviewer.sh
View file @
0f1bf872
...
...
@@ -10,5 +10,41 @@ if [ "$($DISTRVENDOR -a)" = "x86_64" ] ; then
subst
"s|.*script/libdepend.*||"
$SPEC
fi
REQUIRES
=
"libdbus,libexo,libqt5-core,libqt5-dbus,libqt5-gui,libqt5-network,libqt5-qml,libqt5-quick,libqt5-webkit,libqt5-webkitwidgets,libqt5-widgets,libqt5-x11extras"
# comment out libexo (we have libexo-gtk3 only now)
REQUIRES
=
"xdg-utils,libdbus,libqt5-core,libqt5-dbus,libqt5-gui,libqt5-network,libqt5-qml,libqt5-quick,libqt5-webkit,libqt5-webkitwidgets,libqt5-widgets,libqt5-x11extras"
subst
"s|^
\(
Name: .*
\)
$|
# Converted from original package requires
\n
Requires:
$REQUIRES
\n\1
|g"
$SPEC
# TODO: check if we missed something from it
rm
-rf
$BUILDROOT
/opt/teamviewer/tv_bin/script/teamviewer_setup
put_link
()
{
mkdir
-p
"
$BUILDROOT$1
"
ln
-sr
"
$BUILDROOT
/opt/teamviewer/tv_bin/script/
$2
"
"
$BUILDROOT$1
/
$2
"
}
TV_DBUS_FILE_GUI
=
'com.teamviewer.TeamViewer.service'
TV_DBUS_FILE_DESKTOP
=
'com.teamviewer.TeamViewer.Desktop.service'
TV_POLKIT_FILE
=
'com.teamviewer.TeamViewer.policy'
#put_link /usr/share/dbus-1/services $TV_DBUS_FILE_GUI
#put_link /usr/share/dbus-1/services $TV_DBUS_FILE_DESKTOP
#put_link /usr/share/polkit-1/actions $TV_POLKIT_FILE
put_link /lib/systemd/system teamviewerd.service
subst
"s|
\"
/opt/teamviewer/tv_bin/script/teamviewer_setup
\"
|
\n\
/lib/systemd/system/teamviewerd.service
\n\
|"
$SPEC
#subst "s|\"/opt/teamviewer/tv_bin/script/teamviewer_setup\"|\n\
#/usr/share/dbus-1/services/$TV_DBUS_FILE_GUI\n\
#/usr/share/dbus-1/services/$TV_DBUS_FILE_DESKTOP\n\
#/usr/share/polkit-1/actions/$TV_POLKIT_FILE\n\
#/lib/systemd/system/teamviewerd.service\n\
#|" $SPEC
# don't use packed xdg-utils
rm
-rfv
$BUILDROOT
/opt/teamviewer/tv_bin/xdg-utils
subst
"s|.*/opt/teamviewer/tv_bin/xdg-utils.*||"
$SPEC
rm
-rfv
$BUILDROOT
/opt/teamviewer/tv_bin/script/teamviewerd.sysv
subst
"s|.*/opt/teamviewer/tv_bin/script/teamviewerd.sysv.*||"
$SPEC
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