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