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