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