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, 02 May 2022 05:23:18
Message-Id: 1651468984.c53af7f9d0a06f20f8f5911821b4d7246ce31828.soap@gentoo
1 commit: c53af7f9d0a06f20f8f5911821b4d7246ce31828
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 2 05:23:04 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 05:23:04 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c53af7f9
7
8 net-im/skypeforlinux: add 8.83.0.408
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 net-im/skypeforlinux/Manifest | 1 +
13 .../skypeforlinux/skypeforlinux-8.83.0.408.ebuild | 100 +++++++++++++++++++++
14 2 files changed, 101 insertions(+)
15
16 diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest
17 index 5d80da3ae454..f73ece6e09ac 100644
18 --- a/net-im/skypeforlinux/Manifest
19 +++ b/net-im/skypeforlinux/Manifest
20 @@ -3,3 +3,4 @@ DIST skypeforlinux_8.79.0.95-1.x86_64.rpm 118002157 BLAKE2B 0e836e3fd0c06bb5bd57
21 DIST skypeforlinux_8.80.0.143-1.x86_64.rpm 118601687 BLAKE2B 8686eeb83a9e5df927a366cd05168224ac5869f83a11e59efb68af54f4c734b914e44f0993e3fa93b3b2e9749092063bdba77bb4fc4ce2dfedbddd523dc2617d SHA512 23c2a4db2831775bb20a709576319bdade0bc17d6e29af55a7953c54fdb626ec020066f5c54fbcb0d40aab534596ccb558211b76f2a656a9edc5daf49818e610
22 DIST skypeforlinux_8.81.0.268-1.x86_64.rpm 140540850 BLAKE2B 5d6cca460c5ad663ba5ac90d3d22f7c7eab7869b6b34413de7e8a479d7461d8b7aa9112798722a38c6b9ed0bf0321a37300bf410fc123e0bb8c7164cb027b2a7 SHA512 e2b077cca85c9fdbdac7b50cbfe3fa5bb628c7321dc30d5d6eac5d3c8b83d2a365bbe226f33cf35d2e5614a1b48eb9971ada4c87b98dd161c985e99a5008a9c9
23 DIST skypeforlinux_8.82.0.403-1.x86_64.rpm 140817695 BLAKE2B 94a1038a534dce77e014e3823e4e5f2a8e6a951d3a644ed1562a5d50dad92f73152910286d797c50b882662f6f85cbf30bc4d80e5fcee7ac956f2c18177c00e1 SHA512 97920148290f9a4e7091f90a9e46f20ba663ad3f07c15a8540947d4b9a4390c217ac4eea5e80a5aad3a83e4110588fb7038b6359f34f4774ca6912f91db76346
24 +DIST skypeforlinux_8.83.0.408-1.x86_64.rpm 140847167 BLAKE2B 79d00a80bdb9cfa131094de2d702b1c8031307c6614ed962567cfeb3868bd542f5483b4ef87ab7146f9aa94e4548d9339ce7f4f28e65c2bfb5add25a3d3e5d26 SHA512 66865836f6e44ec54f14b26bdb0bcf2b9aec11379d4b16386814a44137e6eb1dd83cfbe2f4248cf6b2b4ba2513ebdcc64fec5f1819ee3a67e2ae04bcf4f7e028
25
26 diff --git a/net-im/skypeforlinux/skypeforlinux-8.83.0.408.ebuild b/net-im/skypeforlinux/skypeforlinux-8.83.0.408.ebuild
27 new file mode 100644
28 index 000000000000..911974eaca88
29 --- /dev/null
30 +++ b/net-im/skypeforlinux/skypeforlinux-8.83.0.408.ebuild
31 @@ -0,0 +1,100 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
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 +S="${WORKDIR}"
45 +
46 +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"
47 +SLOT="0"
48 +KEYWORDS="-* ~amd64"
49 +
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 + sys-libs/glibc
68 + virtual/ttf-fonts
69 + x11-libs/cairo[${MULTILIB_USEDEP}]
70 + x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
71 + x11-libs/gtk+:3[${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/libxkbcommon[${MULTILIB_USEDEP}]
85 + x11-libs/libxkbfile[${MULTILIB_USEDEP}]
86 + x11-libs/pango[${MULTILIB_USEDEP}]"
87 +
88 +pkg_setup() {
89 + chromium_suid_sandbox_check_kernel_config
90 +}
91 +
92 +src_unpack() {
93 + rpm_src_unpack ${A}
94 +}
95 +
96 +src_prepare() {
97 + default
98 + sed -e "s!^SKYPE_PATH=.*!SKYPE_PATH=${EPREFIX}/opt/skypeforlinux/skypeforlinux!" \
99 + -i usr/bin/skypeforlinux || die
100 + sed -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 "${ED}"/opt || die
108 +
109 + # remove chrome-sandbox binary, users should use kernel namespaces
110 + # https://bugs.gentoo.org/692692#c18
111 + rm "${ED}"/opt/skypeforlinux/chrome-sandbox || die
112 +
113 + dobin usr/bin/skypeforlinux
114 +
115 + dodoc usr/share/skypeforlinux/*.html
116 + dodoc -r usr/share/doc/skypeforlinux/.
117 + # symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open)
118 + dosym ${PF} usr/share/doc/skypeforlinux
119 +
120 + doicon usr/share/pixmaps/skypeforlinux.png
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 + 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 +}