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

Contents of /www-client/epiphany/epiphany-2.30.6-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Thu May 3 06:01:03 2012 UTC (23 months, 2 weeks ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-client/epiphany/epiphany-2.30.6-r1.ebuild,v 1.7 2011/11/15 23:14:50 tetromino Exp $
4
5 EAPI="3"
6 GCONF_DEBUG="yes"
7
8 inherit eutils gnome2 autotools
9
10 DESCRIPTION="GNOME webbrowser based on Webkit"
11 HOMEPAGE="http://projects.gnome.org/epiphany/"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
16 IUSE="avahi doc +introspection networkmanager +nss test"
17
18 # TODO: add seed support
19 RDEPEND=">=dev-libs/glib-2.19.7:2
20 >=x11-libs/gtk+-2.19.5:2[introspection?]
21 >=dev-libs/libxml2-2.6.12:2
22 >=dev-libs/libxslt-1.1.7
23 >=x11-libs/startup-notification-0.5
24 >=x11-libs/libnotify-0.4
25 >=dev-libs/dbus-glib-0.71
26 >=gnome-base/gconf-2:2
27 >=app-text/iso-codes-0.35
28 >=net-libs/webkit-gtk-1.2.3:2[introspection?]
29 >=net-libs/libsoup-gnome-2.29.91:2.4
30 >=gnome-base/gnome-keyring-2.26
31
32 x11-libs/libICE
33 x11-libs/libSM
34
35 >=app-misc/ca-certificates-20080514-r2
36 x11-themes/gnome-icon-theme
37
38 avahi? ( >=net-dns/avahi-0.6.22 )
39 introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
40 networkmanager? ( net-misc/networkmanager )
41 nss? ( dev-libs/nss )"
42 DEPEND="${RDEPEND}
43 app-text/scrollkeeper
44 virtual/pkgconfig
45 >=dev-util/intltool-0.40
46 >=app-text/gnome-doc-utils-0.3.2
47 doc? ( >=dev-util/gtk-doc-1 )
48 gnome-base/gnome-common"
49 # eautoreconf needs:
50 # gnome-base/gnome-common
51
52 pkg_setup() {
53 DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README TODO"
54 G2CONF="${G2CONF}
55 --disable-scrollkeeper
56 --disable-maintainer-mode
57 --with-distributor-name=Gentoo
58 $(use_enable avahi zeroconf)
59 $(use_enable introspection)
60 $(use_enable networkmanager network-manager)
61 $(use_enable nss)
62 $(use_enable test tests)"
63 }
64
65 src_prepare() {
66 epatch "${FILESDIR}"/${P}-libnotify-0.7.patch
67
68 # introspection: Fix build by telling g-ir-scanner what the prefix is
69 epatch "${FILESDIR}"/${P}-introspection-prefix.patch
70
71 # DBUS_LIBS is needed for libephymain.la
72 epatch "${FILESDIR}"/${P}-dbus-fix.patch
73
74 # Declare ability to handle http and https
75 epatch "${FILESDIR}"/${P}-mime-handler.patch
76
77 # Do not crash when clearing the passwords from prefs dialog, upstream bug #606933
78 epatch "${FILESDIR}"/${P}-clearing-passwd.patch
79
80 intltoolize --force --copy --automake || die "intltoolize failed"
81 eautoreconf
82 gnome2_src_prepare
83 }
84
85 src_compile() {
86 # Fix sandbox error with USE="introspection" and "doc"
87 # https://bugs.webkit.org/show_bug.cgi?id=35471
88 addpredict "$(unset HOME; echo ~)/.local"
89 gnome2_src_compile
90 }

  ViewVC Help
Powered by ViewVC 1.1.20