Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-plugins/google-talkplugin: ChangeLog google-talkplugin-3.10.2.0.ebuild
Date: Sat, 03 Nov 2012 17:20:54
Message-Id: 20121103172034.53E89215F3@flycatcher.gentoo.org
1 jer 12/11/03 17:20:34
2
3 Modified: ChangeLog
4 Added: google-talkplugin-3.10.2.0.ebuild
5 Log:
6 Version bump by Seong-ho, Cho (bug #441574).
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key A792A613)
9
10 Revision Changes Path
11 1.36 www-plugins/google-talkplugin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?rev=1.36&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?rev=1.36&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?r1=1.35&r2=1.36
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v
20 retrieving revision 1.35
21 retrieving revision 1.36
22 diff -u -r1.35 -r1.36
23 --- ChangeLog 13 Oct 2012 16:49:08 -0000 1.35
24 +++ ChangeLog 3 Nov 2012 17:20:34 -0000 1.36
25 @@ -1,6 +1,12 @@
26 # ChangeLog for www-plugins/google-talkplugin
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v 1.35 2012/10/13 16:49:08 ottxor Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v 1.36 2012/11/03 17:20:34 jer Exp $
30 +
31 +*google-talkplugin-3.10.2.0 (03 Nov 2012)
32 +
33 + 03 Nov 2012; Jeroen Roovers <jer@g.o>
34 + +google-talkplugin-3.10.2.0.ebuild:
35 + Version bump by Seong-ho, Cho (bug #441574).
36
37 *google-talkplugin-3.9.1.0 (13 Oct 2012)
38
39
40
41
42 1.1 www-plugins/google-talkplugin/google-talkplugin-3.10.2.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-3.10.2.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-3.10.2.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: google-talkplugin-3.10.2.0.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-3.10.2.0.ebuild,v 1.1 2012/11/03 17:20:34 jer Exp $
52
53 EAPI=4
54
55 inherit eutils nsplugins unpacker
56
57 if [ "${PV}" != "9999" ]; then
58 DEB_PATCH="1"
59 #http://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-i386/Packages
60 MY_URL="http://dl.google.com/linux/talkplugin/deb/pool/main/${P:0:1}/${PN}"
61 MY_PKG="${PN}_${PV}-${DEB_PATCH}_i386.deb"
62 SRC_URI="x86? ( ${MY_URL}/${MY_PKG} )
63 amd64? ( ${MY_URL}/${MY_PKG/i386/amd64} )"
64 else
65 MY_URL="http://dl.google.com/linux/direct"
66 MY_PKG="${PN}_current_i386.deb"
67 SRC_URI=""
68 fi
69
70 DESCRIPTION="Video chat browser plug-in for Google Talk"
71
72 HOMEPAGE="http://www.google.com/chat/video"
73 IUSE="libnotify +system-libCg video_cards_fglrx video_cards_radeon"
74 SLOT="0"
75
76 KEYWORDS="-* ~amd64 ~x86"
77 #GoogleTalkPlugin binary contains openssl
78 LICENSE="google-talkplugin openssl"
79 RESTRICT="strip mirror"
80
81 RDEPEND="|| ( media-sound/pulseaudio media-libs/alsa-lib )
82 dev-libs/glib:2
83 system-libCg? ( media-gfx/nvidia-cg-toolkit )
84 media-libs/fontconfig
85 media-libs/freetype:2
86 media-libs/libpng:1.2
87 sys-libs/glibc
88 x11-libs/cairo
89 x11-libs/gdk-pixbuf
90 x11-libs/gtk+:2
91 x11-libs/libX11
92 x11-libs/libXcomposite
93 x11-libs/libXfixes
94 x11-libs/libXrandr
95 x11-libs/libXrender
96 x11-libs/libXt
97 x11-libs/pango
98 sys-apps/lsb-release
99 virtual/opengl
100 libnotify? ( x11-libs/libnotify )"
101
102 DEPEND=""
103
104 INSTALL_BASE="opt/google/talkplugin"
105
106 QA_EXECSTACK="${INSTALL_BASE}/GoogleTalkPlugin"
107
108 QA_TEXTRELS="${INSTALL_BASE}/libnpg*.so"
109
110 QA_FLAGS_IGNORED="${INSTALL_BASE}/libnpg.*so
111 ${INSTALL_BASE}/lib/libCg.*so
112 ${INSTALL_BASE}/GoogleTalkPlugin"
113
114 S="${WORKDIR}"
115
116 LANGS="ar cs en et fr hu lt ms pl ru sv tl vi bg da fa gu id ja lv nl
117 sk ta tr bn de es fi hi is kn ml no sl te uk ca el fil hr it ko mr or
118 ro sr th ur"
119
120 for X in ${LANGS} ; do
121 IUSE="${IUSE} linguas_${X}"
122 done
123
124 # nofetch means upstream bumped and thus needs version bump
125 pkg_nofetch() {
126 einfo "This version is no longer available from Google."
127 einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump."
128 einfo "Please file a version bump bug on http://bugs.gentoo.org (search existing bugs for ${PN} first!)."
129 }
130
131 src_unpack() {
132 local pkg="${A:=${MY_PKG}}"
133 if [ "${PV}" = "9999" ]; then
134 use amd64 && pkg="${pkg/i386/amd64}"
135 einfo "Fetching ${pkg}"
136 wget "${MY_URL}/${pkg}" || die
137 fi
138 unpacker ${pkg}
139 }
140
141 src_install() {
142 unpacker usr/share/doc/google-talkplugin/changelog.Debian.gz
143 dodoc changelog.Debian
144
145 exeinto "/${INSTALL_BASE}"
146 doexe "${INSTALL_BASE}"/GoogleTalkPlugin
147 for i in "${INSTALL_BASE}"/libnpg*.so; do
148 doexe "${i}"
149 inst_plugin "/${i}"
150 done
151
152 #install screen-sharing stuff - bug #397463
153 insinto "/${INSTALL_BASE}"
154 doins "${INSTALL_BASE}"/windowpicker.glade
155
156 strip-linguas ${LANGS}
157 for l in ${LINGUAS}; do
158 insinto "/${INSTALL_BASE}"/locale/$l/LC_MESSAGES/
159 doins "${INSTALL_BASE}"/locale/$l/LC_MESSAGES/windowpicker.mo
160 done
161
162 #install bundled libCg
163 if use video_cards_radeon || use video_cards_fglrx; then
164 #hack from #402401
165 exeinto "/${INSTALL_BASE}"/lib
166 doexe "${INSTALL_BASE}"/lib/libCg*.so
167 if use system-libCg; then
168 ewarn "There seems to be a problem with ati cards and USE='-system-libCG,"
169 ewarn "so we install the bundled version of libCG anyway. (bug #402401)"
170 fi
171 echo "O3D_OVERRIDE_RENDER_MODE=2D" > "${ED}/opt/google/talkplugin/envvars"
172 ewarn "We have set O3D_OVERRIDE_RENDER_MODE=2D in ${EROOT}opt/google/talkplugin/envvars"
173 ewarn "please report your experience, good or bad, with this workaround on bug #402401"
174 elif ! use system-libCg; then
175 exeinto "/${INSTALL_BASE}"/lib
176 doexe "${INSTALL_BASE}"/lib/libCg*.so
177 fi
178 }