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: Tue, 07 Dec 2021 19:24:31
Message-Id: 1638905056.ed2e333f73b2be88761df466cdb8cf086a7856d3.soap@gentoo
1 commit: ed2e333f73b2be88761df466cdb8cf086a7856d3
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 7 19:24:16 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 7 19:24:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed2e333f
7
8 net-im/skypeforlinux: add 8.79.0.95
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 net-im/skypeforlinux/Manifest | 1 +
13 .../skypeforlinux/skypeforlinux-8.79.0.95.ebuild | 99 ++++++++++++++++++++++
14 2 files changed, 100 insertions(+)
15
16 diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest
17 index 47ca3ca43e6d..f96cd08a172a 100644
18 --- a/net-im/skypeforlinux/Manifest
19 +++ b/net-im/skypeforlinux/Manifest
20 @@ -2,3 +2,4 @@ DIST skypeforlinux_8.75.0.140-1.x86_64.rpm 123300996 BLAKE2B a1b0d4696489be33721
21 DIST skypeforlinux_8.77.0.90-1.x86_64.rpm 123643165 BLAKE2B 12c578f99f482012f54d5f9faa2d017358376902aa6879fd35ce6eba1b16e3458d4831450574158c69436b9c6103a8dd00233451b56415542e2b6e81eb9346b8 SHA512 ee1fdae1ad10f1fba91886bea52eef261151463e184746af288150bebb69d4bf0dd87d0ac4030d8d11f86054f7b2cb663b8647ce795b1bf924f23c2b7559574b
22 DIST skypeforlinux_8.78.0.161-1.x86_64.rpm 123910012 BLAKE2B 560b9548f99d681c916e55a939659ab925096c7bd135a44cca99f12fa9fe913a1fbdbeaf584414e626215f313d09aec4320bfa2859892029c822b5adfc388f23 SHA512 fca1f839611d1ec46eebeacc0e90141a36fc305da90e02df1eecd529256e2609726d180b4839a2874973eb6f842bc332302f041b0b3be49293f64f2a18e7060f
23 DIST skypeforlinux_8.79.0.92-1.x86_64.rpm 117949890 BLAKE2B a7150c362f117096d554c446357789f51595ff403061f81adf8be3e59452b7bf7970ff10e2fe31413f793a0a137f8f0822fd6710932e9aea2197959ef2976cfa SHA512 2094870f227acb7e0a24af4d96d39bc0cf94ea0d3e5fb5907c75ad0ff6704c55882b104a306ad5d1e350c4adf5fd4f0d8444a9ddb07d7a39ef79a8cacd7faf3d
24 +DIST skypeforlinux_8.79.0.95-1.x86_64.rpm 118002157 BLAKE2B 0e836e3fd0c06bb5bd57d2806b3a51772e307a9555e573fdc366ebf1b82f2f8f1e422d64981f1973962d0ed1fa689c26482a48bf8193eedb65fe009056ff651c SHA512 eda292a1cd624c9a4819362820430769ead67f08113c66e58d6a4db17af4323f5483b6dadec41075b53feb25e7d7ef4c7ab738289246724678d2af9414fe58ad
25
26 diff --git a/net-im/skypeforlinux/skypeforlinux-8.79.0.95.ebuild b/net-im/skypeforlinux/skypeforlinux-8.79.0.95.ebuild
27 new file mode 100644
28 index 000000000000..9627b561f6f1
29 --- /dev/null
30 +++ b/net-im/skypeforlinux/skypeforlinux-8.79.0.95.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=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 + 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 +}