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: Wed, 02 Sep 2020 20:28:54
Message-Id: 1599078513.b546b0410592a5d5c26522b408c75056b0e9a904.soap@gentoo
1 commit: b546b0410592a5d5c26522b408c75056b0e9a904
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 2 20:28:33 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 2 20:28:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b546b041
7
8 net-im/skypeforlinux: Version bump to 8.64.0.67
9
10 Package-Manager: Portage-3.0.5, 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.67.ebuild | 98 ++++++++++++++++++++++
15 2 files changed, 99 insertions(+)
16
17 diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest
18 index aa7afc502ce..7ffb4d862d3 100644
19 --- a/net-im/skypeforlinux/Manifest
20 +++ b/net-im/skypeforlinux/Manifest
21 @@ -1,2 +1,3 @@
22 DIST skypeforlinux_8.62.0.85-1.x86_64.rpm 112166071 BLAKE2B a5647e8e0c332787293438721a71f088ba0441f31a94a68d5fa079bd32687ac31c223ba2fded4448e6ed3a95a7b5660215e3137f272e620b3d4205bd11122068 SHA512 30283e7c31d692988cd6ccb350dfcdf3dfdc22d8ac40aa2910a612dc72e08aa0742b53e6876ebde4b7c3727c283ea78e87332f121d1260b8ea65615e378cbc24
23 DIST skypeforlinux_8.63.0.76-1.x86_64.rpm 112410264 BLAKE2B 63d6c3c00003bf571cd94257002126c686028617a8de3cec832eb6a08f52db44672186309d39cd83c3d9a5eca05cecc7ce2afd4ab0b23d0101c6c0f00a0b9d9e SHA512 5dbed64ed3dbc3fc281e2a7366203452f15f92af55a415494d893042f2b85164e236e47b7ce20815af30a11ff98e949f4be57d9f1e9caa8160c6ea22397c2284
24 +DIST skypeforlinux_8.64.0.67-1.x86_64.rpm 114732247 BLAKE2B 1007c49042d9bc28b802e3e295704c318a5cc14c183da25528fb92befe965c093f22aa5ecf87ab714ea82bde58dcf03aa04399c7a3ca8d8656408537770faf3c SHA512 8405e843d4a9144d986f4ee4bcb8bb360f35c8273f87a3beb25197cd6bc6526435cf366f10f32bbd661cf1d11b797a04c012b7d2b715bd6366e1c98f7f726715
25
26 diff --git a/net-im/skypeforlinux/skypeforlinux-8.64.0.67.ebuild b/net-im/skypeforlinux/skypeforlinux-8.64.0.67.ebuild
27 new file mode 100644
28 index 00000000000..c2755ee5b06
29 --- /dev/null
30 +++ b/net-im/skypeforlinux/skypeforlinux-8.64.0.67.ebuild
31 @@ -0,0 +1,98 @@
32 +# Copyright 1999-2020 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 +}