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.0.6.0.ebuild
Date: Wed, 27 Apr 2011 17:38:54
Message-Id: 20110427173513.8380120054@flycatcher.gentoo.org
1 ottxor 11/04/27 17:35:13
2
3 Modified: ChangeLog
4 Added: google-talkplugin-2.0.6.0.ebuild
5 Log:
6 [www-plugins/google-talkplugin] version bump
7
8 (Portage version: 2.1.9.42/cvs/Linux i686)
9
10 Revision Changes Path
11 1.6 www-plugins/google-talkplugin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 9 Apr 2011 21:17:30 -0000 1.5
24 +++ ChangeLog 27 Apr 2011 17:35:13 -0000 1.6
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.5 2011/04/09 21:17:30 angelos Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/ChangeLog,v 1.6 2011/04/27 17:35:13 ottxor Exp $
30 +
31 +*google-talkplugin-2.0.6.0 (27 Apr 2011)
32 +
33 + 27 Apr 2011; Christoph Junghans <ottxor@g.o>
34 + +google-talkplugin-2.0.6.0.ebuild:
35 + version bump
36
37 09 Apr 2011; Christoph Mende <angelos@g.o>
38 google-talkplugin-1.8.0.0.ebuild:
39
40
41
42 1.1 www-plugins/google-talkplugin/google-talkplugin-2.0.6.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-2.0.6.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-2.0.6.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: google-talkplugin-2.0.6.0.ebuild
48 ===================================================================
49 # Copyright 1999-2011 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-2.0.6.0.ebuild,v 1.1 2011/04/27 17:35:13 ottxor Exp $
52
53 EAPI=3
54
55 inherit nsplugins
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 else
63 MY_URL="http://dl.google.com/linux/direct"
64 MY_PKG="${PN}_current_i386.deb"
65 fi
66
67 DESCRIPTION="Video chat browser plug-in for Google Talk"
68 SRC_URI="x86? ( ${MY_URL}/${MY_PKG} )
69 amd64? ( ${MY_URL}/${MY_PKG/i386/amd64} )"
70
71 HOMEPAGE="http://www.google.com/chat/video"
72 IUSE="+system-libCg"
73 SLOT="0"
74
75 KEYWORDS="-* ~amd64 ~x86"
76 #GoogleTalkPlugin binary contains openssl
77 LICENSE="google-talkplugin openssl"
78 RESTRICT="strip mirror"
79
80 #to get these run:
81 #for i in $(scanelf -n /opt/google/talkplugin/* | awk '/^ET/{gsub(/,/,"\n",$2);print $2}' | sort -u)
82 #do
83 # find /lib /usr/lib -maxdepth 1 -name $i -exec qfile -S {} \;
84 #done | awk '{print $1}' | sort -u
85 #also see debian control file
86 NATIVE_DEPS="|| ( media-sound/pulseaudio media-libs/alsa-lib )
87 dev-libs/glib:2
88 system-libCg? ( media-gfx/nvidia-cg-toolkit )
89 media-libs/fontconfig
90 media-libs/freetype:2
91 media-libs/libpng:1.2
92 >=sys-libs/glibc-2.4
93 x11-libs/cairo
94 x11-libs/gdk-pixbuf
95 x11-libs/gtk+:2
96 x11-libs/libX11
97 x11-libs/libXcomposite
98 x11-libs/libXfixes
99 x11-libs/libXrender
100 x11-libs/libXt
101 sys-apps/lsb-release
102 virtual/opengl"
103
104 DEPEND=""
105
106 EMUL_DEPS=">=app-emulation/emul-linux-x86-baselibs-20100220
107 app-emulation/emul-linux-x86-gtklibs
108 app-emulation/emul-linux-x86-soundlibs
109 app-emulation/emul-linux-x86-xlibs"
110
111 #amd64 always needs EMUL_DEPS GoogleTalkPlugin is always a 32-bit binary
112 RDEPEND="x86? ( ${NATIVE_DEPS} )
113 amd64? ( ${NATIVE_DEPS} ${EMUL_DEPS} )"
114
115 INSTALL_BASE="/opt/google/talkplugin"
116
117 [ "${ARCH}" = "amd64" ] && SO_SUFFIX="64" || SO_SUFFIX=""
118
119 QA_EXECSTACK="${INSTALL_BASE#/}/GoogleTalkPlugin"
120
121 QA_TEXTRELS="${INSTALL_BASE#/}/libnpgtpo3dautoplugin.so
122 ${INSTALL_BASE#/}/libnpgoogletalk${SO_SUFFIX}.so"
123
124 QA_DT_HASH="${INSTALL_BASE#/}/libnpgtpo3dautoplugin.so
125 ${INSTALL_BASE#/}/libnpgoogletalk${SO_SUFFIX}.so
126 ${INSTALL_BASE#/}/GoogleTalkPlugin"
127
128 # nofetch means upstream bumped and thus needs version bump
129 pkg_nofetch() {
130 einfo "This version is no longer available from Google."
131 einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump."
132 einfo "Please file a version bump bug on http://bugs.gentoo.org (search existing bugs for ${PN} first!)."
133 }
134
135 src_unpack() {
136 unpack ${A} ./data.tar.gz ./usr/share/doc/google-talkplugin/changelog.Debian.gz || die
137 }
138
139 src_install() {
140 dodoc ./usr/share/doc/google-talkplugin/changelog.Debian
141
142 cd "./${INSTALL_BASE#/}" || die
143 exeinto "${INSTALL_BASE}" || die
144 doexe GoogleTalkPlugin libnpgtpo3dautoplugin.so libnpgoogletalk"${SO_SUFFIX}".so || die
145 inst_plugin "${INSTALL_BASE}"/libnpgtpo3dautoplugin.so || die
146 inst_plugin "${INSTALL_BASE}"/libnpgoogletalk"${SO_SUFFIX}".so || die
147
148 #install bundled libCg
149 if ! use system-libCg; then
150 cd lib || die
151 exeinto "${INSTALL_BASE}/lib" || die
152 doexe *.so || die
153 fi
154 }