/[gentoo-x86]/net-libs/webkit-gtk/webkit-gtk-1.1.15.2.ebuild
Gentoo

Diff of /net-libs/webkit-gtk/webkit-gtk-1.1.15.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/Attic/webkit-gtk-1.1.15.2.ebuild,v 1.2 2009/11/09 19:12:53 armin76 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-libs/webkit-gtk/Attic/webkit-gtk-1.1.15.2.ebuild,v 1.3 2009/11/14 14:50:59 armin76 Exp $
4 4
5EAPI="2" 5EAPI="2"
6 6
7inherit autotools 7inherit autotools flag-o-matic eutils
8 8
9MY_P="webkit-${PV}" 9MY_P="webkit-${PV}"
10DESCRIPTION="Open source web browser engine" 10DESCRIPTION="Open source web browser engine"
11HOMEPAGE="http://www.webkitgtk.org/" 11HOMEPAGE="http://www.webkitgtk.org/"
12SRC_URI="http://www.webkitgtk.org/${MY_P}.tar.gz" 12SRC_URI="http://www.webkitgtk.org/${MY_P}.tar.gz"
13 13
14LICENSE="LGPL-2 LGPL-2.1 BSD" 14LICENSE="LGPL-2 LGPL-2.1 BSD"
15SLOT="0" 15SLOT="0"
16KEYWORDS="~alpha ~amd64 ~ia64 ~ppc -sparc ~x86 ~x86-fbsd" 16KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
17# geoclue 17# geoclue
18IUSE="coverage debug doc +gstreamer pango ruby +websockets" 18IUSE="coverage debug doc +gstreamer pango ruby +websockets"
19 19
20# use sqlite, svg by default 20# use sqlite, svg by default
21RDEPEND=" 21RDEPEND="
49 doc? ( >=dev-util/gtk-doc-1.10 )" 49 doc? ( >=dev-util/gtk-doc-1.10 )"
50 50
51S="${WORKDIR}/${MY_P}" 51S="${WORKDIR}/${MY_P}"
52 52
53src_prepare() { 53src_prepare() {
54
55 # FIXME: Fix unaligned accesses on ARM, IA64 and SPARC
56 use sparc && epatch "${FILESDIR}"/sigbus.patch
57
54 # Make it libtool-1 compatible 58 # Make it libtool-1 compatible
55 rm -v autotools/lt* autotools/libtool.m4 \ 59 rm -v autotools/lt* autotools/libtool.m4 \
56 || die "removing libtool macros failed" 60 || die "removing libtool macros failed"
57 # Don't force -O2 61 # Don't force -O2
58 sed -i 's/-O2//g' "${S}"/configure.ac || die "sed failed" 62 sed -i 's/-O2//g' "${S}"/configure.ac || die "sed failed"
61} 65}
62 66
63src_configure() { 67src_configure() {
64 # It doesn't compile on alpha without this in LDFLAGS 68 # It doesn't compile on alpha without this in LDFLAGS
65 use alpha && append-ldflags "-Wl,--no-relax" 69 use alpha && append-ldflags "-Wl,--no-relax"
70
71 # Sigbuses on SPARC with mcpu
72 use sparc && filter-flags "-mcpu=*" "-mtune=*"
73
66 74
67 local myconf 75 local myconf
68 76
69 myconf=" 77 myconf="
70 $(use_enable coverage) 78 $(use_enable coverage)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20