1 |
commit: e97c1bed5c82b487d53ae83eb31115f5997d83b2 |
2 |
Author: Jan Vesely <jano.vesely <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Sep 9 03:40:36 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 17 03:46:41 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e97c1bed |
7 |
|
8 |
net-im/skypeforlinux: Bump version to 8.52.0.138 |
9 |
|
10 |
Add kernel configuration check for chromium sandbox. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/692692 |
13 |
Signed-off-by: Jan Vesely <jano.vesely <AT> gmail.com> |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
net-im/skypeforlinux/Manifest | 1 + |
17 |
.../skypeforlinux/skypeforlinux-8.52.0.138.ebuild | 106 +++++++++++++++++++++ |
18 |
2 files changed, 107 insertions(+) |
19 |
|
20 |
diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest |
21 |
index b712ada2114..91be0b2b6d5 100644 |
22 |
--- a/net-im/skypeforlinux/Manifest |
23 |
+++ b/net-im/skypeforlinux/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST skypeforlinux_8.51.0.92-1.x86_64.rpm 106489251 BLAKE2B 1846623eb9ab78bf143b9a45bf2001fb3ae4b78ac1690041b984f96f309f57ac427f1313722de02d3305cab4413f40470a9452f1d87a47b3e3af1d0878eecabb SHA512 58c86e19900badec28e0bc58ed23459aea8e94e6f0d36fd8d8412d99d96eec15945a9b4920278788e5edccc6cc26ec7da9159d7105ff4499f9c6e44d3e4615ac |
26 |
+DIST skypeforlinux_8.52.0.138-1.x86_64.rpm 106539045 BLAKE2B f07275b050ef63f87dfe54633ffa8446c5aa7a3db40e1eeea9c0902e9f7726fab59c7c1e55fd7af9b3f92bfb87a90b74851eeb334e415ed3b90f20013eda2b25 SHA512 dffb71138116c7c657a16cb7811e201d70b8d41242d3f1616f7e1ac71d6db60db487184b241b8290e4aa61fe755555b470db5731b269afd1d81c502e42bc31e7 |
27 |
|
28 |
diff --git a/net-im/skypeforlinux/skypeforlinux-8.52.0.138.ebuild b/net-im/skypeforlinux/skypeforlinux-8.52.0.138.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..68c053c717f |
31 |
--- /dev/null |
32 |
+++ b/net-im/skypeforlinux/skypeforlinux-8.52.0.138.ebuild |
33 |
@@ -0,0 +1,106 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+MULTILIB_COMPAT=( abi_x86_64 ) |
40 |
+ |
41 |
+inherit chromium-2 desktop pax-utils rpm multilib-build xdg |
42 |
+ |
43 |
+DESCRIPTION="Instant messaging client, with support for audio and video" |
44 |
+HOMEPAGE="https://www.skype.com/" |
45 |
+SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm" |
46 |
+ |
47 |
+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" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="-* ~amd64" |
50 |
+IUSE="pax_kernel" |
51 |
+ |
52 |
+S="${WORKDIR}" |
53 |
+QA_PREBUILT="*" |
54 |
+RESTRICT="mirror bindist strip" #299368 |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ || ( |
58 |
+ sys-auth/elogind |
59 |
+ sys-apps/systemd |
60 |
+ ) |
61 |
+ app-crypt/libsecret[${MULTILIB_USEDEP}] |
62 |
+ dev-libs/atk[${MULTILIB_USEDEP}] |
63 |
+ dev-libs/expat[${MULTILIB_USEDEP}] |
64 |
+ dev-libs/glib:2[${MULTILIB_USEDEP}] |
65 |
+ dev-libs/nspr[${MULTILIB_USEDEP}] |
66 |
+ dev-libs/nss[${MULTILIB_USEDEP}] |
67 |
+ media-libs/alsa-lib[${MULTILIB_USEDEP}] |
68 |
+ media-libs/fontconfig:1.0[${MULTILIB_USEDEP}] |
69 |
+ media-libs/freetype:2[${MULTILIB_USEDEP}] |
70 |
+ media-libs/libv4l[${MULTILIB_USEDEP}] |
71 |
+ net-print/cups[${MULTILIB_USEDEP}] |
72 |
+ sys-apps/dbus[${MULTILIB_USEDEP}] |
73 |
+ sys-devel/gcc[cxx] |
74 |
+ virtual/ttf-fonts |
75 |
+ x11-libs/cairo[${MULTILIB_USEDEP}] |
76 |
+ x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] |
77 |
+ x11-libs/gtk+:3[${MULTILIB_USEDEP}] |
78 |
+ x11-libs/libX11[${MULTILIB_USEDEP}] |
79 |
+ x11-libs/libXScrnSaver[${MULTILIB_USEDEP}] |
80 |
+ x11-libs/libXcomposite[${MULTILIB_USEDEP}] |
81 |
+ x11-libs/libXcursor[${MULTILIB_USEDEP}] |
82 |
+ x11-libs/libXdamage[${MULTILIB_USEDEP}] |
83 |
+ x11-libs/libXext[${MULTILIB_USEDEP}] |
84 |
+ x11-libs/libXfixes[${MULTILIB_USEDEP}] |
85 |
+ x11-libs/libXi[${MULTILIB_USEDEP}] |
86 |
+ x11-libs/libXrandr[${MULTILIB_USEDEP}] |
87 |
+ x11-libs/libXrender[${MULTILIB_USEDEP}] |
88 |
+ x11-libs/libXtst[${MULTILIB_USEDEP}] |
89 |
+ x11-libs/libxcb[${MULTILIB_USEDEP}] |
90 |
+ x11-libs/libxkbfile[${MULTILIB_USEDEP}] |
91 |
+ x11-libs/pango[${MULTILIB_USEDEP}]" |
92 |
+ |
93 |
+pkg_setup() { |
94 |
+ chromium_suid_sandbox_check_kernel_config |
95 |
+} |
96 |
+ |
97 |
+src_unpack() { |
98 |
+ rpm_src_unpack ${A} |
99 |
+} |
100 |
+ |
101 |
+src_prepare() { |
102 |
+ default |
103 |
+ sed -e "s!^SKYPE_PATH=.*!SKYPE_PATH=${EPREFIX}/opt/skypeforlinux/skypeforlinux!" \ |
104 |
+ -i usr/bin/skypeforlinux || die |
105 |
+ sed -e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \ |
106 |
+ -e "/^OnlyShowIn=/d" \ |
107 |
+ -i usr/share/applications/skypeforlinux.desktop || die |
108 |
+} |
109 |
+ |
110 |
+src_install() { |
111 |
+ dodir /opt |
112 |
+ cp -a usr/share/skypeforlinux "${D}"/opt || die |
113 |
+ |
114 |
+ dobin usr/bin/skypeforlinux |
115 |
+ |
116 |
+ dodoc usr/share/skypeforlinux/*.html |
117 |
+ dodoc -r usr/share/doc/skypeforlinux/. |
118 |
+ # symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open) |
119 |
+ dosym ${PF} usr/share/doc/skypeforlinux |
120 |
+ |
121 |
+ doicon usr/share/pixmaps/skypeforlinux.png |
122 |
+ |
123 |
+ local res |
124 |
+ for res in 16 32 256 512; do |
125 |
+ newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/skypeforlinux.png skypeforlinux.png |
126 |
+ done |
127 |
+ |
128 |
+ domenu usr/share/applications/skypeforlinux.desktop |
129 |
+ |
130 |
+ if use pax_kernel; then |
131 |
+ pax-mark -m "${ED}"/opt/skypeforlinux/skypeforlinux |
132 |
+ pax-mark -m "${ED}"/opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node |
133 |
+ ewarn "You have set USE=pax_kernel meaning that you intend to run" |
134 |
+ ewarn "${PN} under a PaX enabled kernel. To do so, we must modify" |
135 |
+ ewarn "the ${PN} binary itself and this *may* lead to breakage! If" |
136 |
+ ewarn "you suspect that ${PN} is being broken by this modification," |
137 |
+ ewarn "please open a bug." |
138 |
+ fi |
139 |
+} |