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: Fri, 11 Jun 2021 07:35:54
Message-Id: 1623396901.be20ee189383fee0f1179543102e2e62385bc192.soap@gentoo
1 commit: be20ee189383fee0f1179543102e2e62385bc192
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 11 07:35:01 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 11 07:35:01 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be20ee18
7
8 net-im/skypeforlinux: add 8.73.0.92
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 net-im/skypeforlinux/Manifest | 1 +
13 .../skypeforlinux/skypeforlinux-8.73.0.92.ebuild | 98 ++++++++++++++++++++++
14 2 files changed, 99 insertions(+)
15
16 diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest
17 index ecef5913f0f..149271b7768 100644
18 --- a/net-im/skypeforlinux/Manifest
19 +++ b/net-im/skypeforlinux/Manifest
20 @@ -2,3 +2,4 @@ DIST skypeforlinux_8.69.0.77-1.x86_64.rpm 117875764 BLAKE2B 8f817c595b09f5e9c0e0
21 DIST skypeforlinux_8.71.0.36-1.x86_64.rpm 118012057 BLAKE2B 510df394ef98ea5ca60d68e73624e5ba499126c9a47a2254882aa66ecd8e36e38080eeea1b591c249d1cb2aea6c9b9299a74d56e4d4620de1b4a87e15795a286 SHA512 41f9e8bd76bd8af0aaa2c56d9e354b6ec6c4eb63e7a35bdc75f91b2925a90b8267dc2a3426be4016bf2d89a5cb4bf41b1c53216caa351d5080e1dcd23e465a1f
22 DIST skypeforlinux_8.72.0.82-1.x86_64.rpm 118228602 BLAKE2B 2725e1eb8603ad2d95686ff322338f0c7cbbf9059d344284c27486ccd9a78ed1e33414d7750523e7d59fb70b07b9d42185cfdca20baf69a39bbe7db4263b29d0 SHA512 a7c554f9500bc065b4be83ab989543e35d4767acef1d831d6aa0ec365b9a2a661310fe36a834fdc6ac57700cfc59a2a438029eac1372627b7ba27480272d517f
23 DIST skypeforlinux_8.72.0.94-1.x86_64.rpm 118230043 BLAKE2B 9d7d8609c117947fbab4e2ac68a9bbe909f94f2ae82bc910cad66412aaced2ba13f35ce785a4f0d95690125c42789cbc4bbec6831bc0038add7fe7a98469f20b SHA512 349550d69efce07e3c9fa92ea659fc0d4b87e4e110c0bdfac9ecd365685b4d5623362b315cb3eaab7eb91078dde7e1c286165ce487e8b93585e59272e8cca3e3
24 +DIST skypeforlinux_8.73.0.92-1.x86_64.rpm 119323419 BLAKE2B e201be43c6f331555d3759e9484d13c1d0613dd9e60ce67c3dafec27fa9d183ddc89e1c23feb1722ace2fd492185f8402be6abec80c748e6ad1f666878a72025 SHA512 dc6b72dc43443ad7747a30adef7b08afb50b4cc40a61cff2eb8989c9f68ae817c221d4ce2812d5d54cb9a4ac5f2accfe350efdfab622096d2d0805953fbddd13
25
26 diff --git a/net-im/skypeforlinux/skypeforlinux-8.73.0.92.ebuild b/net-im/skypeforlinux/skypeforlinux-8.73.0.92.ebuild
27 new file mode 100644
28 index 00000000000..01550d2ccb0
29 --- /dev/null
30 +++ b/net-im/skypeforlinux/skypeforlinux-8.73.0.92.ebuild
31 @@ -0,0 +1,98 @@
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/libxkbfile[${MULTILIB_USEDEP}]
84 + x11-libs/pango[${MULTILIB_USEDEP}]"
85 +
86 +pkg_setup() {
87 + chromium_suid_sandbox_check_kernel_config
88 +}
89 +
90 +src_unpack() {
91 + rpm_src_unpack ${A}
92 +}
93 +
94 +src_prepare() {
95 + default
96 + sed -e "s!^SKYPE_PATH=.*!SKYPE_PATH=${EPREFIX}/opt/skypeforlinux/skypeforlinux!" \
97 + -i usr/bin/skypeforlinux || die
98 + sed -e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \
99 + -e "/^OnlyShowIn=/d" \
100 + -i usr/share/applications/skypeforlinux.desktop || die
101 +}
102 +
103 +src_install() {
104 + dodir /opt
105 + cp -a usr/share/skypeforlinux "${ED}"/opt || die
106 +
107 + # remove chrome-sandbox binary, users should use kernel namespaces
108 + # https://bugs.gentoo.org/692692#c18
109 + rm "${ED}"/opt/skypeforlinux/chrome-sandbox || die
110 +
111 + dobin usr/bin/skypeforlinux
112 +
113 + dodoc usr/share/skypeforlinux/*.html
114 + dodoc -r usr/share/doc/skypeforlinux/.
115 + # symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open)
116 + dosym ${PF} usr/share/doc/skypeforlinux
117 +
118 + doicon usr/share/pixmaps/skypeforlinux.png
119 +
120 + local res
121 + for res in 16 32 256 512; do
122 + newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/skypeforlinux.png skypeforlinux.png
123 + done
124 +
125 + domenu usr/share/applications/skypeforlinux.desktop
126 +
127 + pax-mark -m "${ED}"/opt/skypeforlinux/skypeforlinux
128 + pax-mark -m "${ED}"/opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
129 +}