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, 12 Oct 2016 07:38:28
Message-Id: 1476257796.b9159d99f45205fa3d431c61b6090ffaab9b575c.soap@gentoo
1 commit: b9159d99f45205fa3d431c61b6090ffaab9b575c
2 Author: Raymond Jennings <shentino <AT> gmail <DOT> com>
3 AuthorDate: Tue Oct 11 09:07:58 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 12 07:36:36 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9159d99
7
8 net-im/skypeforlinux: Version bump to 1.10.0.1
9
10 Closes: https://github.com/gentoo/gentoo/pull/2530
11
12 Signed-off-by: David Seifert <soap <AT> gentoo.org>
13
14 net-im/skypeforlinux/Manifest | 1 +
15 net-im/skypeforlinux/skypeforlinux-1.10.0.1.ebuild | 125 +++++++++++++++++++++
16 2 files changed, 126 insertions(+)
17
18 diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest
19 index ca5e07d..65fbe41 100644
20 --- a/net-im/skypeforlinux/Manifest
21 +++ b/net-im/skypeforlinux/Manifest
22 @@ -1 +1,2 @@
23 +DIST skypeforlinux_1.10.0.1-1.x86_64.rpm 62779116 SHA256 24e83f598b0729649e9562f0265ca12236cc53775d7bc1bc9e14cf5de48848ff SHA512 f3e9947588bab83fcc3cdedf455e18d93da9ae1098cb55acb7494552b1f8f97508abac6cdf987f67db779fa5f2786c1fd8e22032936f6100258260c5fb399272 WHIRLPOOL ad5078392d8f49c33a1810afc653175e9ad36e2ece118f92818c3c1cc2a1b6ed0328f9f623958aefd635048ba586ec6f2b502aed6a4ef76bb970e1f25528eab2
24 DIST skypeforlinux_1.9.0.2-1.x86_64.rpm 62767691 SHA256 9b838d5c0aa72287a96a5a11b150dbf647c50fe65aa2a386be8af7002e477e61 SHA512 9390c60f0cd7e643e8806596b6a1cdadffb45086fc456218f59361ffe74adb2adfbba4893d3276b59f1435067146d90becd1c644008932c6efcc978bd4288c8c WHIRLPOOL 631b471593e590aa7f2642e410c58971b07dd42f6c1bd8447c070c9b29dd18514f4d38f73c63e296d3e449d8a12ac5fb088f38ecdd6e81d922fd0b173c969d42
25
26 diff --git a/net-im/skypeforlinux/skypeforlinux-1.10.0.1.ebuild b/net-im/skypeforlinux/skypeforlinux-1.10.0.1.ebuild
27 new file mode 100644
28 index 00000000..106a1e5
29 --- /dev/null
30 +++ b/net-im/skypeforlinux/skypeforlinux-1.10.0.1.ebuild
31 @@ -0,0 +1,125 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +
38 +#inherit eutils rpm pax-utils
39 +inherit eutils rpm
40 +
41 +DESCRIPTION="P2P Internet Telephony (VoiceIP) client"
42 +HOMEPAGE="http://www.skype.com/"
43 +SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm"
44 +
45 +LICENSE="Skype-TOS no-source-code"
46 +SLOT="0"
47 +KEYWORDS="~amd64"
48 +#IUSE="pax_kernel selinux"
49 +IUSE=""
50 +
51 +S="${WORKDIR}"
52 +QA_PREBUILT=opt/skypeforlinux/skypeforlinux
53 +RESTRICT="mirror bindist strip" #299368
54 +
55 +RDEPEND="virtual/ttf-fonts
56 + !net-im/skype:1
57 + dev-libs/atk
58 + dev-libs/expat
59 + dev-libs/glib:2
60 + dev-libs/nspr
61 + dev-libs/nss
62 + gnome-base/gconf:2
63 + gnome-base/libgnome-keyring
64 + media-libs/alsa-lib
65 + media-libs/fontconfig:1.0
66 + media-libs/freetype:2
67 + net-print/cups
68 + sys-apps/dbus
69 + x11-libs/cairo
70 + x11-libs/gdk-pixbuf:2
71 + x11-libs/gtk+:2
72 + x11-libs/libX11
73 + x11-libs/libXcomposite
74 + x11-libs/libXcursor
75 + x11-libs/libXdamage
76 + x11-libs/libXext
77 + x11-libs/libXfixes
78 + x11-libs/libXi
79 + x11-libs/libXrandr
80 + x11-libs/libXrender
81 + x11-libs/libXScrnSaver
82 + x11-libs/libXtst
83 + x11-libs/pango"
84 +# selinux? ( sec-policy/selinux-skype )"
85 +
86 +src_unpack () {
87 + rpm_src_unpack ${A}
88 +}
89 +
90 +src_prepare() {
91 + default
92 + sed -e "s!^SKYPE_PATH=.*!SKYPE_PATH=${EROOT%/}/opt/skypeforlinux/skypeforlinux!" \
93 + -i usr/bin/skypeforlinux || die
94 + sed -e "s!^Exec=.*!Exec=${EROOT%/}/opt/bin/skypeforlinux!" \
95 + -e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \
96 + -i usr/share/applications/skypeforlinux.desktop || die
97 +}
98 +
99 +src_install() {
100 + insinto /opt/skypeforlinux/locales
101 + doins usr/share/skypeforlinux/locales/*.pak
102 +
103 + insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/keytar/build/Release
104 + doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/keytar/build/Release/keytar.node
105 +
106 + insinto /opt/skypeforlinux/resources
107 + doins usr/share/skypeforlinux/resources/*.asar
108 +
109 + insinto /opt/skypeforlinux
110 + doins usr/share/skypeforlinux/*.pak
111 + doins usr/share/skypeforlinux/*.bin
112 + doins usr/share/skypeforlinux/*.dat
113 + doins usr/share/skypeforlinux/version
114 + exeinto /opt/skypeforlinux
115 + doexe usr/share/skypeforlinux/*.so
116 + doexe usr/share/skypeforlinux/skypeforlinux
117 +
118 + into /opt
119 + dobin usr/bin/skypeforlinux
120 + fowners root:audio /opt/bin/skypeforlinux /opt/skypeforlinux/skypeforlinux
121 +
122 +# insinto /etc/dbus-1/system.d
123 +# doins ${PN}.conf
124 +
125 + dodoc -r usr/share/doc/skypeforlinux/.
126 +
127 + doicon usr/share/pixmaps/skypeforlinux.png
128 +
129 + local res
130 + for res in 16 32 256 512; do
131 + newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/skypeforlinux.png skypeforlinux.png
132 + done
133 +
134 + domenu usr/share/applications/skypeforlinux.desktop
135 +
136 +# if use pax_kernel; then
137 +# if use apulse; then
138 +# pax-mark Cm "${ED}"/opt/bin/${PN}-bin || die
139 +# else
140 +# pax-mark Cm "${ED}"/opt/bin/${PN} || die
141 +# fi
142 +# eqawarn "You have set USE=pax_kernel meaning that you intend to run"
143 +# eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
144 +# eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
145 +# eqawarn "you suspect that ${PN} is being broken by this modification,"
146 +# eqawarn "please open a bug."
147 +# fi
148 +
149 +# echo PRELINK_PATH_MASK=/opt/bin/${PN} > ${T}/99${PN}
150 +# doenvd "${T}"/99${PN} #430142
151 +}
152 +
153 +pkg_postinst() {
154 + einfo "See https://support.skype.com/en/faq/FA34656"
155 + einfo "for more information about Skype for Linux Alpha."
156 +}