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: Sun, 31 Jul 2022 21:41:25
Message-Id: 1659303665.17f2a4b1ccf9d11226c2d96bacb14a4a611b2fac.soap@gentoo
1 commit: 17f2a4b1ccf9d11226c2d96bacb14a4a611b2fac
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 31 21:41:05 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 31 21:41:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17f2a4b1
7
8 net-im/skypeforlinux: add 8.86.0.407
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 net-im/skypeforlinux/Manifest | 1 +
13 .../skypeforlinux/skypeforlinux-8.86.0.407.ebuild | 100 +++++++++++++++++++++
14 2 files changed, 101 insertions(+)
15
16 diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest
17 index 9743d4a4c379..127a2dbf443b 100644
18 --- a/net-im/skypeforlinux/Manifest
19 +++ b/net-im/skypeforlinux/Manifest
20 @@ -3,3 +3,4 @@ DIST skypeforlinux_8.82.0.403-1.x86_64.rpm 140817695 BLAKE2B 94a1038a534dce77e01
21 DIST skypeforlinux_8.83.0.408-1.x86_64.rpm 140847167 BLAKE2B 79d00a80bdb9cfa131094de2d702b1c8031307c6614ed962567cfeb3868bd542f5483b4ef87ab7146f9aa94e4548d9339ce7f4f28e65c2bfb5add25a3d3e5d26 SHA512 66865836f6e44ec54f14b26bdb0bcf2b9aec11379d4b16386814a44137e6eb1dd83cfbe2f4248cf6b2b4ba2513ebdcc64fec5f1819ee3a67e2ae04bcf4f7e028
22 DIST skypeforlinux_8.83.0.411-1.x86_64.rpm 140568859 BLAKE2B 3e429e5c60fe812092a2da1cd6ed4012d81e65a4f69c18772a7e34721c1549e18c401ea2fc6d0263bdbace85265c48467835e97f7fa50eca1ae8dbbbf4cf0b3c SHA512 ebab053e75e81e294e434aa7f573843017a97d749cdf9fdf1768ba35a8172e17b1c98f5cb68e7445ab19bd44c4b1d6b8defdcff6bcd24128b5fa176466f10752
23 DIST skypeforlinux_8.85.0.409-1.x86_64.rpm 125943432 BLAKE2B 7300c53c85387df71a7b1ccdd56a12a659a0e8ddbf8b274c32ac956e0bd67269815bc56e4d3a91cbc3f8214a3259026147ae3e8467efec934d06424495bf502d SHA512 2ee36ea93259390bb1061aae5ea86ac5617ac411f058b62607324fc36debbd7c914e872b9a2741ff72b37bc5e1b4683d862d3c01b84f9a3fe98de2e20959c911
24 +DIST skypeforlinux_8.86.0.407-1.x86_64.rpm 126036696 BLAKE2B e9fb9fb5c3612c1818d801c1ce43848ca2e313a7d09009678b6aeb1a649cd29c58a6e798fc22e48a6d23ceedd3a99b087110abc7b3d4cb8ba97cbe31d1f77c2e SHA512 8546a0bfc367e801b0f94d926dedf87dd2212888ea4d9206b1ed650c334ceebc1d72029a81c826dbf1630ec6625a6e08c7ae942e6dd79403027671996385435b
25
26 diff --git a/net-im/skypeforlinux/skypeforlinux-8.86.0.407.ebuild b/net-im/skypeforlinux/skypeforlinux-8.86.0.407.ebuild
27 new file mode 100644
28 index 000000000000..911974eaca88
29 --- /dev/null
30 +++ b/net-im/skypeforlinux/skypeforlinux-8.86.0.407.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 +}