Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/skypeforlinux/
Date: Wed, 05 Jun 2019 09:27:37
Message-Id: 1559726840.8ff941270f3428a4916c38603b2f5539c0e61c6e.soap@gentoo
1 commit: 8ff941270f3428a4916c38603b2f5539c0e61c6e
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 5 09:24:06 2019 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 5 09:27:20 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ff94127
7
8 net-im/skypeforlinux: Bump to 8.46.0.60
9
10 Package-Manager: Portage-2.3.67, Repoman-2.3.14
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 net-im/skypeforlinux/Manifest | 1 +
14 .../skypeforlinux/skypeforlinux-8.46.0.60.ebuild | 102 +++++++++++++++++++++
15 2 files changed, 103 insertions(+)
16
17 diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest
18 index cbf7ea520d6..34d3c6bb96d 100644
19 --- a/net-im/skypeforlinux/Manifest
20 +++ b/net-im/skypeforlinux/Manifest
21 @@ -1 +1,2 @@
22 DIST skypeforlinux_8.45.0.41-1.x86_64.rpm 98085869 BLAKE2B 6ade91a30ce302adc0b1437508ccddad6505c97f5d26a8fc6afbf2a1670a201e450a158e5ba786e4a48f444482304bf19aa869990b7aad5aac1c56af8e338c73 SHA512 af1ff07cabce98058c7b9ca11456f57da2b49dd1c89cd12add03954e2ff7e591cc8254c9146c7b5137c414769357b7f57ff370a7803fa1b17ba34c4a87bb5ef2
23 +DIST skypeforlinux_8.46.0.60-1.x86_64.rpm 98406332 BLAKE2B 96cb9ce76ec5278254fa2891a82b66481d1dbbc75cde7f51fd9dab7cd681ccd5c34c5777c0e639166c2268e03b58fcc844961b589f8248b68374f17bec516a41 SHA512 679ef60427fc5435d14e54eea4bebdb93909dbab8aa7803994fa8fa9077a73c3b2366ea120a80a9a12aa5a23ee5e8a34b67232850686f6350a69e13fc5bce41a
24
25 diff --git a/net-im/skypeforlinux/skypeforlinux-8.46.0.60.ebuild b/net-im/skypeforlinux/skypeforlinux-8.46.0.60.ebuild
26 new file mode 100644
27 index 00000000000..df398450e03
28 --- /dev/null
29 +++ b/net-im/skypeforlinux/skypeforlinux-8.46.0.60.ebuild
30 @@ -0,0 +1,102 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +MULTILIB_COMPAT=( abi_x86_64 )
37 +
38 +inherit desktop pax-utils rpm multilib-build xdg
39 +
40 +DESCRIPTION="Instant messaging client, with support for audio and video"
41 +HOMEPAGE="https://www.skype.com/"
42 +SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm"
43 +
44 +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"
45 +SLOT="0"
46 +KEYWORDS="-* ~amd64"
47 +IUSE="pax_kernel"
48 +
49 +S="${WORKDIR}"
50 +QA_PREBUILT="*"
51 +RESTRICT="mirror bindist strip" #299368
52 +
53 +RDEPEND="
54 + || (
55 + sys-auth/elogind
56 + sys-apps/systemd
57 + )
58 + app-crypt/libsecret[${MULTILIB_USEDEP}]
59 + dev-libs/atk[${MULTILIB_USEDEP}]
60 + dev-libs/expat[${MULTILIB_USEDEP}]
61 + dev-libs/glib:2[${MULTILIB_USEDEP}]
62 + dev-libs/nspr[${MULTILIB_USEDEP}]
63 + dev-libs/nss[${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+:3[${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!^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 + dobin usr/bin/skypeforlinux
108 +
109 + dodoc usr/share/skypeforlinux/*.html
110 + dodoc -r usr/share/doc/skypeforlinux/.
111 + # symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open)
112 + dosym ${PF} usr/share/doc/skypeforlinux
113 +
114 + doicon usr/share/pixmaps/skypeforlinux.png
115 +
116 + local res
117 + for res in 16 32 256 512; do
118 + newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/skypeforlinux.png skypeforlinux.png
119 + done
120 +
121 + domenu usr/share/applications/skypeforlinux.desktop
122 +
123 + if use pax_kernel; then
124 + pax-mark -m "${ED}"/opt/skypeforlinux/skypeforlinux
125 + pax-mark -m "${ED}"/opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
126 + ewarn "You have set USE=pax_kernel meaning that you intend to run"
127 + ewarn "${PN} under a PaX enabled kernel. To do so, we must modify"
128 + ewarn "the ${PN} binary itself and this *may* lead to breakage! If"
129 + ewarn "you suspect that ${PN} is being broken by this modification,"
130 + ewarn "please open a bug."
131 + fi
132 +}