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/skypeforlinux/
Date: Wed, 08 May 2019 22:57:01
Message-Id: 1557356173.52ce14a95208745611296c22120bf42785fb53be.asturm@gentoo
1 commit: 52ce14a95208745611296c22120bf42785fb53be
2 Author: Gino McCarty <onigino <AT> protonmail <DOT> com>
3 AuthorDate: Wed May 8 20:04:28 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed May 8 22:56:13 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52ce14a9
7
8 net-im/skypeforlinux: Drop Old Version
9
10 Signed-off-by: Gino McCarty <onigino <AT> protonmail.com>
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 net-im/skypeforlinux/Manifest | 1 -
14 .../skypeforlinux-8.34.0.78-r2.ebuild | 119 ---------------------
15 2 files changed, 120 deletions(-)
16
17 diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest
18 index ac31aa4cb4c..56558c3188c 100644
19 --- a/net-im/skypeforlinux/Manifest
20 +++ b/net-im/skypeforlinux/Manifest
21 @@ -1,2 +1 @@
22 -DIST skypeforlinux_8.34.0.78-1.x86_64.rpm 96457671 BLAKE2B 260de8eabddbad74ea5b0bdf903eb6607eab320713e746da315b7de2a897c1e8df9fbe8e279666101fb1894c547c23dcff4e7259a35e4f61ae0a70174288d54f SHA512 b83bf553c92c21d2ee418409c7cc0b560f675f5d958c80d96b71e3be4ddefe2e75ea9b9f2b37f5e4d5f25c358e451940fb44182da173d039331f3a88083038e6
23 DIST skypeforlinux_8.44.0.40-1.x86_64.rpm 97947565 BLAKE2B 9ca4e47ee881d3ad11a7628134ba893b5294cfae21b2e64ada0af91f962ce365a2597c819263a1aa68dabe1f44ff8809a44c57af857fac6bf217301c0ab0b184 SHA512 7fa9414baac668eeb9bb6ac6e586c39e99092de2423f30e2ee983b1df955d7c59614039f61dc5d8941325493a6bb5889cf118f7ef3876ffeee478680e7a8cccd
24
25 diff --git a/net-im/skypeforlinux/skypeforlinux-8.34.0.78-r2.ebuild b/net-im/skypeforlinux/skypeforlinux-8.34.0.78-r2.ebuild
26 deleted file mode 100644
27 index 62edb86e1c1..00000000000
28 --- a/net-im/skypeforlinux/skypeforlinux-8.34.0.78-r2.ebuild
29 +++ /dev/null
30 @@ -1,119 +0,0 @@
31 -# Copyright 1999-2019 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -MULTILIB_COMPAT=( abi_x86_64 )
37 -
38 -inherit desktop gnome2-utils pax-utils rpm multilib-build xdg-utils
39 -
40 -DESCRIPTION="Instant messaging client, with support for audio and video"
41 -HOMEPAGE="https://www.skype.com/"
42 -SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm"
43 -
44 -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"
45 -SLOT="0"
46 -KEYWORDS="-* ~amd64"
47 -IUSE="pax_kernel"
48 -
49 -S="${WORKDIR}"
50 -QA_PREBUILT="*"
51 -RESTRICT="mirror bindist strip" #299368
52 -
53 -RDEPEND="
54 - || (
55 - sys-auth/elogind
56 - sys-apps/systemd
57 - )
58 - dev-libs/atk[${MULTILIB_USEDEP}]
59 - dev-libs/expat[${MULTILIB_USEDEP}]
60 - dev-libs/glib:2[${MULTILIB_USEDEP}]
61 - dev-libs/nspr[${MULTILIB_USEDEP}]
62 - dev-libs/nss[${MULTILIB_USEDEP}]
63 - gnome-base/gconf:2[policykit,${MULTILIB_USEDEP}]
64 - media-libs/alsa-lib[${MULTILIB_USEDEP}]
65 - media-libs/fontconfig:1.0[${MULTILIB_USEDEP}]
66 - media-libs/freetype:2[${MULTILIB_USEDEP}]
67 - media-libs/libv4l[${MULTILIB_USEDEP}]
68 - net-print/cups[${MULTILIB_USEDEP}]
69 - sys-apps/dbus[${MULTILIB_USEDEP}]
70 - sys-devel/gcc[cxx]
71 - virtual/ttf-fonts
72 - x11-libs/cairo[${MULTILIB_USEDEP}]
73 - x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
74 - x11-libs/gtk+:3[${MULTILIB_USEDEP}]
75 - x11-libs/libX11[${MULTILIB_USEDEP}]
76 - x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
77 - x11-libs/libXcomposite[${MULTILIB_USEDEP}]
78 - x11-libs/libXcursor[${MULTILIB_USEDEP}]
79 - x11-libs/libXdamage[${MULTILIB_USEDEP}]
80 - x11-libs/libXext[${MULTILIB_USEDEP}]
81 - x11-libs/libXfixes[${MULTILIB_USEDEP}]
82 - x11-libs/libXi[${MULTILIB_USEDEP}]
83 - x11-libs/libXrandr[${MULTILIB_USEDEP}]
84 - x11-libs/libXrender[${MULTILIB_USEDEP}]
85 - x11-libs/libXtst[${MULTILIB_USEDEP}]
86 - x11-libs/libxcb[${MULTILIB_USEDEP}]
87 - x11-libs/libxkbfile[${MULTILIB_USEDEP}]
88 - x11-libs/pango[${MULTILIB_USEDEP}]"
89 -
90 -src_unpack() {
91 - rpm_src_unpack ${A}
92 -}
93 -
94 -src_prepare() {
95 - default
96 - sed -e "s!^SKYPE_PATH=.*!SKYPE_PATH=${EPREFIX}/opt/skypeforlinux/skypeforlinux!" \
97 - -i usr/bin/skypeforlinux || die
98 - sed -e "s!^Exec=/usr/!Exec=${EPREFIX}/opt/!" \
99 - -e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \
100 - -e "/^OnlyShowIn=/d" \
101 - -i usr/share/applications/skypeforlinux.desktop || die
102 -}
103 -
104 -src_install() {
105 - dodir /opt
106 - cp -a usr/share/skypeforlinux "${D}"/opt || die
107 -
108 - into /opt
109 - dobin usr/bin/skypeforlinux
110 -
111 - dodoc usr/share/skypeforlinux/*.html
112 - dodoc -r usr/share/doc/skypeforlinux/.
113 - # symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open)
114 - dosym ${P} usr/share/doc/skypeforlinux
115 -
116 - doicon usr/share/pixmaps/skypeforlinux.png
117 -
118 - # compat symlink for the autostart desktop file
119 - dosym ../../opt/bin/skypeforlinux usr/bin/skypeforlinux
120 -
121 - local res
122 - for res in 16 32 256 512; do
123 - newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/skypeforlinux.png skypeforlinux.png
124 - done
125 -
126 - domenu usr/share/applications/skypeforlinux.desktop
127 -
128 - if use pax_kernel; then
129 - pax-mark -m "${ED%/}"/opt/skypeforlinux/skypeforlinux
130 - pax-mark -m "${ED%/}"/opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
131 - ewarn "You have set USE=pax_kernel meaning that you intend to run"
132 - ewarn "${PN} under a PaX enabled kernel. To do so, we must modify"
133 - ewarn "the ${PN} binary itself and this *may* lead to breakage! If"
134 - ewarn "you suspect that ${PN} is being broken by this modification,"
135 - ewarn "please open a bug."
136 - fi
137 -}
138 -
139 -pkg_postinst() {
140 - xdg_desktop_database_update
141 - xdg_mimeinfo_database_update
142 - gnome2_icon_cache_update
143 -}
144 -
145 -pkg_postrm() {
146 - xdg_desktop_database_update
147 - xdg_mimeinfo_database_update
148 - gnome2_icon_cache_update
149 -}