Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/skypeforlinux/
Date: Fri, 26 Oct 2018 09:59:29
Message-Id: 1540547842.ec614cb7b59384013c0c8cf7cfa97c3e385d83d4.mgorny@gentoo
1 commit: ec614cb7b59384013c0c8cf7cfa97c3e385d83d4
2 Author: Jan Vesely <jano.vesely <AT> gmail <DOT> com>
3 AuthorDate: Thu Oct 25 17:12:48 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 26 09:57:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec614cb7
7
8 net-im/skype: Drop old
9
10 Signed-off-by: Jan Vesely <jano.vesely <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/10228
12 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
13
14 net-im/skypeforlinux/Manifest | 1 -
15 .../skypeforlinux/skypeforlinux-8.32.0.44.ebuild | 115 ---------------------
16 2 files changed, 116 deletions(-)
17
18 diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest
19 index 993070f5ac0..b19008f0ac1 100644
20 --- a/net-im/skypeforlinux/Manifest
21 +++ b/net-im/skypeforlinux/Manifest
22 @@ -1,2 +1 @@
23 -DIST skypeforlinux_8.32.0.44-1.x86_64.rpm 96123759 BLAKE2B c362d1eaf2013514899225150cd47c1d0949d26dcefde58c6b2c14546aa8c56a1a4a5131996cb01115b77ae61afc3651ceabc58649c03ab058fdc208c3e51d3d SHA512 a51fdb7362f7b2e45a29869c18d3ae4475f9bfdc824e1b2862979e0c6a14378971c288bd48bcac09eeeaf532059975c615ed9504ee290ef1a1c32b431a75d6de
24 DIST skypeforlinux_8.33.0.41-1.x86_64.rpm 96280740 BLAKE2B db751b800116587ae97600947372eaa655d438dfd6e70ad8e47d57bc4398ac47d4a01f49be7c9a0c1fb0606df8b0bad287577ada6da2999b384a01b3188e26f0 SHA512 f8c201f4da0f838982d64f51c9428d27bb4dd01f9eb753303600096406a1dc6d28af897985efb3f46bea9f0ef79708998e3e9308f92e2f0f4f42b1dca42b938b
25
26 diff --git a/net-im/skypeforlinux/skypeforlinux-8.32.0.44.ebuild b/net-im/skypeforlinux/skypeforlinux-8.32.0.44.ebuild
27 deleted file mode 100644
28 index 18c49c0454a..00000000000
29 --- a/net-im/skypeforlinux/skypeforlinux-8.32.0.44.ebuild
30 +++ /dev/null
31 @@ -1,115 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -MULTILIB_COMPAT=( abi_x86_64 )
38 -
39 -inherit desktop gnome2-utils pax-utils rpm multilib-build xdg-utils
40 -
41 -DESCRIPTION="Instant messaging client, with support for audio and video"
42 -HOMEPAGE="https://www.skype.com/"
43 -SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm"
44 -
45 -LICENSE="Skype-TOS MIT MIT-with-advertising BSD-1 BSD-2 BSD Apache-2.0 Boost-1.0 ISC CC-BY-SA-3.0 CC0-1.0 openssl ZLIB APSL-2 icu Artistic-2 LGPL-2.1"
46 -SLOT="0"
47 -KEYWORDS="-* ~amd64"
48 -IUSE="pax_kernel"
49 -
50 -S="${WORKDIR}"
51 -QA_PREBUILT="*"
52 -RESTRICT="mirror bindist strip" #299368
53 -
54 -RDEPEND="
55 - dev-libs/atk[${MULTILIB_USEDEP}]
56 - dev-libs/expat[${MULTILIB_USEDEP}]
57 - dev-libs/glib:2[${MULTILIB_USEDEP}]
58 - dev-libs/nspr[${MULTILIB_USEDEP}]
59 - dev-libs/nss[${MULTILIB_USEDEP}]
60 - gnome-base/gconf:2[${MULTILIB_USEDEP}]
61 - media-libs/alsa-lib[${MULTILIB_USEDEP}]
62 - media-libs/fontconfig:1.0[${MULTILIB_USEDEP}]
63 - media-libs/freetype:2[${MULTILIB_USEDEP}]
64 - media-libs/libv4l[${MULTILIB_USEDEP}]
65 - net-print/cups[${MULTILIB_USEDEP}]
66 - sys-apps/dbus[${MULTILIB_USEDEP}]
67 - sys-devel/gcc[cxx]
68 - virtual/ttf-fonts
69 - x11-libs/cairo[${MULTILIB_USEDEP}]
70 - x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
71 - x11-libs/gtk+:2[${MULTILIB_USEDEP}]
72 - x11-libs/libX11[${MULTILIB_USEDEP}]
73 - x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
74 - x11-libs/libXcomposite[${MULTILIB_USEDEP}]
75 - x11-libs/libXcursor[${MULTILIB_USEDEP}]
76 - x11-libs/libXdamage[${MULTILIB_USEDEP}]
77 - x11-libs/libXext[${MULTILIB_USEDEP}]
78 - x11-libs/libXfixes[${MULTILIB_USEDEP}]
79 - x11-libs/libXi[${MULTILIB_USEDEP}]
80 - x11-libs/libXrandr[${MULTILIB_USEDEP}]
81 - x11-libs/libXrender[${MULTILIB_USEDEP}]
82 - x11-libs/libXtst[${MULTILIB_USEDEP}]
83 - x11-libs/libxcb[${MULTILIB_USEDEP}]
84 - x11-libs/libxkbfile[${MULTILIB_USEDEP}]
85 - x11-libs/pango[${MULTILIB_USEDEP}]"
86 -
87 -src_unpack() {
88 - rpm_src_unpack ${A}
89 -}
90 -
91 -src_prepare() {
92 - default
93 - sed -e "s!^SKYPE_PATH=.*!SKYPE_PATH=${EPREFIX}/opt/skypeforlinux/skypeforlinux!" \
94 - -i usr/bin/skypeforlinux || die
95 - sed -e "s!^Exec=/usr/!Exec=${EPREFIX}/opt/!" \
96 - -e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \
97 - -e "/^OnlyShowIn=/d" \
98 - -i usr/share/applications/skypeforlinux.desktop || die
99 -}
100 -
101 -src_install() {
102 - dodir /opt
103 - cp -a usr/share/skypeforlinux "${D}"/opt || die
104 -
105 - into /opt
106 - dobin usr/bin/skypeforlinux
107 -
108 - dodoc usr/share/skypeforlinux/*.html
109 - dodoc -r usr/share/doc/skypeforlinux/.
110 - # symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open)
111 - dosym ${P} usr/share/doc/skypeforlinux
112 -
113 - doicon usr/share/pixmaps/skypeforlinux.png
114 -
115 - # compat symlink for the autostart desktop file
116 - dosym ../../opt/bin/skypeforlinux usr/bin/skypeforlinux
117 -
118 - local res
119 - for res in 16 32 256 512; do
120 - newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/skypeforlinux.png skypeforlinux.png
121 - done
122 -
123 - domenu usr/share/applications/skypeforlinux.desktop
124 -
125 - if use pax_kernel; then
126 - pax-mark -m "${ED%/}"/opt/skypeforlinux/skypeforlinux
127 - pax-mark -m "${ED%/}"/opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
128 - ewarn "You have set USE=pax_kernel meaning that you intend to run"
129 - ewarn "${PN} under a PaX enabled kernel. To do so, we must modify"
130 - ewarn "the ${PN} binary itself and this *may* lead to breakage! If"
131 - ewarn "you suspect that ${PN} is being broken by this modification,"
132 - ewarn "please open a bug."
133 - fi
134 -}
135 -
136 -pkg_postinst() {
137 - xdg_desktop_database_update
138 - xdg_mimeinfo_database_update
139 - gnome2_icon_cache_update
140 -}
141 -
142 -pkg_postrm() {
143 - xdg_desktop_database_update
144 - xdg_mimeinfo_database_update
145 - gnome2_icon_cache_update
146 -}