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