new dep spec
[pippings-exhereses.git] / packages / net-www / midori / midori.exlib
blobd350b29a0a060a1d587cb923ec84adcf53ae92a4
1 # Copyright 2009 Elias Pipping <elias@pipping.org>
2 # Distributed under the terms of the GNU General Public License v2
4 require waf
6 SUMMARY="A lightweight, webkit-based web browser"
7 DESCRIPTION="
8 An upcoming web browser, not yet ready for productive use.
9 Based on WebKit and GTK+.
12 HOMEPAGE="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
13 UPSTREAM_CHANGELOG="http://git.xfce.org/kalikiana/midori/log"
15 LICENCES="LGPL-2"
16 MYOPTIONS="doc nls sqlite"
18 DEPENDENCIES="
19     build+run:
20         dev-libs/glib:2[>=2.16.0]
21         x11-libs/gtk+:2[>=2.10.0]
22         net-libs/webkit-gtk:1[>=1.1.1]
23         gnome-desktop/libsoup:2.4[>=2.25.2]
24         dev-libs/libxml2[>=2.6]
25         net-dns/libidn
26         dev-libs/unique:1
27         nls? ( sys-devel/gettext )
28         sqlite? ( dev-db/sqlite:3 )
29     build:
30         doc? ( dev-python/docutils dev-doc/gtk-doc )
33 WAF_SRC_CONFIGURE_HTMLDIR=""
35 WAF_SRC_CONFIGURE_PARAMS=(
36     --disable-hildon
37     --enable-libidn
38     --enable-unique
40 WAF_SRC_CONFIGURE_OPTION_ENABLES=(
41     'doc userdocs'
42     'doc apidocs'
43     nls sqlite
46 src_compile() {
47     # hangs at
48     #   [41/50] cc: extensions/page-holder.c
49     # otherwise (hard to repruduce, impossible to explain)
50     export SANDBOX_ON=0
52     waf_src_compile