Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/skypeforlinux/
Date: Mon, 08 Oct 2018 16:06:50
Message-Id: 1539014799.d5da953d1716caf29742633d440eb8f82674e692.mgorny@gentoo
1 commit: d5da953d1716caf29742633d440eb8f82674e692
2 Author: Jan Vesely <jano.vesely <AT> gmail <DOT> com>
3 AuthorDate: Thu Sep 27 18:28:22 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 8 16:06:39 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5da953d
7
8 net-im/skypeforlinux: Bump version to 8.31.0.92
9
10 Signed-off-by: Jan Vesely <jano.vesely <AT> gmail.com>
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 net-im/skypeforlinux/Manifest | 1 +
14 .../skypeforlinux/skypeforlinux-8.31.0.92.ebuild | 116 +++++++++++++++++++++
15 2 files changed, 117 insertions(+)
16
17 diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest
18 index 0157b2d7cde..96c1f433536 100644
19 --- a/net-im/skypeforlinux/Manifest
20 +++ b/net-im/skypeforlinux/Manifest
21 @@ -1,3 +1,4 @@
22 DIST skypeforlinux_8.29.0.41-1.x86_64.rpm 95818619 BLAKE2B c1a291290bd4b92c51aad86ad814f17e4f4ea22d61e03402089f7089a38a78d35d1388f168e6f07e3ea154bc13de59963d03318500143347ee3974e25ad37fd9 SHA512 3d3a97193adb718d3e4eb7b15d0d9030a711849eab55cd1b2550beeb0c90d14d803603fb8b0f6612d8737da4c7a6a98ba54c472d537c46cb4cf93539191c8eb7
23 DIST skypeforlinux_8.29.0.50-1.x86_64.rpm 95818686 BLAKE2B 6f3e65b558b0a79aa7a0fb3741299f396fe3420a82fce461756faa5bd9063fd38945b5935057fb5f6a0ff3b54a2a07adca026114caca4003d2ae1eca8b16d0df SHA512 f4cdf5376bb21a65f8fb7516be45ac6dfd0b98439c1eabbe491928d356cce0f7b3488ee2056e65c9be1fd9c53d3bb7c6c3f980562b10341d63cee9d3377b3e2b
24 DIST skypeforlinux_8.30.0.50-1.x86_64.rpm 96093210 BLAKE2B f7807c3334c93864378245d004c3186dabf3fb224958e8cabfba5e6f3e26b07f32550752d7e50d13ea5af719d33d4c0ba2a1e6d52b6fdbfb307200438a9f0236 SHA512 c8eb4010d7c5162de21edceb6f4b2b5a6390305fdb3f2d1b28658ab869cbc749b8978906cfa7c5e72d37321500d7ebf5394a8f4283307aa464d459465d848f09
25 +DIST skypeforlinux_8.31.0.92-1.x86_64.rpm 96072403 BLAKE2B ac44bc2c78ad0834e664396c38959f59d97678a037131231e4d84fd5e16da93ccbe30f039293a1b0b3ddecab7e0cc7631336a7b86b9c56c11218ecb0eab8a8d0 SHA512 2b725fec038c3ba5556e14466d340003e27f802e848945b9311df4665ae5f2614113c1e3285e8d4ade75bcbd998f90233695e2f7ddae905117cc1926c1f5412d
26
27 diff --git a/net-im/skypeforlinux/skypeforlinux-8.31.0.92.ebuild b/net-im/skypeforlinux/skypeforlinux-8.31.0.92.ebuild
28 new file mode 100644
29 index 00000000000..fe787944cfb
30 --- /dev/null
31 +++ b/net-im/skypeforlinux/skypeforlinux-8.31.0.92.ebuild
32 @@ -0,0 +1,116 @@
33 +# Copyright 1999-2018 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +MULTILIB_COMPAT=( abi_x86_64 )
39 +
40 +inherit desktop gnome2-utils pax-utils rpm multilib-build xdg-utils
41 +
42 +DESCRIPTION="Instant messaging client, with support for audio and video"
43 +HOMEPAGE="https://www.skype.com/"
44 +SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm"
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 +IUSE="pax_kernel"
50 +
51 +S="${WORKDIR}"
52 +QA_PREBUILT="*"
53 +RESTRICT="mirror bindist strip" #299368
54 +
55 +RDEPEND="
56 + app-crypt/libsecret[${MULTILIB_USEDEP}]
57 + dev-libs/atk[${MULTILIB_USEDEP}]
58 + dev-libs/expat[${MULTILIB_USEDEP}]
59 + dev-libs/glib:2[${MULTILIB_USEDEP}]
60 + dev-libs/nspr[${MULTILIB_USEDEP}]
61 + dev-libs/nss[${MULTILIB_USEDEP}]
62 + gnome-base/gconf:2[${MULTILIB_USEDEP}]
63 + media-libs/alsa-lib[${MULTILIB_USEDEP}]
64 + media-libs/fontconfig:1.0[${MULTILIB_USEDEP}]
65 + media-libs/freetype:2[${MULTILIB_USEDEP}]
66 + media-libs/libv4l[${MULTILIB_USEDEP}]
67 + net-print/cups[${MULTILIB_USEDEP}]
68 + sys-apps/dbus[${MULTILIB_USEDEP}]
69 + sys-devel/gcc[cxx]
70 + virtual/ttf-fonts
71 + x11-libs/cairo[${MULTILIB_USEDEP}]
72 + x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
73 + x11-libs/gtk+:2[${MULTILIB_USEDEP}]
74 + x11-libs/libX11[${MULTILIB_USEDEP}]
75 + x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
76 + x11-libs/libXcomposite[${MULTILIB_USEDEP}]
77 + x11-libs/libXcursor[${MULTILIB_USEDEP}]
78 + x11-libs/libXdamage[${MULTILIB_USEDEP}]
79 + x11-libs/libXext[${MULTILIB_USEDEP}]
80 + x11-libs/libXfixes[${MULTILIB_USEDEP}]
81 + x11-libs/libXi[${MULTILIB_USEDEP}]
82 + x11-libs/libXrandr[${MULTILIB_USEDEP}]
83 + x11-libs/libXrender[${MULTILIB_USEDEP}]
84 + x11-libs/libXtst[${MULTILIB_USEDEP}]
85 + x11-libs/libxcb[${MULTILIB_USEDEP}]
86 + x11-libs/libxkbfile[${MULTILIB_USEDEP}]
87 + x11-libs/pango[${MULTILIB_USEDEP}]"
88 +
89 +src_unpack() {
90 + rpm_src_unpack ${A}
91 +}
92 +
93 +src_prepare() {
94 + default
95 + sed -e "s!^SKYPE_PATH=.*!SKYPE_PATH=${EPREFIX}/opt/skypeforlinux/skypeforlinux!" \
96 + -i usr/bin/skypeforlinux || die
97 + sed -e "s!^Exec=/usr/!Exec=${EPREFIX}/opt/!" \
98 + -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 "${D}"/opt || die
106 +
107 + into /opt
108 + dobin usr/bin/skypeforlinux
109 +
110 + dodoc usr/share/skypeforlinux/*.html
111 + dodoc -r usr/share/doc/skypeforlinux/.
112 + # symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open)
113 + dosym ${P} usr/share/doc/skypeforlinux
114 +
115 + doicon usr/share/pixmaps/skypeforlinux.png
116 +
117 + # compat symlink for the autostart desktop file
118 + dosym ../../opt/bin/skypeforlinux usr/bin/skypeforlinux
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 + if use pax_kernel; then
128 + pax-mark -m "${ED%/}"/opt/skypeforlinux/skypeforlinux
129 + pax-mark -m "${ED%/}"/opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
130 + ewarn "You have set USE=pax_kernel meaning that you intend to run"
131 + ewarn "${PN} under a PaX enabled kernel. To do so, we must modify"
132 + ewarn "the ${PN} binary itself and this *may* lead to breakage! If"
133 + ewarn "you suspect that ${PN} is being broken by this modification,"
134 + ewarn "please open a bug."
135 + fi
136 +}
137 +
138 +pkg_postinst() {
139 + xdg_desktop_database_update
140 + xdg_mimeinfo_database_update
141 + gnome2_icon_cache_update
142 +}
143 +
144 +pkg_postrm() {
145 + xdg_desktop_database_update
146 + xdg_mimeinfo_database_update
147 + gnome2_icon_cache_update
148 +}