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: google-talkplugin-9999.ebuild google-talkplugin-5.38.6.0.ebuild google-talkplugin-5.40.2.0.ebuild ChangeLog
Date: Sun, 01 Mar 2015 21:26:00
Message-Id: 20150301212549.A4D7612D4D@oystercatcher.gentoo.org
1 ottxor 15/03/01 21:25:49
2
3 Modified: google-talkplugin-9999.ebuild
4 google-talkplugin-5.38.6.0.ebuild ChangeLog
5 Added: google-talkplugin-5.40.2.0.ebuild
6 Log:
7 version bump
8
9 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key C2000586)
10
11 Revision Changes Path
12 1.24 www-plugins/google-talkplugin/google-talkplugin-9999.ebuild
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild?rev=1.24&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild?rev=1.24&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild?r1=1.23&r2=1.24
17
18 Index: google-talkplugin-9999.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild,v
21 retrieving revision 1.23
22 retrieving revision 1.24
23 diff -u -r1.23 -r1.24
24 --- google-talkplugin-9999.ebuild 8 Nov 2014 20:22:26 -0000 1.23
25 +++ google-talkplugin-9999.ebuild 1 Mar 2015 21:25:49 -0000 1.24
26 @@ -1,6 +1,6 @@
27 -# Copyright 1999-2014 Gentoo Foundation
28 +# Copyright 1999-2015 Gentoo Foundation
29 # Distributed under the terms of the GNU General Public License v2
30 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild,v 1.23 2014/11/08 20:22:26 ottxor Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild,v 1.24 2015/03/01 21:25:49 ottxor Exp $
32
33 EAPI=5
34
35 @@ -36,8 +36,6 @@
36 RDEPEND="|| ( media-sound/pulseaudio media-libs/alsa-lib )
37 dev-libs/expat
38 dev-libs/glib:2
39 - dev-libs/nspr
40 - dev-libs/nss
41 sys-libs/glibc
42 x11-libs/cairo
43 x11-libs/gdk-pixbuf
44
45
46
47 1.2 www-plugins/google-talkplugin/google-talkplugin-5.38.6.0.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.38.6.0.ebuild?rev=1.2&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.38.6.0.ebuild?rev=1.2&content-type=text/plain
51 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.38.6.0.ebuild?r1=1.1&r2=1.2
52
53 Index: google-talkplugin-5.38.6.0.ebuild
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.38.6.0.ebuild,v
56 retrieving revision 1.1
57 retrieving revision 1.2
58 diff -u -r1.1 -r1.2
59 --- google-talkplugin-5.38.6.0.ebuild 1 Dec 2014 16:25:07 -0000 1.1
60 +++ google-talkplugin-5.38.6.0.ebuild 1 Mar 2015 21:25:49 -0000 1.2
61 @@ -1,6 +1,6 @@
62 -# Copyright 1999-2014 Gentoo Foundation
63 +# Copyright 1999-2015 Gentoo Foundation
64 # Distributed under the terms of the GNU General Public License v2
65 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.38.6.0.ebuild,v 1.1 2014/12/01 16:25:07 ottxor Exp $
66 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.38.6.0.ebuild,v 1.2 2015/03/01 21:25:49 ottxor Exp $
67
68 EAPI=5
69
70 @@ -30,7 +30,7 @@
71 #GoogleTalkPlugin binary contains openssl and celt
72 LICENSE="Google-TOS openssl BSD"
73
74 -OBSOLETE="no"
75 +OBSOLETE="yes"
76 [[ $OBSOLETE = yes ]] && RESTRICT="fetch strip" || RESTRICT="strip mirror"
77
78 RDEPEND="|| ( media-sound/pulseaudio media-libs/alsa-lib )
79
80
81
82 1.86 www-plugins/google-talkplugin/ChangeLog
83
84 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?rev=1.86&view=markup
85 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?rev=1.86&content-type=text/plain
86 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?r1=1.85&r2=1.86
87
88 Index: ChangeLog
89 ===================================================================
90 RCS file: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v
91 retrieving revision 1.85
92 retrieving revision 1.86
93 diff -u -r1.85 -r1.86
94 --- ChangeLog 1 Dec 2014 16:25:07 -0000 1.85
95 +++ ChangeLog 1 Mar 2015 21:25:49 -0000 1.86
96 @@ -1,6 +1,13 @@
97 # ChangeLog for www-plugins/google-talkplugin
98 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
99 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v 1.85 2014/12/01 16:25:07 ottxor Exp $
100 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
101 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v 1.86 2015/03/01 21:25:49 ottxor Exp $
102 +
103 +*google-talkplugin-5.40.2.0 (01 Mar 2015)
104 +
105 + 01 Mar 2015; Christoph Junghans <ottxor@g.o>
106 + +google-talkplugin-5.40.2.0.ebuild, google-talkplugin-5.38.6.0.ebuild,
107 + google-talkplugin-9999.ebuild:
108 + version bump
109
110 *google-talkplugin-5.38.6.0 (01 Dec 2014)
111
112
113
114
115 1.1 www-plugins/google-talkplugin/google-talkplugin-5.40.2.0.ebuild
116
117 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.40.2.0.ebuild?rev=1.1&view=markup
118 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.40.2.0.ebuild?rev=1.1&content-type=text/plain
119
120 Index: google-talkplugin-5.40.2.0.ebuild
121 ===================================================================
122 # Copyright 1999-2015 Gentoo Foundation
123 # Distributed under the terms of the GNU General Public License v2
124 # $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-5.40.2.0.ebuild,v 1.1 2015/03/01 21:25:49 ottxor Exp $
125
126 EAPI=5
127
128 inherit eutils multilib nsplugins unpacker
129
130 if [ "${PV}" != "9999" ]; then
131 DEB_PATCH="1"
132 #http://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-i386/Packages
133 MY_URL="http://dl.google.com/linux/talkplugin/deb/pool/main/${P:0:1}/${PN}"
134 MY_PKG="${PN}_${PV}-${DEB_PATCH}_i386.deb"
135 SRC_URI="x86? ( ${MY_URL}/${MY_PKG} )
136 amd64? ( ${MY_URL}/${MY_PKG/i386/amd64} )"
137 KEYWORDS="-* ~amd64 ~x86"
138 else
139 inherit cvs #hack to make it part of @live-rebuild
140 MY_URL="http://dl.google.com/linux/direct"
141 MY_PKG="${PN}_current_i386.deb"
142 SRC_URI=""
143 fi
144
145 DESCRIPTION="Video chat browser plug-in for Google Talk"
146
147 HOMEPAGE="http://www.google.com/chat/video"
148 IUSE="libnotify selinux"
149 SLOT="0"
150
151 #GoogleTalkPlugin binary contains openssl and celt
152 LICENSE="Google-TOS openssl BSD"
153
154 OBSOLETE="no"
155 [[ $OBSOLETE = yes ]] && RESTRICT="fetch strip" || RESTRICT="strip mirror"
156
157 RDEPEND="|| ( media-sound/pulseaudio media-libs/alsa-lib )
158 dev-libs/expat
159 dev-libs/glib:2
160 sys-libs/glibc
161 x11-libs/cairo
162 x11-libs/gdk-pixbuf
163 x11-libs/gtk+:2
164 x11-libs/libX11
165 x11-libs/libXcomposite
166 x11-libs/libXext
167 x11-libs/libXfixes
168 x11-libs/libXrandr
169 x11-libs/libXrender
170 x11-libs/pango
171 sys-apps/lsb-release
172 selinux? ( sec-policy/selinux-googletalk )
173 libnotify? ( x11-libs/libnotify )"
174
175 DEPEND=""
176
177 INSTALL_BASE="opt/google/talkplugin"
178
179 QA_PREBUILT="${INSTALL_BASE}/*"
180
181 S="${WORKDIR}"
182
183 LANGS="ar cs en et fr hu lt ms pl ru sv tl vi bg da fa gu id ja lv nl
184 sk ta tr bn de es fi hi is kn ml no sl te uk ca el fil hr it ko mr or
185 ro sr th ur"
186
187 for X in ${LANGS} ; do
188 IUSE="${IUSE} linguas_${X}"
189 done
190
191 # nofetch means upstream bumped and thus needs version bump
192 pkg_nofetch() {
193 if [[ ${OBSOLETE} = yes ]]; then
194 elog "This version is no longer available from Google and the license prevents mirroring."
195 elog "This ebuild is intended for users who already downloaded it previously and have problems"
196 elog "with ${PV}+. If you can get the distfile from e.g. another computer of yours, or search"
197 use amd64 && MY_PKG="${MY_PKG/i386/amd64}"
198 elog "it with google: http://www.google.com/search?q=intitle:%22index+of%22+${MY_PKG}"
199 elog "and copy the file ${MY_PKG} to ${DISTDIR}."
200 else
201 einfo "This version is no longer available from Google."
202 einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump."
203 einfo "Please file a version bump bug on http://bugs.gentoo.org (search existing bugs for ${PN} first!)."
204 fi
205 }
206
207 src_unpack() {
208 local pkg="${A:=${MY_PKG}}"
209 if [ "${PV}" = "9999" ]; then
210 use amd64 && pkg="${pkg/i386/amd64}"
211 einfo "Fetching ${pkg}"
212 wget "${MY_URL}/${pkg}" || die
213 fi
214 unpacker ${pkg}
215 }
216
217 src_install() {
218 local plugindir i l
219 local ppapi_plugindirs=( /opt/google/chrome{,-beta,-unstable}/pepper
220 /usr/$(get_libdir)/chromium-browser/pepper )
221
222 unpacker usr/share/doc/google-talkplugin/changelog.Debian.gz
223 dodoc changelog.Debian
224
225 exeinto "/${INSTALL_BASE}"
226 doexe "${INSTALL_BASE}"/GoogleTalkPlugin
227 for i in "${INSTALL_BASE}"/lib*.so; do
228 doexe "${i}"
229 [[ ${i##*/} = libnp* ]] && inst_plugin "/${i}"
230 if [[ ${i##*/} = libpp* ]] ; then
231 for plugindir in "${ppapi_plugindirs[@]}"; do
232 dosym "/${i}" "${plugindir}/${i##*/}"
233 done
234 fi
235 done
236
237 #install screen-sharing stuff - bug #397463
238 insinto "/${INSTALL_BASE}"
239 doins "${INSTALL_BASE}"/windowpicker.glade
240 doins "${INSTALL_BASE}"/remoting24x24.png
241 doins -r "${INSTALL_BASE}"/data
242
243 strip-linguas ${LANGS}
244 for l in ${LINGUAS}; do
245 insinto "/${INSTALL_BASE}"/locale/$l/LC_MESSAGES/
246 doins "${INSTALL_BASE}"/locale/$l/LC_MESSAGES/windowpicker.mo
247 done
248 }