Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/google-gadgets: ChangeLog google-gadgets-0.11.2.ebuild
Date: Wed, 27 Jan 2010 15:01:19
Message-Id: E1Na9ON-0007DT-JZ@stork.gentoo.org
1 voyageur 10/01/27 15:01:15
2
3 Modified: ChangeLog
4 Added: google-gadgets-0.11.2.ebuild
5 Log:
6 Version bump, includes previous patches for gtk+-2.19 and xulrunner 1.9.2, among other fixes
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.31 x11-misc/google-gadgets/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/google-gadgets/ChangeLog?rev=1.31&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/google-gadgets/ChangeLog?rev=1.31&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/google-gadgets/ChangeLog?r1=1.30&r2=1.31
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/ChangeLog,v
19 retrieving revision 1.30
20 retrieving revision 1.31
21 diff -u -r1.30 -r1.31
22 --- ChangeLog 27 Jan 2010 12:44:22 -0000 1.30
23 +++ ChangeLog 27 Jan 2010 15:01:14 -0000 1.31
24 @@ -1,6 +1,13 @@
25 # ChangeLog for x11-misc/google-gadgets
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/ChangeLog,v 1.30 2010/01/27 12:44:22 voyageur Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/ChangeLog,v 1.31 2010/01/27 15:01:14 voyageur Exp $
29 +
30 +*google-gadgets-0.11.2 (27 Jan 2010)
31 +
32 + 27 Jan 2010; Bernard Cafarelli <voyageur@g.o>
33 + +google-gadgets-0.11.2.ebuild:
34 + Version bump, includes previous patches for gtk+-2.19 and xulrunner 1.9.2,
35 + among other fixes
36
37 27 Jan 2010; Bernard Cafarelli <voyageur@g.o>
38 google-gadgets-0.11.1-r1.ebuild,
39
40
41
42 1.1 x11-misc/google-gadgets/google-gadgets-0.11.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/google-gadgets/google-gadgets-0.11.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/google-gadgets/google-gadgets-0.11.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: google-gadgets-0.11.2.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/google-gadgets-0.11.2.ebuild,v 1.1 2010/01/27 15:01:14 voyageur Exp $
52
53 EAPI=2
54
55 inherit base autotools multilib eutils fdo-mime
56
57 MY_PN=${PN}-for-linux
58 MY_P=${MY_PN}-${PV}
59
60 DESCRIPTION="Cool gadgets from Google for your Desktop"
61 HOMEPAGE="http://code.google.com/p/google-gadgets-for-linux/"
62 SRC_URI="http://${MY_PN}.googlecode.com/files/${MY_P}.tar.bz2"
63
64 LICENSE="Apache-2.0"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86"
67 IUSE="+dbus debug +gtk +qt4 +gstreamer networkmanager soup startup-notification webkit +xulrunner"
68
69 # Weird things happen when we start mix-n-matching, so for the time being
70 # I've just locked the deps to the versions I had as of Summer 2008. With any
71 # luck, they'll be stable when we get to stabling this package.
72
73 RDEPEND="
74 >=dev-libs/libxml2-2.6.32
75 sys-libs/zlib
76 x11-libs/libX11
77 x11-libs/libXext
78 dbus? ( sys-apps/dbus )
79 gstreamer? (
80 >=media-libs/gstreamer-0.10.19
81 >=media-libs/gst-plugins-base-0.10.19
82 )
83 gtk? (
84 >=dev-libs/atk-1.22.0
85 gnome-base/librsvg
86 >=net-misc/curl-7.18.2
87 >=x11-libs/cairo-1.6.4
88 >=x11-libs/gtk+-2.12.10
89 >=x11-libs/pango-1.20.3
90 dbus? ( >=dev-libs/dbus-glib-0.74 )
91 )
92 networkmanager? ( net-misc/networkmanager )
93 qt4? (
94 >=x11-libs/qt-core-4.4.0
95 >=x11-libs/qt-opengl-4.4.0
96 >=x11-libs/qt-script-4.4.0
97 >=x11-libs/qt-webkit-4.4.0
98 >=x11-libs/qt-xmlpatterns-4.4.0
99 dbus? ( >=x11-libs/qt-dbus-4.4.0 )
100 )
101 soup? ( >=net-libs/libsoup-2.26 )
102 startup-notification? ( x11-libs/startup-notification )
103 webkit? ( >=net-libs/webkit-gtk-1.0.3 )
104 xulrunner? ( net-libs/xulrunner:1.9 )
105 "
106 DEPEND="${RDEPEND}
107 >=dev-util/pkgconfig-0.20
108 "
109
110 S="${WORKDIR}/${MY_P}"
111
112 RESTRICT="test"
113
114 pkg_setup() {
115 # If a non-google, non-qt4 and non-gtk host system for google-gadgets is ever developed,
116 # I'll consider changing the error below.
117 if ! use gtk && ! use qt4; then
118 eerror "You must choose which toolkit to build for. Either qt4 or gtk can be"
119 eerror "chosen. For qt4, see also above. To enable \$toolkit, do:"
120 eerror "echo \"${CATEGORY}/${PN} \$toolkit\" >> /etc/portage/package.use"
121 die "You need to choose a toolkit"
122 fi
123
124 if ! use gstreamer; then
125 ewarn "Disabling gstreamer disables the multimedia functions of ${PN}."
126 ewarn "This is not recommended. To enable gstreamer, do:"
127 ewarn "echo \"${CATEGORY}/${PN} gstreamer\" >> /etc/portage/package.use"
128 fi
129 }
130
131 src_prepare() {
132 sed -i -r \
133 -e '/^GGL_SYSDEPS_INCLUDE_DIR/ c\GGL_SYSDEPS_INCLUDE_DIR=$GGL_INCLUDE_DIR' \
134 configure.ac||die "404"
135 eautoreconf
136 }
137
138 src_configure() {
139 local myconf="--disable-dependency-tracking \
140 --disable-update-desktop-database \
141 --disable-update-mime-database \
142 --disable-werror \
143 --enable-libxml2-xml-parser \
144 --with-browser-plugins-dir=/usr/$(get_libdir)/nsbrowser/plugins \
145 --with-ssl-ca-file=/etc/ssl/certs/ca-certificates.crt \
146 --with-oem-brand=Gentoo \
147 $(use_enable debug) \
148 $(use_enable dbus libggadget-dbus) \
149 $(use_enable gstreamer gst-audio-framework) \
150 $(use_enable gstreamer gst-video-element) \
151 $(use_enable soup soup-xml-http-request) \
152 $(use_enable webkit webkit-script-runtime) \
153 $(use_enable webkit gtkwebkit-browser-element) \
154 $(use_enable gtk gtk-host) \
155 $(use_enable gtk libggadget-gtk ) \
156 $(use_enable gtk gtk-edit-element) \
157 $(use_enable gtk gtk-flash-element) \
158 $(use_enable gtk gtk-system-framework) \
159 $(use_enable gtk curl_xml_http_request) \
160 $(use_enable qt4 qt-host) \
161 $(use_enable qt4 libggadget-qt) \
162 $(use_enable qt4 qt-edit-framework) \
163 $(use_enable qt4 qt-system-framework) \
164 $(use_enable qt4 qtwebkit-browser-element) \
165 $(use_enable qt4 qt-xml-http-request) \
166 $(use_enable qt4 qt-script-runtime)"
167 if use xulrunner; then
168 myconf="${myconf} \
169 $(use_enable gtk gtkmoz-browser-element) \
170 --with-gtkmozembed=libxul \
171 --enable-smjs-script-runtime \
172 --with-smjs-cppflags=-I/usr/include/nspr \
173 --with-smjs-libdir=/usr/$(get_libdir)/xulrunner-1.9 \
174 --with-smjs-incdir=/usr/include/xulrunner-1.9/unstable"
175 else
176 myconf="${myconf} --disable-gtkmoz-browser-element"
177 fi
178
179 econf ${myconf}
180 }
181
182 src_test() {
183 #If someone wants to guarantee that emake will not make
184 #tests fail promiscuosly, please do, otherwise we're using make.
185 make check &> "${WORKDIR}"/check
186 }
187
188 src_install() {
189 base_src_install
190 dodoc ChangeLog README
191 }
192
193 pkg_postinst() {
194 fdo-mime_desktop_database_update
195 fdo-mime_mime_database_update
196 }