Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/skypeforlinux/
Date: Mon, 08 Nov 2021 16:53:26
Message-Id: 1636390388.caf8ab8b536a0828bc1771f42d01fec1f36239f3.soap@gentoo
1 commit: caf8ab8b536a0828bc1771f42d01fec1f36239f3
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 8 16:53:08 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 8 16:53:08 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caf8ab8b
7
8 net-im/skypeforlinux: add 8.78.0.161
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 net-im/skypeforlinux/Manifest | 1 +
13 .../skypeforlinux/skypeforlinux-8.78.0.161.ebuild | 99 ++++++++++++++++++++++
14 2 files changed, 100 insertions(+)
15
16 diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest
17 index c471f81ee6e..048454ab572 100644
18 --- a/net-im/skypeforlinux/Manifest
19 +++ b/net-im/skypeforlinux/Manifest
20 @@ -3,3 +3,4 @@ DIST skypeforlinux_8.73.0.92-1.x86_64.rpm 119323419 BLAKE2B e201be43c6f331555d37
21 DIST skypeforlinux_8.74.0.152-1.x86_64.rpm 123390893 BLAKE2B 746f1ac2f777ff79a47444052fdad86d2a67f7278eb809d57fedc681ca5648320d16b32e100b50b36bcaea853dff266eb0b47bdb9c8ba48582c63a09b3eeabda SHA512 f1c40c58305cecec899f9be1a477103ff9dc7e0d02ea68a9ebc15b4e80292d5a3925fbcf6451cae0c2b854b3b3f74abe101715a7f3afdc2ea954e18759cab37d
22 DIST skypeforlinux_8.75.0.140-1.x86_64.rpm 123300996 BLAKE2B a1b0d4696489be33721fb38a832756edc0a437b93c269e512aba6ccd882e66fc9c84ba7d7a741e2761a097d7697985e32b0a65766c556cf17045a26fec6fc010 SHA512 21eb3cea11878e41f0694951dbf6447d225983c026ab7572ed8a9a5f31c38231c7b7f3ca7363535f27ef958c58db500c6d61ddfb95056145500500a9f0b30aed
23 DIST skypeforlinux_8.77.0.90-1.x86_64.rpm 123643165 BLAKE2B 12c578f99f482012f54d5f9faa2d017358376902aa6879fd35ce6eba1b16e3458d4831450574158c69436b9c6103a8dd00233451b56415542e2b6e81eb9346b8 SHA512 ee1fdae1ad10f1fba91886bea52eef261151463e184746af288150bebb69d4bf0dd87d0ac4030d8d11f86054f7b2cb663b8647ce795b1bf924f23c2b7559574b
24 +DIST skypeforlinux_8.78.0.161-1.x86_64.rpm 123910012 BLAKE2B 560b9548f99d681c916e55a939659ab925096c7bd135a44cca99f12fa9fe913a1fbdbeaf584414e626215f313d09aec4320bfa2859892029c822b5adfc388f23 SHA512 fca1f839611d1ec46eebeacc0e90141a36fc305da90e02df1eecd529256e2609726d180b4839a2874973eb6f842bc332302f041b0b3be49293f64f2a18e7060f
25
26 diff --git a/net-im/skypeforlinux/skypeforlinux-8.78.0.161.ebuild b/net-im/skypeforlinux/skypeforlinux-8.78.0.161.ebuild
27 new file mode 100644
28 index 00000000000..a44feb7c892
29 --- /dev/null
30 +++ b/net-im/skypeforlinux/skypeforlinux-8.78.0.161.ebuild
31 @@ -0,0 +1,99 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +MULTILIB_COMPAT=( abi_x86_64 )
38 +
39 +inherit chromium-2 desktop pax-utils rpm multilib-build xdg
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 +
49 +S="${WORKDIR}"
50 +QA_PREBUILT="*"
51 +RESTRICT="mirror bindist strip" #299368
52 +
53 +RDEPEND="
54 + app-crypt/libsecret[${MULTILIB_USEDEP}]
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 + media-libs/alsa-lib[${MULTILIB_USEDEP}]
61 + media-libs/fontconfig:1.0[${MULTILIB_USEDEP}]
62 + media-libs/freetype:2[${MULTILIB_USEDEP}]
63 + media-libs/libv4l[${MULTILIB_USEDEP}]
64 + net-print/cups[${MULTILIB_USEDEP}]
65 + sys-apps/dbus[${MULTILIB_USEDEP}]
66 + sys-devel/gcc[cxx]
67 + virtual/ttf-fonts
68 + x11-libs/cairo[${MULTILIB_USEDEP}]
69 + x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
70 + x11-libs/gtk+:3[${MULTILIB_USEDEP}]
71 + x11-libs/libX11[${MULTILIB_USEDEP}]
72 + x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
73 + x11-libs/libXcomposite[${MULTILIB_USEDEP}]
74 + x11-libs/libXcursor[${MULTILIB_USEDEP}]
75 + x11-libs/libXdamage[${MULTILIB_USEDEP}]
76 + x11-libs/libXext[${MULTILIB_USEDEP}]
77 + x11-libs/libXfixes[${MULTILIB_USEDEP}]
78 + x11-libs/libXi[${MULTILIB_USEDEP}]
79 + x11-libs/libXrandr[${MULTILIB_USEDEP}]
80 + x11-libs/libXrender[${MULTILIB_USEDEP}]
81 + x11-libs/libXtst[${MULTILIB_USEDEP}]
82 + x11-libs/libxcb[${MULTILIB_USEDEP}]
83 + x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
84 + x11-libs/libxkbfile[${MULTILIB_USEDEP}]
85 + x11-libs/pango[${MULTILIB_USEDEP}]"
86 +
87 +pkg_setup() {
88 + chromium_suid_sandbox_check_kernel_config
89 +}
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!^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 "${ED}"/opt || die
107 +
108 + # remove chrome-sandbox binary, users should use kernel namespaces
109 + # https://bugs.gentoo.org/692692#c18
110 + rm "${ED}"/opt/skypeforlinux/chrome-sandbox || die
111 +
112 + dobin usr/bin/skypeforlinux
113 +
114 + dodoc usr/share/skypeforlinux/*.html
115 + dodoc -r usr/share/doc/skypeforlinux/.
116 + # symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open)
117 + dosym ${PF} usr/share/doc/skypeforlinux
118 +
119 + doicon usr/share/pixmaps/skypeforlinux.png
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 + pax-mark -m "${ED}"/opt/skypeforlinux/skypeforlinux
129 + pax-mark -m "${ED}"/opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
130 +}