/[gentoo-x86]/x11-libs/qt-webkit/qt-webkit-4.6.2-r1.ebuild
Gentoo

Contents of /x11-libs/qt-webkit/qt-webkit-4.6.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Wed Aug 11 21:35:12 2010 UTC (9 years, 3 months ago) by josejx
Branch: MAIN
Changes since 1.4: +2 -2 lines
Marked ppc stable for bug #315523.
(Portage version: 2.1.8.3/cvs/Linux x86_64)

1 yngwin 1.1 # Copyright 1999-2010 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 josejx 1.5 # $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-webkit/qt-webkit-4.6.2-r1.ebuild,v 1.4 2010/07/05 14:05:47 ssuominen Exp $
4 yngwin 1.1
5     EAPI="2"
6     inherit qt4-build
7    
8     DESCRIPTION="The Webkit module for the Qt toolkit"
9     SLOT="4"
10 josejx 1.5 KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
11 yngwin 1.1 IUSE="dbus kde"
12    
13     DEPEND="~x11-libs/qt-core-${PV}[aqua=,debug=,ssl]
14     ~x11-libs/qt-gui-${PV}[aqua=,dbus?,debug=]
15     ~x11-libs/qt-xmlpatterns-${PV}[aqua=,debug=]
16     dbus? ( ~x11-libs/qt-dbus-${PV}[aqua=,debug=] )
17     !kde? ( || ( ~x11-libs/qt-phonon-${PV}:${SLOT}[aqua=,dbus=,debug=]
18     media-sound/phonon[aqua=] ) )
19     kde? ( || ( media-sound/phonon[aqua=] ~x11-libs/qt-phonon-${PV}:${SLOT}[aqua=,dbus=,debug] ) )"
20     RDEPEND="${DEPEND}"
21    
22     PATCHES=(
23     "${FILESDIR}"/${PN}-4.6.0-solaris-strnstr.patch
24     "${FILESDIR}"/${PN}-4.5.3-cve-2010-0046-css-format-mem-corruption.patch
25     "${FILESDIR}"/${PN}-4.5.3-cve-2010-0049-freed-line-boxes-ltr-rtl.patch
26     "${FILESDIR}"/${PN}-4.5.3-cve-2010-0050-crash-misnested-style-tags.patch
27     "${FILESDIR}"/${PN}-4.5.3-cve-2010-0052-destroyed-input-cached.patch
28     "${FILESDIR}"/${P}-cve-2010-0051-lax-css-parsing-cross-domain-theft.patch
29     "${FILESDIR}"/${P}-cve-2010-0054-image-element-pointer-name-getter.patch
30     )
31    
32     pkg_setup() {
33     QT4_TARGET_DIRECTORIES="
34     src/3rdparty/webkit/WebCore
35     tools/designer/src/plugins/qwebview"
36     QT4_EXTRACT_DIRECTORIES="
37     include/
38     src/
39     tools/"
40     QCONFIG_ADD="webkit"
41     QCONFIG_DEFINE="QT_WEBKIT"
42    
43     qt4-build_pkg_setup
44     }
45    
46     src_prepare() {
47     [[ $(tc-arch) == "ppc64" ]] && append-flags -mminimal-toc #241900
48     qt4-build_src_prepare
49     }
50    
51     src_configure() {
52     myconf="${myconf} -webkit $(qt_use dbus qdbus)"
53     qt4-build_src_configure
54     }

  ViewVC Help
Powered by ViewVC 1.1.20