1 |
commit: b42bb8fc61c5f13945391c804e877bc379493f69 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 1 18:38:22 2022 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 1 18:38:22 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b42bb8fc |
7 |
|
8 |
net-im/skypeforlinux: add 8.81.0.268 |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
net-im/skypeforlinux/Manifest | 1 + |
13 |
.../skypeforlinux/skypeforlinux-8.81.0.268.ebuild | 100 +++++++++++++++++++++ |
14 |
2 files changed, 101 insertions(+) |
15 |
|
16 |
diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest |
17 |
index ba49ab9497cd..6176cb574784 100644 |
18 |
--- a/net-im/skypeforlinux/Manifest |
19 |
+++ b/net-im/skypeforlinux/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST skypeforlinux_8.78.0.161-1.x86_64.rpm 123910012 BLAKE2B 560b9548f99d681c916 |
21 |
DIST skypeforlinux_8.79.0.92-1.x86_64.rpm 117949890 BLAKE2B a7150c362f117096d554c446357789f51595ff403061f81adf8be3e59452b7bf7970ff10e2fe31413f793a0a137f8f0822fd6710932e9aea2197959ef2976cfa SHA512 2094870f227acb7e0a24af4d96d39bc0cf94ea0d3e5fb5907c75ad0ff6704c55882b104a306ad5d1e350c4adf5fd4f0d8444a9ddb07d7a39ef79a8cacd7faf3d |
22 |
DIST skypeforlinux_8.79.0.95-1.x86_64.rpm 118002157 BLAKE2B 0e836e3fd0c06bb5bd57d2806b3a51772e307a9555e573fdc366ebf1b82f2f8f1e422d64981f1973962d0ed1fa689c26482a48bf8193eedb65fe009056ff651c SHA512 eda292a1cd624c9a4819362820430769ead67f08113c66e58d6a4db17af4323f5483b6dadec41075b53feb25e7d7ef4c7ab738289246724678d2af9414fe58ad |
23 |
DIST skypeforlinux_8.80.0.143-1.x86_64.rpm 118601687 BLAKE2B 8686eeb83a9e5df927a366cd05168224ac5869f83a11e59efb68af54f4c734b914e44f0993e3fa93b3b2e9749092063bdba77bb4fc4ce2dfedbddd523dc2617d SHA512 23c2a4db2831775bb20a709576319bdade0bc17d6e29af55a7953c54fdb626ec020066f5c54fbcb0d40aab534596ccb558211b76f2a656a9edc5daf49818e610 |
24 |
+DIST skypeforlinux_8.81.0.268-1.x86_64.rpm 140540850 BLAKE2B 5d6cca460c5ad663ba5ac90d3d22f7c7eab7869b6b34413de7e8a479d7461d8b7aa9112798722a38c6b9ed0bf0321a37300bf410fc123e0bb8c7164cb027b2a7 SHA512 e2b077cca85c9fdbdac7b50cbfe3fa5bb628c7321dc30d5d6eac5d3c8b83d2a365bbe226f33cf35d2e5614a1b48eb9971ada4c87b98dd161c985e99a5008a9c9 |
25 |
|
26 |
diff --git a/net-im/skypeforlinux/skypeforlinux-8.81.0.268.ebuild b/net-im/skypeforlinux/skypeforlinux-8.81.0.268.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..911974eaca88 |
29 |
--- /dev/null |
30 |
+++ b/net-im/skypeforlinux/skypeforlinux-8.81.0.268.ebuild |
31 |
@@ -0,0 +1,100 @@ |
32 |
+# Copyright 1999-2022 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 |
+ sys-libs/glibc |
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/libxkbcommon[${MULTILIB_USEDEP}] |
85 |
+ x11-libs/libxkbfile[${MULTILIB_USEDEP}] |
86 |
+ x11-libs/pango[${MULTILIB_USEDEP}]" |
87 |
+ |
88 |
+pkg_setup() { |
89 |
+ chromium_suid_sandbox_check_kernel_config |
90 |
+} |
91 |
+ |
92 |
+src_unpack() { |
93 |
+ rpm_src_unpack ${A} |
94 |
+} |
95 |
+ |
96 |
+src_prepare() { |
97 |
+ default |
98 |
+ sed -e "s!^SKYPE_PATH=.*!SKYPE_PATH=${EPREFIX}/opt/skypeforlinux/skypeforlinux!" \ |
99 |
+ -i usr/bin/skypeforlinux || die |
100 |
+ sed -e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \ |
101 |
+ -e "/^OnlyShowIn=/d" \ |
102 |
+ -i usr/share/applications/skypeforlinux.desktop || die |
103 |
+} |
104 |
+ |
105 |
+src_install() { |
106 |
+ dodir /opt |
107 |
+ cp -a usr/share/skypeforlinux "${ED}"/opt || die |
108 |
+ |
109 |
+ # remove chrome-sandbox binary, users should use kernel namespaces |
110 |
+ # https://bugs.gentoo.org/692692#c18 |
111 |
+ rm "${ED}"/opt/skypeforlinux/chrome-sandbox || die |
112 |
+ |
113 |
+ dobin usr/bin/skypeforlinux |
114 |
+ |
115 |
+ dodoc usr/share/skypeforlinux/*.html |
116 |
+ dodoc -r usr/share/doc/skypeforlinux/. |
117 |
+ # symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open) |
118 |
+ dosym ${PF} usr/share/doc/skypeforlinux |
119 |
+ |
120 |
+ doicon usr/share/pixmaps/skypeforlinux.png |
121 |
+ |
122 |
+ local res |
123 |
+ for res in 16 32 256 512; do |
124 |
+ newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/skypeforlinux.png skypeforlinux.png |
125 |
+ done |
126 |
+ |
127 |
+ domenu usr/share/applications/skypeforlinux.desktop |
128 |
+ |
129 |
+ pax-mark -m "${ED}"/opt/skypeforlinux/skypeforlinux |
130 |
+ pax-mark -m "${ED}"/opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node |
131 |
+} |