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.3.0.ebuild
Date: Mon, 31 Jan 2011 21:24:01
Message-Id: 20110131212346.4D9DB20054@flycatcher.gentoo.org
1 ssuominen 11/01/31 21:23:46
2
3 Modified: ChangeLog
4 Added: midori-0.3.0.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.48 www-client/midori/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/ChangeLog?rev=1.48&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/ChangeLog?rev=1.48&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/ChangeLog?r1=1.47&r2=1.48
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-client/midori/ChangeLog,v
20 retrieving revision 1.47
21 retrieving revision 1.48
22 diff -u -r1.47 -r1.48
23 --- ChangeLog 30 Jan 2011 21:19:32 -0000 1.47
24 +++ ChangeLog 31 Jan 2011 21:23:46 -0000 1.48
25 @@ -1,6 +1,11 @@
26 # ChangeLog for www-client/midori
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-client/midori/ChangeLog,v 1.47 2011/01/30 21:19:32 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-client/midori/ChangeLog,v 1.48 2011/01/31 21:23:46 ssuominen Exp $
30 +
31 +*midori-0.3.0 (31 Jan 2011)
32 +
33 + 31 Jan 2011; Samuli Suominen <ssuominen@g.o> +midori-0.3.0.ebuild:
34 + Version bump.
35
36 30 Jan 2011; Samuli Suominen <ssuominen@g.o> midori-0.2.9-r1.ebuild,
37 +files/midori-0.2.9-libnotify-0.7.patch:
38
39
40
41 1.1 www-client/midori/midori-0.3.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/midori-0.3.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/midori-0.3.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: midori-0.3.0.ebuild
47 ===================================================================
48 # Copyright 1999-2011 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.3.0.ebuild,v 1.1 2011/01/31 21:23:46 ssuominen Exp $
51
52 EAPI=2
53 inherit eutils multilib python xfconf
54
55 DESCRIPTION="A lightweight web browser based on WebKitGTK+"
56 HOMEPAGE="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
57 SRC_URI="mirror://xfce/src/apps/${PN}/0.3/${P}.tar.bz2"
58
59 LICENSE="LGPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd"
62 IUSE="doc gnome +html idn libnotify nls +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-db/sqlite-3.0
68 dev-libs/libxml2
69 >=x11-libs/gtk+-2.10:2
70 gnome? ( net-libs/libsoup-gnome )
71 idn? ( net-dns/libidn )
72 unique? ( dev-libs/libunique )"
73 DEPEND="${RDEPEND}
74 || ( dev-lang/python:2.7 dev-lang/python:2.6 )
75 dev-util/intltool
76 dev-util/pkgconfig
77 doc? ( dev-util/gtk-doc )
78 html? ( dev-python/docutils )
79 nls? ( sys-devel/gettext )"
80
81 pkg_setup() {
82 python_set_active_version 2
83 }
84
85 src_configure() {
86 strip-linguas -i po
87
88 CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" ./waf \
89 --prefix="/usr/" \
90 --libdir="/usr/$(get_libdir)" \
91 --docdir="/usr/share/doc/${PF}/html" \
92 --disable-docs \
93 --enable-addons \
94 $(use_enable doc apidocs) \
95 $(use_enable html userdocs) \
96 $(use_enable idn libidn) \
97 $(use_enable libnotify) \
98 $(use_enable nls) \
99 $(use_enable unique) \
100 --disable-vala \
101 configure || die
102 }
103
104 src_compile() {
105 # This is from dev-libs/boost, keep it synced
106 jobs=$( echo " ${MAKEOPTS} " | \
107 sed -e 's/ --jobs[= ]/ -j /g' \
108 -e 's/ -j \([1-9][0-9]*\)/ -j\1/g' \
109 -e 's/ -j\>/ -j1/g' | \
110 ( while read -d ' ' j ; do if [[ "${j#-j}" = "$j" ]]; then continue; fi;
111 jobs="${j#-j}"; done; echo ${jobs} ) )
112 if [[ "${jobs}" != "" ]]; then NUMJOBS="-j"${jobs}; fi;
113
114 ./waf build ${NUMJOBS} || die
115 }
116
117 src_install() {
118 DESTDIR=${D} ./waf install || die
119 dodoc AUTHORS ChangeLog INSTALL TODO || die
120 }
121
122 pkg_postinst() {
123 xfconf_pkg_postinst
124 ewarn "Midori tends to crash due to bugs in WebKit."
125 ewarn "Report bugs at http://www.twotoasts.de/bugs"
126 }