Gentoo Archives: gentoo-commits

From: Maxim Koltsov <maksbotan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/teamviewer/
Date: Mon, 26 Mar 2018 20:08:53
Message-Id: 1522094616.8abee16e1ebb1e19328dcd0c5105b9bc4320da45.maksbotan@gentoo
1 commit: 8abee16e1ebb1e19328dcd0c5105b9bc4320da45
2 Author: Maxim Koltsov <maksbotan <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 26 20:03:36 2018 +0000
4 Commit: Maxim Koltsov <maksbotan <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 26 20:03:36 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8abee16e
7
8 net-misc/teamviewer: drop old
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 net-misc/teamviewer/Manifest | 2 -
13 net-misc/teamviewer/teamviewer-13.0.5693-r2.ebuild | 129 ---------------------
14 2 files changed, 131 deletions(-)
15
16 diff --git a/net-misc/teamviewer/Manifest b/net-misc/teamviewer/Manifest
17 index 4c903bce11f..78534e2c083 100644
18 --- a/net-misc/teamviewer/Manifest
19 +++ b/net-misc/teamviewer/Manifest
20 @@ -1,5 +1,3 @@
21 DIST teamviewer-9.0.32150.deb 22898922 BLAKE2B 799aa6f48b69247a2695ca745e85d02ffa73df1375203dfc9da339673e6c18d861c4146ddbdc509bdc1114d5a2a7e5fdd4acf3c6e5da61fbba5aaa02fa4e3cfd SHA512 3e72ed5cab7a754a0aa75e533da92292ad004f66c55ac4c386b6f4a65cc41b14a8d9d7a5410dccdb90c1172cd33e52383289339ab44f0847a061655498ab8e4d
22 -DIST teamviewer_13.0.5693_amd64.tar.xz 9694952 BLAKE2B 650814c3c63897e1024836528c6eaa4cc81064ffa16bece7f8d2fe633457e2795e2cef847175a88dbb389ba61d2597a02292e6bf610da25c92f97152560ea355 SHA512 75886b6d00991968ae0b0d3c55b4c07c6f1b1b24488b2d5ae866e35c26ee6e673e500c87845ba6850ffdc80e4612feff0fc5bbe9e39f2d0a94582e1800471dcc
23 -DIST teamviewer_13.0.5693_i386.tar.xz 9583892 BLAKE2B 8e477978825431a01b37b61c28b903b36cd81365c7ec5df4ca8d4aec1ce8d24b49af60ed6c99c863acd26405254ae78c4ae4dfef1f8b7a5fb882e281c3c4f125 SHA512 be5e8e00755a38f2c70ceba88d9fb87c2cc8e9e284c86e22f95dddf919a37ee1f24ef1e02f042a339eaf863dbf255c873e3edcb038c04202b4ab0460e50b2503
24 DIST teamviewer_13.0.9865_amd64.tar.xz 11562916 BLAKE2B 93d3a31f43c530e96202c1ce9fba7bcb24553068662d8d61869ddd38b447ae859bae8fc9a9dddd228985c6c858fcf9714e523a0649ca8dd487dd3dbe6e4ba4fc SHA512 08983ed34a6fe227bd7be5b03fb74c2b64c16a973034db2645d71e641c1855a9186fbddf6bbdae2db5e1258df0de8e252d49b4f1b0bb6aad8d357aced7a01984
25 DIST teamviewer_13.0.9865_i386.tar.xz 11540784 BLAKE2B b8fa47ec7572ed1b7eceb29f48af286ad565165498ea6f82c22f3d55181bcd70c1f380e719998a4c351ec3106216d7bde2461c23b9f84608152ae72c2f16d44c SHA512 24b70e1d728f09fc4dec4e669409b8f979011842f022b75d718459f732668689c53470e3bd4b9f21bd1a9919feda2e452de0daeb242cbef4ae49ad2483213ec2
26
27 diff --git a/net-misc/teamviewer/teamviewer-13.0.5693-r2.ebuild b/net-misc/teamviewer/teamviewer-13.0.5693-r2.ebuild
28 deleted file mode 100644
29 index c8eeedebcf6..00000000000
30 --- a/net-misc/teamviewer/teamviewer-13.0.5693-r2.ebuild
31 +++ /dev/null
32 @@ -1,129 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -MY_PN=${PN}${PV/\.*}
39 -inherit eutils gnome2-utils systemd
40 -
41 -DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet"
42 -HOMEPAGE="https://www.teamviewer.com"
43 -SRC_URI="amd64? ( https://dl.tvcdn.de/download/linux/version_${PV/\.*}x/${PN}_${PV}_amd64.tar.xz )
44 - x86? ( https://dl.tvcdn.de/download/linux/version_${PV/\.*}x/${PN}_${PV}_i386.tar.xz )"
45 -
46 -LICENSE="TeamViewer MIT"
47 -SLOT="${PV/\.*}"
48 -KEYWORDS="-* ~amd64 ~x86"
49 -IUSE=""
50 -
51 -DEPEND="sys-apps/sed"
52 -RDEPEND="
53 - dev-qt/qtcore:5
54 - dev-qt/qtdbus:5
55 - dev-qt/qtdeclarative:5
56 - dev-qt/qtgui:5
57 - dev-qt/qtnetwork:5
58 - dev-qt/qtquickcontrols:5
59 - dev-qt/qtwebkit:5
60 - dev-qt/qtwidgets:5
61 - dev-qt/qtx11extras:5
62 - sys-apps/dbus
63 -"
64 -
65 -RESTRICT="bindist mirror"
66 -
67 -# Silence QA messages
68 -QA_PREBUILT="opt/${MY_PN}/*"
69 -
70 -S="${WORKDIR}"/teamviewer
71 -
72 -src_prepare() {
73 - default
74 -
75 - # Switch operation mode from 'portable' to 'installed'
76 - sed -e "s/TAR_NI/TAR_IN/g" -i tv_bin/script/tvw_config || die
77 -
78 - sed -e "/^ExecStart/s/${PN}/${MY_PN}/" \
79 - -i tv_bin/script/teamviewerd.service || die
80 -}
81 -
82 -src_install() {
83 - local dst="/opt/${MY_PN}" # install destination
84 -
85 - # Quirk:
86 - # Remove Intel 80386 32-bit ELF binary 'libdepend' present in all
87 - # archives. It will trip the 'emerge @preserved-libs' logic on amd64
88 - # when changing the ABI of one of its dependencies. According to the
89 - # TeamViewer devs, this binary is an unused remnant of previous Wine-
90 - # based builds and will be removed in future releases anyway
91 - rm tv_bin/script/libdepend
92 -
93 - insinto ${dst}
94 - doins -r tv_bin
95 -
96 - # Set permissions for executables and libraries
97 - for exe in $(find tv_bin -type f -executable -or -name '*.so'); do
98 - fperms 755 ${dst}/${exe}
99 - done
100 -
101 - # No slotting here, binary expects this service path
102 - newinitd "${FILESDIR}"/teamviewerd13.init teamviewerd
103 - systemd_dounit tv_bin/script/teamviewerd.service
104 -
105 - insinto /usr/share/dbus-1/services
106 - doins tv_bin/script/com.teamviewer.TeamViewer.service
107 - doins tv_bin/script/com.teamviewer.TeamViewer.Desktop.service
108 -
109 - insinto /usr/share/polkit-1/actions
110 - doins tv_bin/script/com.teamviewer.TeamViewer.policy
111 -
112 - for size in 16 24 32 48 256; do
113 - newicon -s ${size} tv_bin/desktop/teamviewer_${size}.png TeamViewer.png
114 - done
115 -
116 - # Install documents (NOTE: using 'dodoc -r doc' instead of loop will
117 - # have the undesired result of installing subdirectory 'doc' in /usr/
118 - # share/doc/teamviewer-<version>)
119 - for doc in $(find doc -type f); do
120 - dodoc ${doc}
121 - done
122 -
123 - keepdir /etc/${MY_PN}
124 - dosym ../../etc/${MY_PN} ${dst}/config
125 -
126 - # Create directory and symlink for log files (NOTE: according to Team-
127 - # Viewer devs, all paths are hard-coded in the binaries; therefore
128 - # using the same path as the DEB/RPM archives, i.e. '/var/log/teamviewer
129 - # <major-version>')
130 - keepdir /var/log/${MY_PN}
131 - dosym ../../var/log/${MY_PN} ${dst}/logfiles
132 -
133 - dodir /opt/bin
134 - dosym ${dst}/tv_bin/teamviewerd /opt/bin/teamviewerd
135 - dosym ${dst}/tv_bin/script/teamviewer /opt/bin/teamviewer
136 -
137 - make_desktop_entry teamviewer "TeamViewer ${SLOT}" TeamViewer
138 -}
139 -
140 -pkg_postinst() {
141 - gnome2_icon_cache_update
142 -
143 - elog "Please note that parallel installation of multiple versions of"
144 - elog "TeamViewer is currently not supported at runtime. Bug #621818"
145 - elog ""
146 - elog "Before using TeamViewer, you need to start its daemon:"
147 - elog "OpenRC:"
148 - elog "# /etc/init.d/teamviewerd start"
149 - elog "# rc-update add teamviewerd default"
150 - elog
151 - elog "Systemd:"
152 - elog "# systemctl start teamviewerd.service"
153 - elog "# systemctl enable teamviewerd.service"
154 - elog
155 - elog "To display additional command line options simply run:"
156 - elog "$ teamviewer help"
157 -}
158 -
159 -pkg_postrm() {
160 - gnome2_icon_cache_update
161 -}