1 |
commit: 1e6477e858c76e4c22809706173607bae7cb485c |
2 |
Author: Karol Grudziński <krlgrudzinski <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Feb 8 20:04:58 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 8 21:36:37 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e6477e8 |
7 |
|
8 |
net-im/skypeforlinux: version bump to 8.15.0.4 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/647048 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/7129 |
12 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
13 |
|
14 |
net-im/skypeforlinux/Manifest | 1 + |
15 |
net-im/skypeforlinux/skypeforlinux-8.15.0.4.ebuild | 116 +++++++++++++++++++++ |
16 |
2 files changed, 117 insertions(+) |
17 |
|
18 |
diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest |
19 |
index 97b3458b6e9..25e464cf830 100644 |
20 |
--- a/net-im/skypeforlinux/Manifest |
21 |
+++ b/net-im/skypeforlinux/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST skypeforlinux_8.11.0.4-1.x86_64.rpm 94517788 BLAKE2B 5cec1184c566822dab55a2e01424400d46c9894fe77c0031c59063359c50b017f485ee1505db961fa4dacce9c1bd2634bbabd88b6b03925c4cff80d7a7d9b408 SHA512 580183fb278b12974e28be10cdb13925048e4692ac12e5f1abab219ede12b0ec8567d49e58e2c3a7b4d4bcfc56e3ec1cb91117c0056d86dca7d9f1e2ec363b3e |
24 |
DIST skypeforlinux_8.13.0.2-1.x86_64.rpm 102816632 BLAKE2B 402b95a4dfaebf93200f46fb226d907fe99bb42141f629750ec34c97bae576b79953178c21cfb5309e20867a227577998887e063b9aa2a7e4aacfd0c747911e6 SHA512 2628cb5be1d95b838afd2bc51f200e7c2591e5620c45019ff179fb2f8a480dea0f643676ab0cfea5946a1a5d79d0e181b1b1e4c8f7bade60ffe176e5cb8b3795 |
25 |
DIST skypeforlinux_8.14.0.10-1.x86_64.rpm 103063075 BLAKE2B c1d414ffbaa633bc29146c2a8b0e731c575c8c0afc523b487834aef9759981449659aec6720e6a3659f785d7089d9af3f59a959553f87e9007e4dcac9ebb91f4 SHA512 86471e71f2cb0eca0a41f0fc6e9dce6c67d2af898376bb70524a06ac21af4aa18855f1f22493f2fdd0a9753cd3d451228fe8b24661b1abed328a8bf85381f6d0 |
26 |
+DIST skypeforlinux_8.15.0.4-1.x86_64.rpm 104944478 BLAKE2B 6a490eb49e1887a6e4aa97c644d840dd5daf085212db431ade92232f354d7f6f707b596055f4fd2b74922c071de7179de7be570dc9fa8c08e536ada8abecc0e2 SHA512 5a70ef2395b9d37b4d6417de9a3211b64f0fc7f6bc92b93abace51da911a79e559d1c4f590f1ee830a56e186a91ab713ee8e3327dfae260635ae9005341fcb1c |
27 |
|
28 |
diff --git a/net-im/skypeforlinux/skypeforlinux-8.15.0.4.ebuild b/net-im/skypeforlinux/skypeforlinux-8.15.0.4.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..d5e5dfdff41 |
31 |
--- /dev/null |
32 |
+++ b/net-im/skypeforlinux/skypeforlinux-8.15.0.4.ebuild |
33 |
@@ -0,0 +1,116 @@ |
34 |
+# Copyright 1999-2018 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+MULTILIB_COMPAT=( abi_x86_64 ) |
40 |
+ |
41 |
+inherit eutils gnome2-utils pax-utils rpm multilib-build xdg-utils |
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 |
+ app-crypt/libsecret[${MULTILIB_USEDEP}] |
58 |
+ dev-libs/atk[${MULTILIB_USEDEP}] |
59 |
+ dev-libs/expat[${MULTILIB_USEDEP}] |
60 |
+ dev-libs/glib:2[${MULTILIB_USEDEP}] |
61 |
+ dev-libs/nspr[${MULTILIB_USEDEP}] |
62 |
+ dev-libs/nss[${MULTILIB_USEDEP}] |
63 |
+ gnome-base/gconf:2[${MULTILIB_USEDEP}] |
64 |
+ media-libs/alsa-lib[${MULTILIB_USEDEP}] |
65 |
+ media-libs/fontconfig:1.0[${MULTILIB_USEDEP}] |
66 |
+ media-libs/freetype:2[${MULTILIB_USEDEP}] |
67 |
+ media-libs/libv4l[${MULTILIB_USEDEP}] |
68 |
+ net-print/cups[${MULTILIB_USEDEP}] |
69 |
+ sys-apps/dbus[${MULTILIB_USEDEP}] |
70 |
+ sys-devel/gcc[cxx] |
71 |
+ virtual/ttf-fonts |
72 |
+ x11-libs/cairo[${MULTILIB_USEDEP}] |
73 |
+ x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] |
74 |
+ x11-libs/gtk+:2[${MULTILIB_USEDEP}] |
75 |
+ x11-libs/libX11[${MULTILIB_USEDEP}] |
76 |
+ x11-libs/libXScrnSaver[${MULTILIB_USEDEP}] |
77 |
+ x11-libs/libXcomposite[${MULTILIB_USEDEP}] |
78 |
+ x11-libs/libXcursor[${MULTILIB_USEDEP}] |
79 |
+ x11-libs/libXdamage[${MULTILIB_USEDEP}] |
80 |
+ x11-libs/libXext[${MULTILIB_USEDEP}] |
81 |
+ x11-libs/libXfixes[${MULTILIB_USEDEP}] |
82 |
+ x11-libs/libXi[${MULTILIB_USEDEP}] |
83 |
+ x11-libs/libXrandr[${MULTILIB_USEDEP}] |
84 |
+ x11-libs/libXrender[${MULTILIB_USEDEP}] |
85 |
+ x11-libs/libXtst[${MULTILIB_USEDEP}] |
86 |
+ x11-libs/libxcb[${MULTILIB_USEDEP}] |
87 |
+ x11-libs/libxkbfile[${MULTILIB_USEDEP}] |
88 |
+ x11-libs/pango[${MULTILIB_USEDEP}]" |
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!^Exec=/usr/!Exec=${EPREFIX}/opt/!" \ |
99 |
+ -e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \ |
100 |
+ -e "/^OnlyShowIn=/d" \ |
101 |
+ -i usr/share/applications/skypeforlinux.desktop || die |
102 |
+} |
103 |
+ |
104 |
+src_install() { |
105 |
+ dodir /opt |
106 |
+ cp -a usr/share/skypeforlinux "${D}"/opt || die |
107 |
+ |
108 |
+ into /opt |
109 |
+ dobin usr/bin/skypeforlinux |
110 |
+ |
111 |
+ dodoc usr/share/skypeforlinux/*.html |
112 |
+ dodoc -r usr/share/doc/skypeforlinux/. |
113 |
+ # symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open) |
114 |
+ dosym ${P} usr/share/doc/skypeforlinux |
115 |
+ |
116 |
+ doicon usr/share/pixmaps/skypeforlinux.png |
117 |
+ |
118 |
+ # compat symlink for the autostart desktop file |
119 |
+ dosym ../../opt/bin/skypeforlinux usr/bin/skypeforlinux |
120 |
+ |
121 |
+ local res |
122 |
+ for res in 16 32 256 512; do |
123 |
+ newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/skypeforlinux.png skypeforlinux.png |
124 |
+ done |
125 |
+ |
126 |
+ domenu usr/share/applications/skypeforlinux.desktop |
127 |
+ |
128 |
+ if use pax_kernel; then |
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 |
+ ewarn "You have set USE=pax_kernel meaning that you intend to run" |
132 |
+ ewarn "${PN} under a PaX enabled kernel. To do so, we must modify" |
133 |
+ ewarn "the ${PN} binary itself and this *may* lead to breakage! If" |
134 |
+ ewarn "you suspect that ${PN} is being broken by this modification," |
135 |
+ ewarn "please open a bug." |
136 |
+ fi |
137 |
+} |
138 |
+ |
139 |
+pkg_postinst() { |
140 |
+ xdg_desktop_database_update |
141 |
+ xdg_mimeinfo_database_update |
142 |
+ gnome2_icon_cache_update |
143 |
+} |
144 |
+ |
145 |
+pkg_postrm() { |
146 |
+ xdg_desktop_database_update |
147 |
+ xdg_mimeinfo_database_update |
148 |
+ gnome2_icon_cache_update |
149 |
+} |