/[gentoo-x86]/www-client/epiphany/epiphany-3.12.0.ebuild
Gentoo

Contents of /www-client/epiphany/epiphany-3.12.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Oct 28 19:42:35 2014 UTC (5 years ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Add missing DEPEND on yelp-tools (#517462 by John Bowler), drop old

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/epiphany-3.12.0.ebuild,v 1.2 2014/07/18 05:11:15 leio Exp $
4
5 EAPI="5"
6 GCONF_DEBUG="yes"
7 GNOME2_LA_PUNT="yes"
8
9 inherit autotools eutils gnome2 pax-utils versionator virtualx
10
11 DESCRIPTION="GNOME webbrowser based on Webkit"
12 HOMEPAGE="http://projects.gnome.org/epiphany/"
13
14 # TODO: coverage
15 LICENSE="GPL-2"
16 SLOT="0"
17 IUSE="+jit +nss test"
18 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
19
20 COMMON_DEPEND="
21 >=app-crypt/gcr-3.5.5
22 >=app-crypt/libsecret-0.14
23 >=app-text/iso-codes-0.35
24 >=dev-libs/glib-2.38:2
25 >=dev-libs/libxml2-2.6.12:2
26 >=dev-libs/libxslt-1.1.7
27 >=gnome-base/gsettings-desktop-schemas-0.0.1
28 >=net-dns/avahi-0.6.22[dbus]
29 >=net-libs/webkit-gtk-2.4:3[jit?]
30 >=net-libs/libsoup-2.42.1:2.4
31 >=x11-libs/gtk+-3.11.6:3
32 >=x11-libs/libnotify-0.5.1:=
33 gnome-base/gnome-desktop:3=
34
35 dev-db/sqlite:3
36 x11-libs/libwnck:3
37 x11-libs/libX11
38
39 x11-themes/gnome-icon-theme
40 x11-themes/gnome-icon-theme-symbolic
41
42 nss? ( dev-libs/nss )
43 "
44 # epiphany-extensions support was removed in 3.7; let's not pretend it still works
45 RDEPEND="${COMMON_DEPEND}
46 !www-client/epiphany-extensions
47 "
48 # paxctl needed for bug #407085
49 # eautoreconf requires gnome-common-3.5.5
50 DEPEND="${COMMON_DEPEND}
51 gnome-base/gnome-common
52 >=dev-util/intltool-0.50
53 sys-apps/paxctl
54 sys-devel/gettext
55 virtual/pkgconfig
56 "
57
58 # Tests refuse to run with the gsettings trick for some reason
59 RESTRICT="test"
60
61 src_prepare() {
62 # Fix missing symbol in webextensio.so
63 epatch "${FILESDIR}"/${P}-missing-symbol.patch
64
65 eautoreconf
66 gnome2_src_prepare
67 }
68
69 src_configure() {
70 gnome2_src_configure \
71 --enable-shared \
72 --disable-static \
73 --with-distributor-name=Gentoo \
74 $(use_enable nss) \
75 $(use_enable test tests) \
76 ITSTOOL=$(type -P true)
77 }
78
79 src_compile() {
80 # needed to avoid "Command line `dbus-launch ...' exited with non-zero exit status 1"
81 unset DISPLAY
82 gnome2_src_compile
83 }
84
85 src_test() {
86 # FIXME: this should be handled at eclass level
87 "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
88
89 unset DISPLAY
90 GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check
91 }
92
93 src_install() {
94 DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README TODO"
95 gnome2_src_install
96 use jit && pax-mark m "${ED}usr/bin/epiphany"
97 }

  ViewVC Help
Powered by ViewVC 1.1.20