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