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

Contents of /x11-libs/qt-webkit/qt-webkit-4.8.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Mar 10 16:05:31 2012 UTC (7 years, 7 months ago) by pesa
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fix bug #406443. Remove old.

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

1 # Copyright 1999-2012 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.8.0.ebuild,v 1.1 2012/01/29 17:10:32 wired Exp $
4
5 EAPI="3"
6 inherit qt4-build
7
8 DESCRIPTION="The Webkit module for the Qt toolkit"
9 SLOT="4"
10 KEYWORDS="~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
11 IUSE="dbus +jit kde"
12
13 DEPEND="
14 dev-db/sqlite:3
15 ~x11-libs/qt-core-${PV}[aqua=,c++0x=,qpa=,debug=,ssl]
16 ~x11-libs/qt-gui-${PV}[aqua=,c++0x=,qpa=,dbus?,debug=]
17 ~x11-libs/qt-xmlpatterns-${PV}[aqua=,c++0x=,qpa=,debug=]
18 dbus? ( ~x11-libs/qt-dbus-${PV}[aqua=,c++0x=,qpa=,debug=] )
19 !kde? ( || ( ~x11-libs/qt-phonon-${PV}:${SLOT}[aqua=,c++0x=,qpa=,dbus=,debug=]
20 media-libs/phonon[aqua=] ) )
21 kde? ( || ( media-libs/phonon[aqua=] ~x11-libs/qt-phonon-${PV}:${SLOT}[aqua=,dbus=,debug=] ) )"
22 RDEPEND="${DEPEND}"
23
24 PATCHES=( "${FILESDIR}/${P}-c++0x-fix.patch" )
25
26 pkg_setup() {
27 QT4_TARGET_DIRECTORIES="
28 src/3rdparty/webkit/Source/JavaScriptCore/
29 src/3rdparty/webkit/Source/WebCore/
30 src/3rdparty/webkit/Source/WebKit/qt/
31 tools/designer/src/plugins/qwebview"
32
33 QT4_EXTRACT_DIRECTORIES="
34 include/
35 src/
36 tools/"
37
38 QCONFIG_ADD="webkit"
39 QCONFIG_DEFINE="QT_WEBKIT"
40
41 qt4-build_pkg_setup
42 }
43
44 src_prepare() {
45 [[ $(tc-arch) == "ppc64" ]] && append-flags -mminimal-toc #241900
46 use c++0x && append-flags -fpermissive
47 sed -i -e "/Werror/d" "${S}/src/3rdparty/webkit/Source/WebKit.pri" || die
48 qt4-build_src_prepare
49 }
50
51 src_configure() {
52 # won't build with gcc 4.6 without this for now
53 myconf="${myconf}
54 -webkit -system-sqlite -no-gtkstyle
55 -D GST_DISABLE_DEPRECATED
56 $(qt_use jit javascript-jit)
57 $(qt_use dbus qdbus)"
58 qt4-build_src_configure
59 }

  ViewVC Help
Powered by ViewVC 1.1.20