Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/midori: ChangeLog midori-0.2.0.ebuild
Date: Wed, 28 Oct 2009 13:44:13
Message-Id: E1N38os-0002Kg-O0@stork.gentoo.org
1 ssuominen 09/10/28 13:44:10
2
3 Modified: ChangeLog
4 Added: midori-0.2.0.ebuild
5 Log:
6 Version bump (missing libsoup >= 2.27.90 for full functionality) wrt #290599, thanks to Jan Aniŝĉuk for reporting.
7 (Portage version: 2.2_rc46/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.20 www-client/midori/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/midori/ChangeLog?rev=1.20&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/midori/ChangeLog?rev=1.20&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/midori/ChangeLog?r1=1.19&r2=1.20
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-client/midori/ChangeLog,v
19 retrieving revision 1.19
20 retrieving revision 1.20
21 diff -u -r1.19 -r1.20
22 --- ChangeLog 14 Sep 2009 16:12:14 -0000 1.19
23 +++ ChangeLog 28 Oct 2009 13:44:10 -0000 1.20
24 @@ -1,6 +1,12 @@
25 # ChangeLog for www-client/midori
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-client/midori/ChangeLog,v 1.19 2009/09/14 16:12:14 tove Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-client/midori/ChangeLog,v 1.20 2009/10/28 13:44:10 ssuominen Exp $
29 +
30 +*midori-0.2.0 (28 Oct 2009)
31 +
32 + 28 Oct 2009; Samuli Suominen <ssuominen@g.o> +midori-0.2.0.ebuild:
33 + Version bump (missing libsoup >= 2.27.90 for full functionality) wrt
34 + #290599, thanks to Jan Aniŝĉuk for reporting.
35
36 14 Sep 2009; Jeremy Olexa <darkside@g.o> midori-9999.ebuild:
37 modified -9999 ebuild to match 0.1.10 (improvements in build quality and
38
39
40
41 1.1 www-client/midori/midori-0.2.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/midori/midori-0.2.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/midori/midori-0.2.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: midori-0.2.0.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/www-client/midori/midori-0.2.0.ebuild,v 1.1 2009/10/28 13:44:10 ssuominen Exp $
51
52 EAPI=2
53 inherit xfconf multilib
54
55 DESCRIPTION="A lightweight web browser"
56 HOMEPAGE="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
57 SRC_URI="http://archive.xfce.org/src/apps/${PN}/0.2/${P}.tar.bz2"
58
59 LICENSE="LGPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
62 IUSE="doc gnome html idn libnotify nls +sqlite +unique"
63
64 RDEPEND="libnotify? ( x11-libs/libnotify )
65 >=net-libs/libsoup-2.25.2
66 >=net-libs/webkit-gtk-1.1.1
67 dev-libs/libxml2
68 >=x11-libs/gtk+-2.10:2
69 gnome? ( net-libs/libsoup[gnome] )
70 idn? ( net-dns/libidn )
71 sqlite? ( >=dev-db/sqlite-3.0 )
72 unique? ( dev-libs/libunique )"
73
74 DEPEND="${RDEPEND}
75 dev-lang/python
76 dev-util/pkgconfig
77 doc? ( dev-util/gtk-doc )
78 html? ( dev-python/docutils )
79 nls? ( sys-devel/gettext )"
80
81 src_prepare() {
82 # moving docs to version-specific directory
83 sed -i -e "s:\${DOCDIR}/${PN}:\${DOCDIR}/${PF}/:g" wscript
84 sed -i -e "s:/${PN}/user/midori.html:/${PF}/user/midori.html:g" midori/midori-browser.c
85 }
86
87 src_configure() {
88 CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" ./waf \
89 --prefix="/usr/" \
90 --libdir="/usr/$(get_libdir)" \
91 --disable-docs \
92 $(use_enable doc apidocs) \
93 $(use_enable html userdocs) \
94 $(use_enable idn libidn) \
95 $(use_enable nls nls) \
96 $(use_enable sqlite) \
97 $(use_enable unique) \
98 configure || die "configure failed"
99 }
100
101 src_compile() {
102 NUMJOBS=$(sed -e 's/.*\(\-j[ 0-9]\+\) .*/\1/; s/--jobs=\?/-j/' <<< ${MAKEOPTS})
103 ./waf build ${NUMJOBS} || die "build failed"
104 }
105
106 src_install() {
107 DESTDIR=${D} ./waf install || die "install failed"
108 rm -r ${D}/usr/share/doc/${PN}
109 dodoc AUTHORS ChangeLog INSTALL TODO || die "dodoc failed"
110 }
111
112 pkg_postinst() {
113 xfconf_pkg_postinst
114 ewarn "Midori tends to crash due to bugs in WebKit."
115 ewarn "Report bugs at http://www.twotoasts.de/bugs"
116 }