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: Thu, 17 Sep 2020 10:49:56
Message-Id: 1600339776.ca853483f07b243128a6543199f92edd2be42d11.soap@gentoo
1 commit: ca853483f07b243128a6543199f92edd2be42d11
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 17 10:49:36 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 17 10:49:36 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca853483
7
8 net-im/skypeforlinux: Version bump to 8.64.0.81
9
10 Package-Manager: Portage-3.0.7, Repoman-3.0.1
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 net-im/skypeforlinux/Manifest | 1 +
14 .../skypeforlinux/skypeforlinux-8.64.0.81.ebuild | 98 ++++++++++++++++++++++
15 2 files changed, 99 insertions(+)
16
17 diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest
18 index 1963d63190d..cc4a8878c97 100644
19 --- a/net-im/skypeforlinux/Manifest
20 +++ b/net-im/skypeforlinux/Manifest
21 @@ -1,3 +1,4 @@
22 DIST skypeforlinux_8.63.0.76-1.x86_64.rpm 112410264 BLAKE2B 63d6c3c00003bf571cd94257002126c686028617a8de3cec832eb6a08f52db44672186309d39cd83c3d9a5eca05cecc7ce2afd4ab0b23d0101c6c0f00a0b9d9e SHA512 5dbed64ed3dbc3fc281e2a7366203452f15f92af55a415494d893042f2b85164e236e47b7ce20815af30a11ff98e949f4be57d9f1e9caa8160c6ea22397c2284
23 DIST skypeforlinux_8.64.0.67-1.x86_64.rpm 114732247 BLAKE2B 1007c49042d9bc28b802e3e295704c318a5cc14c183da25528fb92befe965c093f22aa5ecf87ab714ea82bde58dcf03aa04399c7a3ca8d8656408537770faf3c SHA512 8405e843d4a9144d986f4ee4bcb8bb360f35c8273f87a3beb25197cd6bc6526435cf366f10f32bbd661cf1d11b797a04c012b7d2b715bd6366e1c98f7f726715
24 DIST skypeforlinux_8.64.0.80-1.x86_64.rpm 114749474 BLAKE2B 9df3db7310e63d39be9a71ff0666068b753639b1486ffc9e574c0b0ee2f972aa14024a95728498a79341d4cd9c42b2df4b6a72075a7b157da3ce361679e3f866 SHA512 53b4fedd4d2140eac54ad6261e3cc9e7da1ca632bf0118aa7a1927995fb3efd975c1e9c2e40e1dbb1c43e37886929ff925d629065d073b7b70b337819d5009e9
25 +DIST skypeforlinux_8.64.0.81-1.x86_64.rpm 114748914 BLAKE2B 918687dc7ba5c1b357f4a9551ee710834a59410b14c6a23e8ef5972dacc1f1c08a040e534e798f63100bca7b5f98e34732f3e8e172c16edd4caaa18a171305ef SHA512 2a5e7a206741421f52c60a2775e1c51011118e49a06d90e72fe6af14a833384ed1bc8f44b26ef3de0e2891cc22dcfc7e3fbec7dc3ad46d9e75a4ac5cd330183f
26
27 diff --git a/net-im/skypeforlinux/skypeforlinux-8.64.0.81.ebuild b/net-im/skypeforlinux/skypeforlinux-8.64.0.81.ebuild
28 new file mode 100644
29 index 00000000000..c2755ee5b06
30 --- /dev/null
31 +++ b/net-im/skypeforlinux/skypeforlinux-8.64.0.81.ebuild
32 @@ -0,0 +1,98 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +MULTILIB_COMPAT=( abi_x86_64 )
39 +
40 +inherit chromium-2 desktop pax-utils rpm multilib-build xdg
41 +
42 +DESCRIPTION="Instant messaging client, with support for audio and video"
43 +HOMEPAGE="https://www.skype.com/"
44 +SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm"
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 +S="${WORKDIR}"
51 +QA_PREBUILT="*"
52 +RESTRICT="mirror bindist strip" #299368
53 +
54 +RDEPEND="
55 + app-crypt/libsecret[${MULTILIB_USEDEP}]
56 + dev-libs/atk[${MULTILIB_USEDEP}]
57 + dev-libs/expat[${MULTILIB_USEDEP}]
58 + dev-libs/glib:2[${MULTILIB_USEDEP}]
59 + dev-libs/nspr[${MULTILIB_USEDEP}]
60 + dev-libs/nss[${MULTILIB_USEDEP}]
61 + media-libs/alsa-lib[${MULTILIB_USEDEP}]
62 + media-libs/fontconfig:1.0[${MULTILIB_USEDEP}]
63 + media-libs/freetype:2[${MULTILIB_USEDEP}]
64 + media-libs/libv4l[${MULTILIB_USEDEP}]
65 + net-print/cups[${MULTILIB_USEDEP}]
66 + sys-apps/dbus[${MULTILIB_USEDEP}]
67 + sys-devel/gcc[cxx]
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/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 +}