Gentoo Archives: gentoo-commits

From: "Arun Raghavan (ford_prefect)" <ford_prefect@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/skype: ChangeLog skype-4.2.0.11-r1.ebuild
Date: Fri, 02 Aug 2013 15:57:56
Message-Id: 20130802155752.CC9DA2171C@flycatcher.gentoo.org
1 ford_prefect 13/08/02 15:57:52
2
3 Modified: ChangeLog
4 Added: skype-4.2.0.11-r1.ebuild
5 Log:
6 Fix up the .desktop file to work around a Skype bug with PulseAudio 4.0. Dropped our desktop file generation and just fixed up the one that Skype ships. Also fixed a grammatical error in the ebuild description.
7
8 (Portage version: 2.2.0_alpha187/cvs/Linux x86_64, signed Manifest commit with key 29C3E2EC)
9
10 Revision Changes Path
11 1.150 net-im/skype/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/skype/ChangeLog?rev=1.150&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/skype/ChangeLog?rev=1.150&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/skype/ChangeLog?r1=1.149&r2=1.150
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-im/skype/ChangeLog,v
20 retrieving revision 1.149
21 retrieving revision 1.150
22 diff -u -r1.149 -r1.150
23 --- ChangeLog 20 Jul 2013 00:45:20 -0000 1.149
24 +++ ChangeLog 2 Aug 2013 15:57:52 -0000 1.150
25 @@ -1,6 +1,14 @@
26 # ChangeLog for net-im/skype
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-im/skype/ChangeLog,v 1.149 2013/07/20 00:45:20 abcd Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-im/skype/ChangeLog,v 1.150 2013/08/02 15:57:52 ford_prefect Exp $
30 +
31 +*skype-4.2.0.11-r1 (02 Aug 2013)
32 +
33 + 02 Aug 2013; Arun Raghavan <ford_prefect@g.o>
34 + +skype-4.2.0.11-r1.ebuild, +files/skype-4.2.0.11-desktop.patch:
35 + Fix up the .desktop file to work around a Skype bug with PulseAudio 4.0.
36 + Dropped our desktop file generation and just fixed up the one that Skype
37 + ships. Also fixed a grammatical error in the ebuild description.
38
39 20 Jul 2013; Jonathan Callen <abcd@g.o> skype-2.2.0.35-r99.ebuild,
40 skype-4.0.0.8-r1.ebuild, skype-4.1.0.20.ebuild, skype-4.2.0.11.ebuild:
41
42
43
44 1.1 net-im/skype/skype-4.2.0.11-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/skype/skype-4.2.0.11-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/skype/skype-4.2.0.11-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: skype-4.2.0.11-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-im/skype/skype-4.2.0.11-r1.ebuild,v 1.1 2013/08/02 15:57:52 ford_prefect Exp $
54
55 EAPI=5
56 inherit eutils gnome2-utils pax-utils
57
58 DESCRIPTION="A P2P Internet Telephony (VoiceIP) client"
59 HOMEPAGE="http://www.skype.com/"
60 SRC_URI="http://download.${PN}.com/linux/${P}.tar.bz2"
61
62 LICENSE="${PN}-4.0.0.7-copyright ${PN}-4.0.0.7-third-party_attributions.txt"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="pax_kernel selinux"
66
67 QA_PREBUILT=opt/bin/${PN}
68 RESTRICT="mirror strip" #299368
69
70 EMUL_X86_VER=20120520
71
72 RDEPEND="virtual/ttf-fonts
73 amd64? (
74 >=app-emulation/emul-linux-x86-baselibs-${EMUL_X86_VER}
75 >=app-emulation/emul-linux-x86-qtlibs-${EMUL_X86_VER}
76 >=app-emulation/emul-linux-x86-soundlibs-${EMUL_X86_VER}
77 || (
78 (
79 x11-libs/libX11[abi_x86_32]
80 x11-libs/libXext[abi_x86_32]
81 x11-libs/libXScrnSaver[abi_x86_32]
82 x11-libs/libXv[abi_x86_32]
83 )
84 >=app-emulation/emul-linux-x86-xlibs-${EMUL_X86_VER}
85 )
86 )
87 !amd64? (
88 media-libs/alsa-lib
89 x11-libs/libX11
90 x11-libs/libXext
91 x11-libs/libXScrnSaver
92 x11-libs/libXv
93 dev-qt/qtcore:4
94 dev-qt/qtdbus:4
95 dev-qt/qtgui:4[accessibility,dbus(+)]
96 dev-qt/qtwebkit:4
97 )
98 selinux? ( sec-policy/selinux-skype )"
99
100 src_prepare() {
101 epatch "${FILESDIR}/${P}-desktop.patch"
102 }
103
104 src_compile() {
105 type -P lrelease >/dev/null && lrelease lang/*.ts
106 rm -f lang/*.ts
107 }
108
109 src_install() {
110 into /opt
111 dobin ${PN}
112 fowners root:audio /opt/bin/${PN}
113
114 insinto /etc/dbus-1/system.d
115 doins ${PN}.conf
116
117 insinto /usr/share/skype
118 doins -r avatars lang sounds
119
120 dodoc README
121
122 local res
123 for res in 16 32 48 64 96 128 256; do
124 newicon -s ${res} icons/SkypeBlue_${res}x${res}.png ${PN}.png
125 done
126
127 domenu skype.desktop
128
129 if use pax_kernel; then
130 pax-mark Cm "${ED}"/opt/bin/${PN} || die
131 eqawarn "You have set USE=pax_kernel meaning that you intend to run"
132 eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
133 eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
134 eqawarn "you suspect that ${PN} is being broken by this modification,"
135 eqawarn "please open a bug."
136 fi
137
138 echo PRELINK_PATH_MASK=/opt/bin/${PN} > ${T}/99${PN}
139 doenvd "${T}"/99${PN} #430142
140 }
141
142 pkg_preinst() {
143 gnome2_icon_savelist
144
145 rm -rf "${EROOT}"/usr/share/${PN} #421165
146 }
147
148 pkg_postinst() {
149 gnome2_icon_cache_update
150
151 # http://bugs.gentoo.org/360815
152 elog "For webcam support, see \"LD_PRELOAD\" section of \"README.lib\" document provided by"
153 elog "media-libs/libv4l package and \"README\" document of this package."
154 if use amd64; then
155 elog "You can install app-emulation/emul-linux-x86-medialibs package for the 32bit"
156 elog "libraries from the media-libs/libv4l package."
157 fi
158 }
159
160 pkg_postrm() {
161 gnome2_icon_cache_update
162 }