Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/skypeforlinux/
Date: Sun, 18 Nov 2018 10:10:45
Message-Id: 1542535834.4c51659d31b10284e9346e5d43fdf4dce9fca7ba.zlogene@gentoo
1 commit: 4c51659d31b10284e9346e5d43fdf4dce9fca7ba
2 Author: Jan Vesely <jano.vesely <AT> gmail <DOT> com>
3 AuthorDate: Thu Nov 15 23:32:12 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 18 10:10:34 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c51659d
7
8 net-im/skypeforlinux: Bump version to 8.34.0.78
9
10 Signed-off-by: Jan Vesely <jano.vesely <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/10428
12 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
13
14 net-im/skypeforlinux/Manifest | 1 +
15 .../skypeforlinux/skypeforlinux-8.34.0.78.ebuild | 119 +++++++++++++++++++++
16 2 files changed, 120 insertions(+)
17
18 diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest
19 index b19008f0ac1..3335ba0de58 100644
20 --- a/net-im/skypeforlinux/Manifest
21 +++ b/net-im/skypeforlinux/Manifest
22 @@ -1 +1,2 @@
23 DIST skypeforlinux_8.33.0.41-1.x86_64.rpm 96280740 BLAKE2B db751b800116587ae97600947372eaa655d438dfd6e70ad8e47d57bc4398ac47d4a01f49be7c9a0c1fb0606df8b0bad287577ada6da2999b384a01b3188e26f0 SHA512 f8c201f4da0f838982d64f51c9428d27bb4dd01f9eb753303600096406a1dc6d28af897985efb3f46bea9f0ef79708998e3e9308f92e2f0f4f42b1dca42b938b
24 +DIST skypeforlinux_8.34.0.78-1.x86_64.rpm 96457671 BLAKE2B 260de8eabddbad74ea5b0bdf903eb6607eab320713e746da315b7de2a897c1e8df9fbe8e279666101fb1894c547c23dcff4e7259a35e4f61ae0a70174288d54f SHA512 b83bf553c92c21d2ee418409c7cc0b560f675f5d958c80d96b71e3be4ddefe2e75ea9b9f2b37f5e4d5f25c358e451940fb44182da173d039331f3a88083038e6
25
26 diff --git a/net-im/skypeforlinux/skypeforlinux-8.34.0.78.ebuild b/net-im/skypeforlinux/skypeforlinux-8.34.0.78.ebuild
27 new file mode 100644
28 index 00000000000..63b1b43fe4a
29 --- /dev/null
30 +++ b/net-im/skypeforlinux/skypeforlinux-8.34.0.78.ebuild
31 @@ -0,0 +1,119 @@
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 + || (
56 + sys-auth/elogind
57 + sys-apps/systemd
58 + )
59 + dev-libs/atk[${MULTILIB_USEDEP}]
60 + dev-libs/expat[${MULTILIB_USEDEP}]
61 + dev-libs/glib:2[${MULTILIB_USEDEP}]
62 + dev-libs/nspr[${MULTILIB_USEDEP}]
63 + dev-libs/nss[${MULTILIB_USEDEP}]
64 + gnome-base/gconf:2[${MULTILIB_USEDEP}]
65 + media-libs/alsa-lib[${MULTILIB_USEDEP}]
66 + media-libs/fontconfig:1.0[${MULTILIB_USEDEP}]
67 + media-libs/freetype:2[${MULTILIB_USEDEP}]
68 + media-libs/libv4l[${MULTILIB_USEDEP}]
69 + net-print/cups[${MULTILIB_USEDEP}]
70 + sys-apps/dbus[${MULTILIB_USEDEP}]
71 + sys-devel/gcc[cxx]
72 + virtual/ttf-fonts
73 + x11-libs/cairo[${MULTILIB_USEDEP}]
74 + x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
75 + x11-libs/gtk+:2[${MULTILIB_USEDEP}]
76 + x11-libs/libX11[${MULTILIB_USEDEP}]
77 + x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
78 + x11-libs/libXcomposite[${MULTILIB_USEDEP}]
79 + x11-libs/libXcursor[${MULTILIB_USEDEP}]
80 + x11-libs/libXdamage[${MULTILIB_USEDEP}]
81 + x11-libs/libXext[${MULTILIB_USEDEP}]
82 + x11-libs/libXfixes[${MULTILIB_USEDEP}]
83 + x11-libs/libXi[${MULTILIB_USEDEP}]
84 + x11-libs/libXrandr[${MULTILIB_USEDEP}]
85 + x11-libs/libXrender[${MULTILIB_USEDEP}]
86 + x11-libs/libXtst[${MULTILIB_USEDEP}]
87 + x11-libs/libxcb[${MULTILIB_USEDEP}]
88 + x11-libs/libxkbfile[${MULTILIB_USEDEP}]
89 + x11-libs/pango[${MULTILIB_USEDEP}]"
90 +
91 +src_unpack() {
92 + rpm_src_unpack ${A}
93 +}
94 +
95 +src_prepare() {
96 + default
97 + sed -e "s!^SKYPE_PATH=.*!SKYPE_PATH=${EPREFIX}/opt/skypeforlinux/skypeforlinux!" \
98 + -i usr/bin/skypeforlinux || die
99 + sed -e "s!^Exec=/usr/!Exec=${EPREFIX}/opt/!" \
100 + -e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \
101 + -e "/^OnlyShowIn=/d" \
102 + -i usr/share/applications/skypeforlinux.desktop || die
103 +}
104 +
105 +src_install() {
106 + dodir /opt
107 + cp -a usr/share/skypeforlinux "${D}"/opt || die
108 +
109 + into /opt
110 + dobin usr/bin/skypeforlinux
111 +
112 + dodoc usr/share/skypeforlinux/*.html
113 + dodoc -r usr/share/doc/skypeforlinux/.
114 + # symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open)
115 + dosym ${P} usr/share/doc/skypeforlinux
116 +
117 + doicon usr/share/pixmaps/skypeforlinux.png
118 +
119 + # compat symlink for the autostart desktop file
120 + dosym ../../opt/bin/skypeforlinux usr/bin/skypeforlinux
121 +
122 + local res
123 + for res in 16 32 256 512; do
124 + newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/skypeforlinux.png skypeforlinux.png
125 + done
126 +
127 + domenu usr/share/applications/skypeforlinux.desktop
128 +
129 + if use pax_kernel; then
130 + pax-mark -m "${ED%/}"/opt/skypeforlinux/skypeforlinux
131 + pax-mark -m "${ED%/}"/opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
132 + ewarn "You have set USE=pax_kernel meaning that you intend to run"
133 + ewarn "${PN} under a PaX enabled kernel. To do so, we must modify"
134 + ewarn "the ${PN} binary itself and this *may* lead to breakage! If"
135 + ewarn "you suspect that ${PN} is being broken by this modification,"
136 + ewarn "please open a bug."
137 + fi
138 +}
139 +
140 +pkg_postinst() {
141 + xdg_desktop_database_update
142 + xdg_mimeinfo_database_update
143 + gnome2_icon_cache_update
144 +}
145 +
146 +pkg_postrm() {
147 + xdg_desktop_database_update
148 + xdg_mimeinfo_database_update
149 + gnome2_icon_cache_update
150 +}