1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 inherit eutils gnome2 virtualx
11 DESCRIPTION="GNOME webbrowser based on Webkit"
12 HOMEPAGE="https://wiki.gnome.org/Apps/Web"
17 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
21 >=app-crypt/libsecret-0.14
22 >=app-text/iso-codes-0.35
23 >=dev-libs/glib-2.38:2[dbus]
24 >=dev-libs/libxml2-2.6.12:2
25 >=dev-libs/libxslt-1.1.7
26 >=gnome-base/gsettings-desktop-schemas-0.0.1
27 >=net-dns/avahi-0.6.22[dbus]
28 >=net-libs/webkit-gtk-2.9.5:4
29 >=net-libs/libsoup-2.48:2.4
30 >=x11-libs/gtk+-3.13:3
31 >=x11-libs/libnotify-0.5.1:=
32 gnome-base/gnome-desktop:3=
40 # epiphany-extensions support was removed in 3.7; let's not pretend it still works
41 RDEPEND="${COMMON_DEPEND}
42 x11-themes/adwaita-icon-theme
43 !www-client/epiphany-extensions
45 # paxctl needed for bug #407085
46 # eautoreconf requires gnome-common-3.5.5
47 DEPEND="${COMMON_DEPEND}
49 dev-libs/appstream-glib
50 >=dev-util/intltool-0.50
59 # https://bugzilla.gnome.org/show_bug.cgi?id=751591
60 epatch "${FILESDIR}"/${PN}-3.16.0-unittest-1.patch
62 # https://bugzilla.gnome.org/show_bug.cgi?id=751593
63 epatch "${FILESDIR}"/${PN}-3.14.0-unittest-2.patch
69 gnome2_src_configure \
72 --with-distributor-name=Gentoo \
74 $(use_enable test tests)
78 # needed to avoid "Command line `dbus-launch ...' exited with non-zero exit status 1"
84 "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
87 GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check