1 |
commit: db02831564ed454e6adb87cbb802ac41e434258c |
2 |
Author: Gino McCarty <onigino <AT> protonmail <DOT> com> |
3 |
AuthorDate: Fri Apr 26 18:23:22 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 8 22:56:13 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db028315 |
7 |
|
8 |
net-im/skypeforlinux: 8.44.0.40 Version Bump |
9 |
|
10 |
* Fix /opt/bin |
11 |
* Fix /usr/doc symlink |
12 |
* Fix XDG icons |
13 |
|
14 |
Closes: https://bugs.gentoo.org/683410 |
15 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
16 |
Signed-off-by: Gino McCarty <onigino <AT> protonmail.com> |
17 |
Closes: https://github.com/gentoo/gentoo/pull/11899 |
18 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
19 |
|
20 |
net-im/skypeforlinux/Manifest | 1 + |
21 |
.../skypeforlinux/skypeforlinux-8.44.0.40.ebuild | 101 +++++++++++++++++++++ |
22 |
2 files changed, 102 insertions(+) |
23 |
|
24 |
diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest |
25 |
index 38bc48ab714..ac31aa4cb4c 100644 |
26 |
--- a/net-im/skypeforlinux/Manifest |
27 |
+++ b/net-im/skypeforlinux/Manifest |
28 |
@@ -1 +1,2 @@ |
29 |
DIST skypeforlinux_8.34.0.78-1.x86_64.rpm 96457671 BLAKE2B 260de8eabddbad74ea5b0bdf903eb6607eab320713e746da315b7de2a897c1e8df9fbe8e279666101fb1894c547c23dcff4e7259a35e4f61ae0a70174288d54f SHA512 b83bf553c92c21d2ee418409c7cc0b560f675f5d958c80d96b71e3be4ddefe2e75ea9b9f2b37f5e4d5f25c358e451940fb44182da173d039331f3a88083038e6 |
30 |
+DIST skypeforlinux_8.44.0.40-1.x86_64.rpm 97947565 BLAKE2B 9ca4e47ee881d3ad11a7628134ba893b5294cfae21b2e64ada0af91f962ce365a2597c819263a1aa68dabe1f44ff8809a44c57af857fac6bf217301c0ab0b184 SHA512 7fa9414baac668eeb9bb6ac6e586c39e99092de2423f30e2ee983b1df955d7c59614039f61dc5d8941325493a6bb5889cf118f7ef3876ffeee478680e7a8cccd |
31 |
|
32 |
diff --git a/net-im/skypeforlinux/skypeforlinux-8.44.0.40.ebuild b/net-im/skypeforlinux/skypeforlinux-8.44.0.40.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..9ac51d3e87d |
35 |
--- /dev/null |
36 |
+++ b/net-im/skypeforlinux/skypeforlinux-8.44.0.40.ebuild |
37 |
@@ -0,0 +1,101 @@ |
38 |
+# Copyright 1999-2019 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=7 |
42 |
+ |
43 |
+MULTILIB_COMPAT=( abi_x86_64 ) |
44 |
+ |
45 |
+inherit desktop pax-utils rpm multilib-build xdg |
46 |
+ |
47 |
+DESCRIPTION="Instant messaging client, with support for audio and video" |
48 |
+HOMEPAGE="https://www.skype.com/" |
49 |
+SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm" |
50 |
+ |
51 |
+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" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="-* ~amd64" |
54 |
+IUSE="pax_kernel" |
55 |
+ |
56 |
+S="${WORKDIR}" |
57 |
+QA_PREBUILT="*" |
58 |
+RESTRICT="mirror bindist strip" #299368 |
59 |
+ |
60 |
+RDEPEND=" |
61 |
+ || ( |
62 |
+ sys-auth/elogind |
63 |
+ sys-apps/systemd |
64 |
+ ) |
65 |
+ dev-libs/atk[${MULTILIB_USEDEP}] |
66 |
+ dev-libs/expat[${MULTILIB_USEDEP}] |
67 |
+ dev-libs/glib:2[${MULTILIB_USEDEP}] |
68 |
+ dev-libs/nspr[${MULTILIB_USEDEP}] |
69 |
+ dev-libs/nss[${MULTILIB_USEDEP}] |
70 |
+ media-libs/alsa-lib[${MULTILIB_USEDEP}] |
71 |
+ media-libs/fontconfig:1.0[${MULTILIB_USEDEP}] |
72 |
+ media-libs/freetype:2[${MULTILIB_USEDEP}] |
73 |
+ media-libs/libv4l[${MULTILIB_USEDEP}] |
74 |
+ net-print/cups[${MULTILIB_USEDEP}] |
75 |
+ sys-apps/dbus[${MULTILIB_USEDEP}] |
76 |
+ sys-devel/gcc[cxx] |
77 |
+ virtual/ttf-fonts |
78 |
+ x11-libs/cairo[${MULTILIB_USEDEP}] |
79 |
+ x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] |
80 |
+ x11-libs/gtk+:3[${MULTILIB_USEDEP}] |
81 |
+ x11-libs/libX11[${MULTILIB_USEDEP}] |
82 |
+ x11-libs/libXScrnSaver[${MULTILIB_USEDEP}] |
83 |
+ x11-libs/libXcomposite[${MULTILIB_USEDEP}] |
84 |
+ x11-libs/libXcursor[${MULTILIB_USEDEP}] |
85 |
+ x11-libs/libXdamage[${MULTILIB_USEDEP}] |
86 |
+ x11-libs/libXext[${MULTILIB_USEDEP}] |
87 |
+ x11-libs/libXfixes[${MULTILIB_USEDEP}] |
88 |
+ x11-libs/libXi[${MULTILIB_USEDEP}] |
89 |
+ x11-libs/libXrandr[${MULTILIB_USEDEP}] |
90 |
+ x11-libs/libXrender[${MULTILIB_USEDEP}] |
91 |
+ x11-libs/libXtst[${MULTILIB_USEDEP}] |
92 |
+ x11-libs/libxcb[${MULTILIB_USEDEP}] |
93 |
+ x11-libs/libxkbfile[${MULTILIB_USEDEP}] |
94 |
+ x11-libs/pango[${MULTILIB_USEDEP}]" |
95 |
+ |
96 |
+src_unpack() { |
97 |
+ rpm_src_unpack ${A} |
98 |
+} |
99 |
+ |
100 |
+src_prepare() { |
101 |
+ default |
102 |
+ sed -e "s!^SKYPE_PATH=.*!SKYPE_PATH=${EPREFIX}/opt/skypeforlinux/skypeforlinux!" \ |
103 |
+ -i usr/bin/skypeforlinux || die |
104 |
+ sed -e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \ |
105 |
+ -e "/^OnlyShowIn=/d" \ |
106 |
+ -i usr/share/applications/skypeforlinux.desktop || die |
107 |
+} |
108 |
+ |
109 |
+src_install() { |
110 |
+ dodir /opt |
111 |
+ cp -a usr/share/skypeforlinux "${D}"/opt || 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 |
+ if use pax_kernel; then |
130 |
+ pax-mark -m "${ED%/}"/opt/skypeforlinux/skypeforlinux |
131 |
+ pax-mark -m "${ED%/}"/opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node |
132 |
+ ewarn "You have set USE=pax_kernel meaning that you intend to run" |
133 |
+ ewarn "${PN} under a PaX enabled kernel. To do so, we must modify" |
134 |
+ ewarn "the ${PN} binary itself and this *may* lead to breakage! If" |
135 |
+ ewarn "you suspect that ${PN} is being broken by this modification," |
136 |
+ ewarn "please open a bug." |
137 |
+ fi |
138 |
+} |