Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/skype/files/, net-im/skype/
Date: Wed, 15 Nov 2017 07:36:42
Message-Id: 1510731374.d7c8833dec2b13923edd6b31247292679f1ecc63.asturm@gentoo
1 commit: d7c8833dec2b13923edd6b31247292679f1ecc63
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 15 07:36:14 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 15 07:36:14 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7c8833d
7
8 net-im/skype: Remove last-rited package
9
10 net-im/skype/Manifest | 1 -
11 net-im/skype/files/skype | 2 -
12 net-im/skype/files/skype-4.3.0.37-desktop.patch | 15 ---
13 net-im/skype/metadata.xml | 18 ----
14 net-im/skype/skype-4.3.0.37-r5.ebuild | 120 ------------------------
15 net-im/skype/skype-4.3.0.37-r6.ebuild | 118 -----------------------
16 6 files changed, 274 deletions(-)
17
18 diff --git a/net-im/skype/Manifest b/net-im/skype/Manifest
19 deleted file mode 100644
20 index 0a7499bffb0..00000000000
21 --- a/net-im/skype/Manifest
22 +++ /dev/null
23 @@ -1 +0,0 @@
24 -DIST skype-4.3.0.37.tar.bz2 19310701 SHA256 8c99dc3978a588fb13303df7c8134379fb55b8dd460efefbc79ae594269b892d SHA512 935d0c06c031a90414f9b20c9a782c59deee36abff781c08f1dfd62194763dc9674bb85d478ae916b1bf440b123291d64380bc28295e9ecdd6522d17b434b7a5 WHIRLPOOL 1e5a84b04d7eb9bbf3bae9ae6e69bb41587a1cef7f5ff19af0363343fd7fc949d5202959efaf93b0ed9ccb939b8b2ad4d61fc9626fffbdc2a8d898f9fa29b300
25
26 diff --git a/net-im/skype/files/skype b/net-im/skype/files/skype
27 deleted file mode 100644
28 index 3a647adddbd..00000000000
29 --- a/net-im/skype/files/skype
30 +++ /dev/null
31 @@ -1,2 +0,0 @@
32 -#!/bin/sh
33 -exec i686-pc-linux-gnu-apulse skype-bin "$@"
34
35 diff --git a/net-im/skype/files/skype-4.3.0.37-desktop.patch b/net-im/skype/files/skype-4.3.0.37-desktop.patch
36 deleted file mode 100644
37 index af31e0e34ae..00000000000
38 --- a/net-im/skype/files/skype-4.3.0.37-desktop.patch
39 +++ /dev/null
40 @@ -1,15 +0,0 @@
41 ---- skype.desktop
42 -+++ skype.desktop
43 -@@ -2,10 +2,10 @@
44 - Name=Skype
45 - Comment=Skype Internet Telephony
46 - Exec=skype %U
47 --Icon=skype.png
48 -+Icon=skype
49 - Terminal=false
50 - Type=Application
51 - Encoding=UTF-8
52 --Categories=Network;Application;
53 -+Categories=Network;InstantMessaging;Telephony;
54 - MimeType=x-scheme-handler/skype;
55 - X-KDE-Protocols=skype
56
57 diff --git a/net-im/skype/metadata.xml b/net-im/skype/metadata.xml
58 deleted file mode 100644
59 index 6a054bc85f0..00000000000
60 --- a/net-im/skype/metadata.xml
61 +++ /dev/null
62 @@ -1,18 +0,0 @@
63 -<?xml version="1.0" encoding="UTF-8"?>
64 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
65 -<pkgmetadata>
66 - <maintainer type="person">
67 - <email>shentino@×××××.com</email>
68 - <name>Raymond Jennings</name>
69 - <description>Proxy maintainer. Assign bugs to him</description>
70 - </maintainer>
71 - <maintainer type="project">
72 - <email>proxy-maint@g.o</email>
73 - <name>Proxy Maintainers</name>
74 - </maintainer>
75 - <use>
76 - <flag name="apulse">Use <pkg>media-sound/apulse</pkg> for PulseAudio emulation</flag>
77 - <flag name="pax_kernel">Triggers a paxmarking of the main skype binary</flag>
78 - </use>
79 - <longdescription>Skype is for doing things together, whenever you’re apart. Skype’s text, voice and video make it simple to share experiences with the people that matter to you, wherever they are.</longdescription>
80 -</pkgmetadata>
81
82 diff --git a/net-im/skype/skype-4.3.0.37-r5.ebuild b/net-im/skype/skype-4.3.0.37-r5.ebuild
83 deleted file mode 100644
84 index f95c93110a8..00000000000
85 --- a/net-im/skype/skype-4.3.0.37-r5.ebuild
86 +++ /dev/null
87 @@ -1,120 +0,0 @@
88 -# Copyright 1999-2016 Gentoo Foundation
89 -# Distributed under the terms of the GNU General Public License v2
90 -
91 -EAPI=5
92 -
93 -inherit eutils gnome2-utils pax-utils
94 -
95 -DESCRIPTION="P2P Internet Telephony (VoiceIP) client"
96 -HOMEPAGE="http://www.skype.com/"
97 -SRC_URI="http://download.${PN}.com/linux/${P}.tar.bz2"
98 -
99 -LICENSE="skype-4.0.0.7-copyright BSD MIT RSA W3C regexp-UofT no-source-code"
100 -SLOT="0"
101 -KEYWORDS="~amd64 ~x86"
102 -IUSE="apulse pax_kernel plasma +pulseaudio selinux"
103 -REQUIRED_USE="apulse? ( !pulseaudio )"
104 -
105 -QA_PREBUILT=opt/bin/${PN}
106 -RESTRICT="mirror bindist strip" #299368
107 -
108 -RDEPEND="
109 - virtual/ttf-fonts
110 - dev-qt/qtcore:4[abi_x86_32(-)]
111 - dev-qt/qtdbus:4[abi_x86_32(-)]
112 - dev-qt/qtgui:4[accessibility,abi_x86_32(-)]
113 - dev-qt/qtwebkit:4[abi_x86_32(-)]
114 - media-libs/alsa-lib[abi_x86_32(-)]
115 - x11-libs/libX11[abi_x86_32(-)]
116 - x11-libs/libXext[abi_x86_32(-)]
117 - x11-libs/libXScrnSaver[abi_x86_32(-)]
118 - x11-libs/libXv[abi_x86_32(-)]
119 - apulse? ( media-sound/apulse[abi_x86_32(-)] )
120 - plasma? ( dev-libs/sni-qt[abi_x86_32(-)] )
121 - pulseaudio? ( media-sound/pulseaudio[abi_x86_32(-)] )
122 - selinux? ( sec-policy/selinux-skype )"
123 -
124 -src_prepare() {
125 - epatch "${FILESDIR}/${P}-desktop.patch"
126 -}
127 -
128 -src_compile() {
129 - if type -P lrelease >/dev/null; then
130 - lrelease lang/*.ts || die
131 - fi
132 - rm -f lang/*.ts || die
133 -}
134 -
135 -src_install() {
136 -
137 - if use apulse; then
138 - into /opt
139 - newbin ${PN} ${PN}-bin
140 - dobin "${FILESDIR}/${PN}"
141 - fowners root:audio /opt/bin/${PN} /opt/bin/${PN}-bin
142 - else
143 - into /opt
144 - dobin ${PN}
145 - fowners root:audio /opt/bin/${PN}
146 - fi
147 -
148 - insinto /etc/dbus-1/system.d
149 - doins ${PN}.conf
150 -
151 - insinto /usr/share/skype
152 - doins -r avatars lang sounds
153 -
154 - dodoc README
155 -
156 - local res
157 - for res in 16 32 48 64 96 128 256; do
158 - newicon -s ${res} icons/SkypeBlue_${res}x${res}.png ${PN}.png
159 - done
160 -
161 - domenu skype.desktop
162 -
163 - if use pax_kernel; then
164 - if use apulse; then
165 - pax-mark Cm "${ED}"/opt/bin/${PN}-bin || die
166 - else
167 - pax-mark Cm "${ED}"/opt/bin/${PN} || die
168 - fi
169 - eqawarn "You have set USE=pax_kernel meaning that you intend to run"
170 - eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
171 - eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
172 - eqawarn "you suspect that ${PN} is being broken by this modification,"
173 - eqawarn "please open a bug."
174 - fi
175 -
176 - echo PRELINK_PATH_MASK=/opt/bin/${PN} > ${T}/99${PN}
177 - doenvd "${T}"/99${PN} #430142
178 -}
179 -
180 -pkg_preinst() {
181 - gnome2_icon_savelist
182 -
183 - rm -rf "${EROOT}"/usr/share/${PN} #421165
184 -}
185 -
186 -pkg_postinst() {
187 - gnome2_icon_cache_update
188 -
189 - # https://bugs.gentoo.org/360815
190 - elog "For webcam support, see \"LD_PRELOAD\" section of \"README.lib\" document provided by"
191 - elog "media-libs/libv4l package and \"README\" document of this package."
192 -
193 - if ! use pulseaudio && ! use apulse; then
194 - ewarn "ALSA support was removed from Skype"
195 - ewarn "consider installing media-sound/pulseaudio"
196 - ewarn "or media-sound/apulse for pulseaudio emulation"
197 - ewarn "otherwise sound will not work for you."
198 - ewarn "These packages can be pulled in by setting"
199 - ewarn "appropriate USE flags for net-im/skype."
200 - fi
201 - elog "If skype is segfaulting for you with gcc-5+ please consider "
202 - elog "instalation of dev-qt/qtwebkit[-exceptions]"
203 -}
204 -
205 -pkg_postrm() {
206 - gnome2_icon_cache_update
207 -}
208
209 diff --git a/net-im/skype/skype-4.3.0.37-r6.ebuild b/net-im/skype/skype-4.3.0.37-r6.ebuild
210 deleted file mode 100644
211 index ebf518304ed..00000000000
212 --- a/net-im/skype/skype-4.3.0.37-r6.ebuild
213 +++ /dev/null
214 @@ -1,118 +0,0 @@
215 -# Copyright 1999-2016 Gentoo Foundation
216 -# Distributed under the terms of the GNU General Public License v2
217 -
218 -EAPI=5
219 -
220 -inherit eutils gnome2-utils pax-utils
221 -
222 -DESCRIPTION="P2P Internet Telephony (VoiceIP) client"
223 -HOMEPAGE="http://www.skype.com/"
224 -SRC_URI="http://download.${PN}.com/linux/${P}.tar.bz2"
225 -
226 -LICENSE="skype-4.0.0.7-copyright BSD MIT RSA W3C regexp-UofT no-source-code"
227 -SLOT="0"
228 -KEYWORDS="~amd64 ~x86"
229 -IUSE="apulse pax_kernel plasma +pulseaudio selinux"
230 -REQUIRED_USE="apulse? ( !pulseaudio )"
231 -
232 -QA_PREBUILT=opt/bin/${PN}
233 -RESTRICT="mirror bindist strip" #299368
234 -
235 -RDEPEND="
236 - virtual/ttf-fonts
237 - dev-qt/qtcore:4[abi_x86_32(-)]
238 - dev-qt/qtdbus:4[abi_x86_32(-)]
239 - dev-qt/qtgui:4[accessibility,abi_x86_32(-)]
240 - dev-qt/qtwebkit:4[-exceptions,abi_x86_32(-)]
241 - media-libs/alsa-lib[abi_x86_32(-)]
242 - x11-libs/libX11[abi_x86_32(-)]
243 - x11-libs/libXext[abi_x86_32(-)]
244 - x11-libs/libXScrnSaver[abi_x86_32(-)]
245 - x11-libs/libXv[abi_x86_32(-)]
246 - apulse? ( media-sound/apulse[abi_x86_32(-)] )
247 - plasma? ( dev-libs/sni-qt[abi_x86_32(-)] )
248 - pulseaudio? ( media-sound/pulseaudio[abi_x86_32(-)] )
249 - selinux? ( sec-policy/selinux-skype )"
250 -
251 -src_prepare() {
252 - epatch "${FILESDIR}/${P}-desktop.patch"
253 -}
254 -
255 -src_compile() {
256 - if type -P lrelease >/dev/null; then
257 - lrelease lang/*.ts || die
258 - fi
259 - rm -f lang/*.ts || die
260 -}
261 -
262 -src_install() {
263 -
264 - if use apulse; then
265 - into /opt
266 - newbin ${PN} ${PN}-bin
267 - dobin "${FILESDIR}/${PN}"
268 - fowners root:audio /opt/bin/${PN} /opt/bin/${PN}-bin
269 - else
270 - into /opt
271 - dobin ${PN}
272 - fowners root:audio /opt/bin/${PN}
273 - fi
274 -
275 - insinto /etc/dbus-1/system.d
276 - doins ${PN}.conf
277 -
278 - insinto /usr/share/skype
279 - doins -r avatars lang sounds
280 -
281 - dodoc README
282 -
283 - local res
284 - for res in 16 32 48 64 96 128 256; do
285 - newicon -s ${res} icons/SkypeBlue_${res}x${res}.png ${PN}.png
286 - done
287 -
288 - domenu skype.desktop
289 -
290 - if use pax_kernel; then
291 - if use apulse; then
292 - pax-mark Cm "${ED}"/opt/bin/${PN}-bin || die
293 - else
294 - pax-mark Cm "${ED}"/opt/bin/${PN} || die
295 - fi
296 - eqawarn "You have set USE=pax_kernel meaning that you intend to run"
297 - eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
298 - eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
299 - eqawarn "you suspect that ${PN} is being broken by this modification,"
300 - eqawarn "please open a bug."
301 - fi
302 -
303 - echo PRELINK_PATH_MASK=/opt/bin/${PN} > ${T}/99${PN}
304 - doenvd "${T}"/99${PN} #430142
305 -}
306 -
307 -pkg_preinst() {
308 - gnome2_icon_savelist
309 -
310 - rm -rf "${EROOT}"/usr/share/${PN} #421165
311 -}
312 -
313 -pkg_postinst() {
314 - gnome2_icon_cache_update
315 -
316 - # https://bugs.gentoo.org/360815
317 - elog "For webcam support, see \"LD_PRELOAD\" section of \"README.lib\" document provided by"
318 - elog "media-libs/libv4l package and \"README\" document of this package."
319 -
320 - if ! use pulseaudio && ! use apulse; then
321 - ewarn "ALSA support was removed from Skype"
322 - ewarn "consider installing media-sound/pulseaudio"
323 - ewarn "or media-sound/apulse for pulseaudio emulation"
324 - ewarn "otherwise sound will not work for you."
325 - ewarn "These packages can be pulled in by setting"
326 - ewarn "appropriate USE flags for net-im/skype."
327 - fi
328 -}
329 -
330 -pkg_postrm() {
331 - gnome2_icon_cache_update
332 -}