Gentoo Archives: gentoo-commits

From: "Christoph Junghans (ottxor)" <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-plugins/google-talkplugin: ChangeLog google-talkplugin-2.3.2.0.ebuild google-talkplugin-2.4.5.0.ebuild
Date: Wed, 16 Nov 2011 02:42:14
Message-Id: 20111116024204.92ACB2004C@flycatcher.gentoo.org
1 ottxor 11/11/16 02:42:04
2
3 Modified: ChangeLog google-talkplugin-2.3.2.0.ebuild
4 Added: google-talkplugin-2.4.5.0.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.0_alpha74/cvs/Linux i686)
9
10 Revision Changes Path
11 1.16 www-plugins/google-talkplugin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?rev=1.16&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?rev=1.16&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?r1=1.15&r2=1.16
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v
20 retrieving revision 1.15
21 retrieving revision 1.16
22 diff -u -r1.15 -r1.16
23 --- ChangeLog 14 Sep 2011 17:28:09 -0000 1.15
24 +++ ChangeLog 16 Nov 2011 02:42:04 -0000 1.16
25 @@ -1,6 +1,12 @@
26 # ChangeLog for www-plugins/google-talkplugin
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v 1.15 2011/09/14 17:28:09 ottxor Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v 1.16 2011/11/16 02:42:04 ottxor Exp $
30 +
31 +*google-talkplugin-2.4.5.0 (16 Nov 2011)
32 +
33 + 16 Nov 2011; Christoph Junghans <ottxor@g.o>
34 + google-talkplugin-2.3.2.0.ebuild, +google-talkplugin-2.4.5.0.ebuild:
35 + version bump
36
37 *google-talkplugin-2.3.2.0 (14 Sep 2011)
38
39
40
41
42 1.2 www-plugins/google-talkplugin/google-talkplugin-2.3.2.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-2.3.2.0.ebuild?rev=1.2&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-2.3.2.0.ebuild?rev=1.2&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-2.3.2.0.ebuild?r1=1.1&r2=1.2
47
48 Index: google-talkplugin-2.3.2.0.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-2.3.2.0.ebuild,v
51 retrieving revision 1.1
52 retrieving revision 1.2
53 diff -u -r1.1 -r1.2
54 --- google-talkplugin-2.3.2.0.ebuild 14 Sep 2011 17:28:09 -0000 1.1
55 +++ google-talkplugin-2.3.2.0.ebuild 16 Nov 2011 02:42:04 -0000 1.2
56 @@ -1,6 +1,6 @@
57 # Copyright 1999-2011 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-2.3.2.0.ebuild,v 1.1 2011/09/14 17:28:09 ottxor Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-2.3.2.0.ebuild,v 1.2 2011/11/16 02:42:04 ottxor Exp $
61
62 EAPI=4
63
64 @@ -27,7 +27,7 @@
65 KEYWORDS="-* ~amd64 ~x86"
66 #GoogleTalkPlugin binary contains openssl
67 LICENSE="google-talkplugin openssl"
68 -RESTRICT="strip mirror"
69 +RESTRICT="fetch strip"
70
71 #to get these run:
72 #for i in $(scanelf -n /opt/google/talkplugin/* | awk '/^ET/{gsub(/,/,"\n",$2);print $2}' | sort -u)
73 @@ -79,9 +79,12 @@
74
75 # nofetch means upstream bumped and thus needs version bump
76 pkg_nofetch() {
77 - einfo "This version is no longer available from Google."
78 - einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump."
79 - einfo "Please file a version bump bug on http://bugs.gentoo.org (search existing bugs for ${PN} first!)."
80 + elog "This version is no longer available from Google and the license prevents mirroring."
81 + elog "This ebuild is intended for users who already downloaded it previously and have problems"
82 + elog "with ${PV}+. If you can get the distfile from e.g. another computer of yours, or search"
83 + use amd64 && MY_PKG="${MY_PKG/i386/amd64}"
84 + elog "it with google: http://www.google.com/search?q=intitle:%22index+of%22+${MY_PKG}"
85 + elog "and copy the file ${MY_PKG} to ${DISTDIR}."
86 }
87
88 src_unpack() {
89
90
91
92 1.1 www-plugins/google-talkplugin/google-talkplugin-2.4.5.0.ebuild
93
94 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-2.4.5.0.ebuild?rev=1.1&view=markup
95 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-2.4.5.0.ebuild?rev=1.1&content-type=text/plain
96
97 Index: google-talkplugin-2.4.5.0.ebuild
98 ===================================================================
99 # Copyright 1999-2011 Gentoo Foundation
100 # Distributed under the terms of the GNU General Public License v2
101 # $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-2.4.5.0.ebuild,v 1.1 2011/11/16 02:42:04 ottxor Exp $
102
103 EAPI=4
104
105 inherit nsplugins
106
107 if [ "${PV}" != "9999" ]; then
108 DEB_PATCH="1"
109 #http://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-i386/Packages
110 MY_URL="http://dl.google.com/linux/talkplugin/deb/pool/main/${P:0:1}/${PN}"
111 MY_PKG="${PN}_${PV}-${DEB_PATCH}_i386.deb"
112 SRC_URI="x86? ( ${MY_URL}/${MY_PKG} )
113 amd64? ( ${MY_URL}/${MY_PKG/i386/amd64} )"
114 else
115 MY_URL="http://dl.google.com/linux/direct"
116 MY_PKG="${PN}_current_i386.deb"
117 SRC_URI=""
118 fi
119
120 DESCRIPTION="Video chat browser plug-in for Google Talk"
121
122 HOMEPAGE="http://www.google.com/chat/video"
123 IUSE="libnotify +system-libCg"
124 SLOT="0"
125
126 KEYWORDS="-* ~amd64 ~x86"
127 #GoogleTalkPlugin binary contains openssl
128 LICENSE="google-talkplugin openssl"
129 RESTRICT="strip mirror"
130
131 NATIVE_DEPS="|| ( media-sound/pulseaudio media-libs/alsa-lib )
132 dev-libs/glib:2
133 system-libCg? ( media-gfx/nvidia-cg-toolkit )
134 media-libs/fontconfig
135 media-libs/freetype:2
136 media-libs/libpng:1.2
137 >=sys-libs/glibc-2.4
138 x11-libs/cairo
139 x11-libs/gdk-pixbuf
140 x11-libs/gtk+:2
141 x11-libs/libX11
142 x11-libs/libXcomposite
143 x11-libs/libXfixes
144 x11-libs/libXrandr
145 x11-libs/libXrender
146 x11-libs/libXt
147 sys-apps/lsb-release
148 virtual/opengl
149 libnotify? ( x11-libs/libnotify )"
150
151 DEPEND=""
152
153 EMUL_DEPS=">=app-emulation/emul-linux-x86-baselibs-20100220
154 app-emulation/emul-linux-x86-gtklibs
155 app-emulation/emul-linux-x86-soundlibs
156 app-emulation/emul-linux-x86-xlibs"
157
158 #amd64 needs EMUL_DEPS as GoogleTalkPlugin is a 32-bit binary
159 RDEPEND="x86? ( ${NATIVE_DEPS} )
160 amd64? ( ${NATIVE_DEPS} ${EMUL_DEPS} )"
161
162 INSTALL_BASE="opt/google/talkplugin"
163
164 QA_EXECSTACK="${INSTALL_BASE}/GoogleTalkPlugin"
165
166 QA_TEXTRELS="${INSTALL_BASE}/libnpg*.so"
167
168 QA_DT_HASH="${INSTALL_BASE}/libnpg.*so
169 ${INSTALL_BASE}/GoogleTalkPlugin"
170
171 S="${WORKDIR}"
172
173 # nofetch means upstream bumped and thus needs version bump
174 pkg_nofetch() {
175 einfo "This version is no longer available from Google."
176 einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump."
177 einfo "Please file a version bump bug on http://bugs.gentoo.org (search existing bugs for ${PN} first!)."
178 }
179
180 src_unpack() {
181 if [ "${PV}" != "9999" ]; then
182 unpack ${A}
183 else
184 local pkg="${MY_PKG}"
185 use amd64 && pkg="${pkg/i386/amd64}"
186 einfo "Fetching ${pkg}"
187 wget "${MY_URL}/${pkg}" || die
188 unpack ./"${pkg}"
189 fi
190 unpack ./data.tar.gz
191 }
192
193 src_install() {
194 #workaround for bug #376741
195 cd usr/share/doc/google-talkplugin || die
196 unpack ./changelog.Debian.gz
197 dodoc changelog.Debian
198 cd -
199
200 exeinto "/${INSTALL_BASE}"
201 doexe "${INSTALL_BASE}"/GoogleTalkPlugin
202 for i in "${INSTALL_BASE}"/libnpg*.so; do
203 doexe "${i}"
204 inst_plugin "/${i}"
205 done
206
207 #install bundled libCg
208 if ! use system-libCg; then
209 exeinto "/${INSTALL_BASE}"/lib
210 doexe "${INSTALL_BASE}"/lib/*.so
211 fi
212 }