/[gentoo-x86]/x11-libs/qt-webkit/qt-webkit-4.5.3-r3.ebuild
Gentoo

Contents of /x11-libs/qt-webkit/qt-webkit-4.5.3-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Dec 5 21:49:02 2010 UTC (8 years, 10 months ago) by wired
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
removed 4.5.3

(Portage version: 2.2.0_alpha6/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-webkit/qt-webkit-4.5.3-r3.ebuild,v 1.8 2010/11/05 18:05:45 jer Exp $
4
5 EAPI="2"
6 inherit eutils qt4-build flag-o-matic
7
8 DESCRIPTION="The Webkit module for the Qt toolkit"
9 SLOT="4"
10 KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
11 IUSE="dbus kde"
12
13 DEPEND="~x11-libs/qt-core-${PV}[debug=,ssl]
14 ~x11-libs/qt-gui-${PV}[dbus?,debug=]
15 dbus? ( ~x11-libs/qt-dbus-${PV}[debug=] )
16 !kde? ( || ( ~x11-libs/qt-phonon-${PV}:${SLOT}[dbus=,debug=]
17 media-sound/phonon ) )
18 kde? ( media-sound/phonon )"
19 RDEPEND="${DEPEND}"
20
21 pkg_setup() {
22 QT4_TARGET_DIRECTORIES="
23 src/3rdparty/webkit/WebCore
24 tools/designer/src/plugins/qwebview"
25 QT4_EXTRACT_DIRECTORIES="
26 include/
27 src/
28 tools/"
29 QCONFIG_ADD="webkit"
30 QCONFIG_DEFINE="QT_WEBKIT"
31
32 qt4-build_pkg_setup
33 }
34
35 src_prepare() {
36 [[ $(tc-arch) == "ppc64" ]] && append-flags -mminimal-toc #241900
37 epatch "${FILESDIR}"/30_webkit_unaligned_access.diff #235685
38 epatch "${FILESDIR}"/${P}-no-javascript-crash.patch #295573
39
40 # patches graciously borrowed from Fedora for bug #314193
41 epatch "${FILESDIR}"/${P}-cve-2010-0046-css-format-mem-corruption.patch
42 epatch "${FILESDIR}"/${P}-cve-2010-0049-freed-line-boxes-ltr-rtl.patch
43 epatch "${FILESDIR}"/${P}-cve-2010-0050-crash-misnested-style-tags.patch
44 epatch "${FILESDIR}"/${P}-cve-2010-0052-destroyed-input-cached.patch
45
46 qt4-build_src_prepare
47 }
48
49 src_configure() {
50 # This fixes relocation overflows on alpha
51 use alpha && append-ldflags "-Wl,--no-relax"
52 myconf="${myconf} -webkit $(qt_use dbus qdbus)"
53 qt4-build_src_configure
54 }

  ViewVC Help
Powered by ViewVC 1.1.20