Gentoo Archives: gentoo-commits

From: "Gustavo Felisberto (humpback)" <humpback@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/skype: ChangeLog skype-2.0.0.43.ebuild
Date: Wed, 06 Feb 2008 14:58:51
Message-Id: E1JMljc-0006it-7n@stork.gentoo.org
1 humpback 08/02/06 14:58:48
2
3 Modified: ChangeLog
4 Added: skype-2.0.0.43.ebuild
5 Log:
6 bumped
7 (Portage version: 2.1.4.1)
8
9 Revision Changes Path
10 1.87 net-im/skype/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/skype/ChangeLog?rev=1.87&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/skype/ChangeLog?rev=1.87&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/skype/ChangeLog?r1=1.86&r2=1.87
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-im/skype/ChangeLog,v
19 retrieving revision 1.86
20 retrieving revision 1.87
21 diff -u -r1.86 -r1.87
22 --- ChangeLog 6 Dec 2007 11:05:11 -0000 1.86
23 +++ ChangeLog 6 Feb 2008 14:58:47 -0000 1.87
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-im/skype
26 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-im/skype/ChangeLog,v 1.86 2007/12/06 11:05:11 humpback Exp $
28 +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-im/skype/ChangeLog,v 1.87 2008/02/06 14:58:47 humpback Exp $
30 +
31 +*skype-2.0.0.43 (06 Feb 2008)
32 +
33 + 06 Feb 2008; Gustavo Felisberto <humpback@g.o>
34 + +skype-2.0.0.43.ebuild:
35 + Bumped to new beta version
36
37 06 Dec 2007; Gustavo Felisberto <humpback@g.o>
38 files/digest-skype-2.0.0.27, Manifest:
39
40
41
42 1.1 net-im/skype/skype-2.0.0.43.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/skype/skype-2.0.0.43.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/skype/skype-2.0.0.43.ebuild?rev=1.1&content-type=text/plain
46
47 Index: skype-2.0.0.43.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-im/skype/skype-2.0.0.43.ebuild,v 1.1 2008/02/06 14:58:47 humpback Exp $
52
53 inherit eutils qt4 pax-utils
54
55 DESCRIPTION="A P2P-VoiceIP client."
56 HOMEPAGE="http://www.skype.com/"
57
58 SFILENAME=${PN}_static-${PV}.tar.bz2
59 DFILENAME=${P}.tar.bz2
60 SRC_URI="!qt-static? ( http://download.skype.com/linux/${DFILENAME} )
61 qt-static? ( http://download.skype.com/linux/${SFILENAME} )"
62
63 LICENSE="skype-eula"
64 SLOT="0"
65 KEYWORDS="~x86 ~amd64"
66 IUSE="qt-static"
67 RESTRICT="mirror strip"
68
69 DEPEND="amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.2
70 >=app-emulation/emul-linux-x86-baselibs-2.1.1
71 >=app-emulation/emul-linux-x86-soundlibs-2.4
72 app-emulation/emul-linux-x86-compat )
73 x86? ( >=sys-libs/glibc-2.4
74 >=dev-libs/libsigc++-2
75 >=media-libs/alsa-lib-1.0.11
76 x11-libs/libXScrnSaver
77 qt-static? ( media-libs/fontconfig
78 media-libs/freetype
79 x11-libs/libICE
80 x11-libs/libSM
81 x11-libs/libXcursor
82 x11-libs/libXext
83 x11-libs/libXfixes
84 x11-libs/libXi
85 x11-libs/libXinerama
86 x11-libs/libXrandr
87 x11-libs/libXrender
88 x11-libs/libX11 )
89 !qt-static? ( $(qt4_min_version 4.2.3)
90 x11-libs/libX11
91 x11-libs/libXau
92 x11-libs/libXdmcp ) )"
93 RDEPEND="${DEPEND}"
94
95 QA_EXECSTACK="opt/skype/skype"
96
97 use qt-static && S="${WORKDIR}/${PN}_static-${PV}"
98
99 pkg_setup() {
100 if ! use qt-static && ! built_with_use ">=x11-libs/qt-4.0" accessibility dbus ; then
101 eerror "Rebuild qt-4 with USE=\"accessibility dbus\" or set USE=qt-static"
102 die "USE=\"-qt-static\" only works with qt-4 built with USE=\"accessibility dbus\"."
103 fi
104 }
105
106 src_unpack() {
107 unpack ${A}
108 }
109
110 src_install() {
111 # remove mprotect() restrictions for PaX usage - see Bug 100507
112 pax-mark m "${S}"/skype
113
114 exeinto /opt/${PN}
115 doexe skype
116 fowners root:audio /opt/skype/skype
117 make_wrapper skype /opt/${PN}/skype /opt/${PN} /opt/${PN} /usr/bin
118
119 insinto /opt/${PN}/sounds
120 doins sounds/*.wav
121
122 if ! use qt-static ; then
123 insinto /etc/dbus-1/system.d
124 newins "${FILESDIR}"/skype.debus.config skype.conf
125 fi
126
127 insinto /opt/${PN}/lang
128 #
129 #There have been some issues were lang is not updated from the .ts files
130 #but if we have qt we can rebuild it
131 #
132 if ! use qt-static ; then
133 lrelease lang/*.ts
134 fi
135
136 doins lang/*.qm
137
138 insinto /opt/${PN}/avatars
139 doins avatars/*.png
140
141 insinto /opt/${PN}
142 for X in 16 32 48
143 do
144 insinto /usr/share/icons/hicolor/${X}x${X}/apps
145 newins "${S}"/icons/SkypeBlue_${X}x${X}.png ${PN}.png
146 done
147
148 dodoc README
149
150 # insinto /usr/share/applications/
151 # doins skype.desktop
152 make_desktop_entry ${PN} "Skype VoIP" ${PN}.png "Network;InstantMessaging;Telephony"
153
154 #Fix for no sound notifications
155 dosym /opt/${PN} /usr/share/${PN}
156
157 # TODO: Optional configuration of callto:// in KDE, Mozilla and friends
158 # doexe skype-callto-handler
159 }
160
161 pkg_postinst() {
162 elog "If you have sound problems please visit: "
163 elog "http://forum.skype.com/bb/viewtopic.php?t=4489"
164 elog "These kernel options are reported to help"
165 elog
166 elog "Processor type and features --->"
167 elog "-- Preemption Model (Preemptible Kernel (Low-Latency Desktop))"
168 elog "-- Timer frequency (250 HZ)"
169 elog
170 ewarn "This release no longer uses the old wrapper because ${PN} now uses ALSA"
171 ewarn
172
173 }
174
175
176
177 --
178 gentoo-commits@l.g.o mailing list