Gentoo Archives: gentoo-commits

From: Amy Liffey <amynka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/skypeforlinux/
Date: Thu, 01 Mar 2018 08:52:04
Message-Id: 1519894293.0aa648a7afc8ae3232b89820c085598bf5501e2a.amynka@gentoo
1 commit: 0aa648a7afc8ae3232b89820c085598bf5501e2a
2 Author: Karol GrudziƄski <krlgrudzinski <AT> gmail <DOT> com>
3 AuthorDate: Wed Feb 21 21:13:57 2018 +0000
4 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 1 08:51:33 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa648a7
7
8 net-im/skypeforlinux: version bump
9
10 Bug: https://bugs.gentoo.org/648440
11 Closes: #7248
12
13 Package-Manager: Portage-2.3.24, Repoman-2.3.6
14
15 net-im/skypeforlinux/Manifest | 1 +
16 net-im/skypeforlinux/skypeforlinux-8.16.0.4.ebuild | 116 +++++++++++++++++++++
17 2 files changed, 117 insertions(+)
18
19 diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest
20 index 25e464cf830..95e29e10961 100644
21 --- a/net-im/skypeforlinux/Manifest
22 +++ b/net-im/skypeforlinux/Manifest
23 @@ -2,3 +2,4 @@ DIST skypeforlinux_8.11.0.4-1.x86_64.rpm 94517788 BLAKE2B 5cec1184c566822dab55a2
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 +DIST skypeforlinux_8.16.0.4-1.x86_64.rpm 105226365 BLAKE2B 377c4d646740c29efb10e7379b37e4661dd5e4f438e31895b4b32e2dacb922fcde8d6713790266f4532dbd6818a8ffefc5749ead0b495deafa0e85b00a8f4f00 SHA512 e499a3d9bb50695989ad629256a1e974bd9ccb3cfeeb5090cdc4986fca58fcdeb9dd9e969caacc0b42945481fc0f26b91353a0a0c60fe57a44581f6c3e27b1bb
28
29 diff --git a/net-im/skypeforlinux/skypeforlinux-8.16.0.4.ebuild b/net-im/skypeforlinux/skypeforlinux-8.16.0.4.ebuild
30 new file mode 100644
31 index 00000000000..d5e5dfdff41
32 --- /dev/null
33 +++ b/net-im/skypeforlinux/skypeforlinux-8.16.0.4.ebuild
34 @@ -0,0 +1,116 @@
35 +# Copyright 1999-2018 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=6
39 +
40 +MULTILIB_COMPAT=( abi_x86_64 )
41 +
42 +inherit eutils gnome2-utils pax-utils rpm multilib-build xdg-utils
43 +
44 +DESCRIPTION="Instant messaging client, with support for audio and video"
45 +HOMEPAGE="https://www.skype.com/"
46 +SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm"
47 +
48 +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"
49 +SLOT="0"
50 +KEYWORDS="~amd64 -*"
51 +IUSE="pax_kernel"
52 +
53 +S="${WORKDIR}"
54 +QA_PREBUILT="*"
55 +RESTRICT="mirror bindist strip" #299368
56 +
57 +RDEPEND="
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 + gnome-base/gconf:2[${MULTILIB_USEDEP}]
65 + media-libs/alsa-lib[${MULTILIB_USEDEP}]
66 + media-libs/fontconfig:1.0[${MULTILIB_USEDEP}]
67 + media-libs/freetype:2[${MULTILIB_USEDEP}]
68 + media-libs/libv4l[${MULTILIB_USEDEP}]
69 + net-print/cups[${MULTILIB_USEDEP}]
70 + sys-apps/dbus[${MULTILIB_USEDEP}]
71 + sys-devel/gcc[cxx]
72 + virtual/ttf-fonts
73 + x11-libs/cairo[${MULTILIB_USEDEP}]
74 + x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
75 + x11-libs/gtk+:2[${MULTILIB_USEDEP}]
76 + x11-libs/libX11[${MULTILIB_USEDEP}]
77 + x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
78 + x11-libs/libXcomposite[${MULTILIB_USEDEP}]
79 + x11-libs/libXcursor[${MULTILIB_USEDEP}]
80 + x11-libs/libXdamage[${MULTILIB_USEDEP}]
81 + x11-libs/libXext[${MULTILIB_USEDEP}]
82 + x11-libs/libXfixes[${MULTILIB_USEDEP}]
83 + x11-libs/libXi[${MULTILIB_USEDEP}]
84 + x11-libs/libXrandr[${MULTILIB_USEDEP}]
85 + x11-libs/libXrender[${MULTILIB_USEDEP}]
86 + x11-libs/libXtst[${MULTILIB_USEDEP}]
87 + x11-libs/libxcb[${MULTILIB_USEDEP}]
88 + x11-libs/libxkbfile[${MULTILIB_USEDEP}]
89 + x11-libs/pango[${MULTILIB_USEDEP}]"
90 +
91 +src_unpack() {
92 + rpm_src_unpack ${A}
93 +}
94 +
95 +src_prepare() {
96 + default
97 + sed -e "s!^SKYPE_PATH=.*!SKYPE_PATH=${EPREFIX}/opt/skypeforlinux/skypeforlinux!" \
98 + -i usr/bin/skypeforlinux || die
99 + sed -e "s!^Exec=/usr/!Exec=${EPREFIX}/opt/!" \
100 + -e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \
101 + -e "/^OnlyShowIn=/d" \
102 + -i usr/share/applications/skypeforlinux.desktop || die
103 +}
104 +
105 +src_install() {
106 + dodir /opt
107 + cp -a usr/share/skypeforlinux "${D}"/opt || die
108 +
109 + into /opt
110 + dobin usr/bin/skypeforlinux
111 +
112 + dodoc usr/share/skypeforlinux/*.html
113 + dodoc -r usr/share/doc/skypeforlinux/.
114 + # symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open)
115 + dosym ${P} usr/share/doc/skypeforlinux
116 +
117 + doicon usr/share/pixmaps/skypeforlinux.png
118 +
119 + # compat symlink for the autostart desktop file
120 + dosym ../../opt/bin/skypeforlinux usr/bin/skypeforlinux
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 +}
139 +
140 +pkg_postinst() {
141 + xdg_desktop_database_update
142 + xdg_mimeinfo_database_update
143 + gnome2_icon_cache_update
144 +}
145 +
146 +pkg_postrm() {
147 + xdg_desktop_database_update
148 + xdg_mimeinfo_database_update
149 + gnome2_icon_cache_update
150 +}