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, 03 Jun 2020 21:48:21
Message-Id: 1591220880.3838db70cd1ac11fbe3057b1ad3c783a2d88602e.soap@gentoo
1 commit: 3838db70cd1ac11fbe3057b1ad3c783a2d88602e
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 3 21:48:00 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 3 21:48:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3838db70
7
8 net-im/skypeforlinux: Bump to 8.60.0.76
9
10 Closes: https://bugs.gentoo.org/726320
11 Package-Manager: Portage-2.3.100, Repoman-2.3.22
12 Signed-off-by: David Seifert <soap <AT> gentoo.org>
13
14 net-im/skypeforlinux/Manifest | 1 +
15 .../skypeforlinux/skypeforlinux-8.60.0.76.ebuild | 98 ++++++++++++++++++++++
16 2 files changed, 99 insertions(+)
17
18 diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest
19 index e2f1cba7a31..13c7b0160b0 100644
20 --- a/net-im/skypeforlinux/Manifest
21 +++ b/net-im/skypeforlinux/Manifest
22 @@ -1 +1,2 @@
23 DIST skypeforlinux_8.59.0.77-1.x86_64.rpm 108914465 BLAKE2B 9d8300b9d315b95528e7e453a4b2175a22cc598634f0b517e6e0b45dfd7c04d6cee92d46d455486ee00ea1953617132e6c97576d5cc344988912aa3df03609e8 SHA512 4faa158605c13ee66bf49aad8e1b06f0429772c676088559fb28f6012cf263c1425f830678edd9605cfd69a4a0fb75f051fd96acd0a8a4fb636bb3a5beceb211
24 +DIST skypeforlinux_8.60.0.76-1.x86_64.rpm 108325497 BLAKE2B 84304111a215d0e0ddb7cdad218913feb961b490ab5bdee3ca506c1666b1a37dfdb8360fa84fb36c56cd47458012c92d6eea2f437e2b9787b7b232dc797adf76 SHA512 a7a1e3ae3c13d235c951c5aad006df668287e82914aa333ad5429ba1a2ac0ebb84cd703f4c5e620385469c91db437105dafac93dcde7af7bb774f48dbe2370d4
25
26 diff --git a/net-im/skypeforlinux/skypeforlinux-8.60.0.76.ebuild b/net-im/skypeforlinux/skypeforlinux-8.60.0.76.ebuild
27 new file mode 100644
28 index 00000000000..c2755ee5b06
29 --- /dev/null
30 +++ b/net-im/skypeforlinux/skypeforlinux-8.60.0.76.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 +}