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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu May 3 06:01:03 2012 UTC (2 years, 2 months ago) by jdhore
Branch: MAIN
Changes since 1.2: +2 -2 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-3.2.1-r1.ebuild,v 1.2 2012/03/06 16:24:34 tetromino Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="yes"
7
8 inherit autotools eutils gnome2 pax-utils
9
10 DESCRIPTION="GNOME webbrowser based on Webkit"
11 HOMEPAGE="http://projects.gnome.org/epiphany/"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 IUSE="avahi doc +introspection +networkmanager +nss test"
16 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
17
18 # XXX: Should we add seed support? Seed seems to be unmaintained now.
19 # Require {glib,gdbus-codegen}-2.30.0 due to GDBus API changes between 2.29.92
20 # and 2.30.0
21 COMMON_DEPEND=">=dev-libs/glib-2.30.0:2
22 >=x11-libs/gtk+-3.0.2:3[introspection?]
23 >=dev-libs/libxml2-2.6.12:2
24 >=dev-libs/libxslt-1.1.7
25 >=app-text/iso-codes-0.35
26 >=net-libs/webkit-gtk-1.6.1:3[introspection?]
27 >=net-libs/libsoup-gnome-2.33.1:2.4
28 >=gnome-base/gnome-keyring-2.26.0
29 >=gnome-base/gsettings-desktop-schemas-0.0.1
30 >=x11-libs/libnotify-0.5.1
31
32 x11-libs/libICE
33 x11-libs/libSM
34 x11-libs/libX11
35
36 app-misc/ca-certificates
37 x11-themes/gnome-icon-theme
38
39 avahi? ( >=net-dns/avahi-0.6.22 )
40 introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
41 nss? ( dev-libs/nss )"
42 # networkmanager is used purely via dbus
43 RDEPEND="${COMMON_DEPEND}
44 x11-themes/gnome-icon-theme-symbolic
45 networkmanager? ( >=net-misc/networkmanager-0.8.997 )"
46 # paxctl needed for bug #407085
47 DEPEND="${COMMON_DEPEND}
48 app-text/gnome-doc-utils
49 >=dev-util/gdbus-codegen-2.30.0
50 >=dev-util/intltool-0.40
51 virtual/pkgconfig
52 sys-apps/paxctl
53 sys-devel/gettext
54 doc? ( >=dev-util/gtk-doc-1 )"
55
56 pkg_setup() {
57 DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README TODO"
58 G2CONF="${G2CONF}
59 --enable-shared
60 --disable-schemas-compile
61 --disable-scrollkeeper
62 --disable-static
63 --with-distributor-name=Gentoo
64 --with-ca-file=${EPREFIX}/etc/ssl/certs/ca-certificates.crt
65 $(use_enable avahi zeroconf)
66 $(use_enable introspection)
67 $(use_enable nss)
68 $(use_enable test tests)"
69 # Upstream no longer makes networkmanager optional, but we still want
70 # to make it possible for prefix users to use epiphany
71 use networkmanager && CFLAGS="${CFLAGS} -DENABLE_NETWORK_MANAGER"
72 }
73
74 src_prepare() {
75 # Make networkmanager optional for prefix people
76 epatch "${FILESDIR}/${PN}-3.2.0-optional-networkmanager.patch"
77 # Build-time segfaults under PaX with USE=introspection
78 epatch "${FILESDIR}/${PN}-3.2.1-paxctl-introspection.patch"
79 cp "${FILESDIR}/gir-paxctl-lt-wrapper" \
80 "${FILESDIR}/paxctl.sh" "${S}/" || die
81 sed -e "s:@S@:${S}:" -i gir-paxctl-lt-wrapper || die
82 eautoreconf
83 gnome2_src_prepare
84 }
85
86 src_install() {
87 gnome2_src_install
88 pax-mark m "${ED}usr/bin/epiphany"
89 }

  ViewVC Help
Powered by ViewVC 1.1.20