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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Apr 5 15:47:39 2012 UTC (7 years, 6 months ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Removing Qt-4.8.0

(Portage version: 2.2.0_alpha99/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/x11-libs/qt-webkit/qt-webkit-4.8.0-r1.ebuild,v 1.5 2012/03/10 16:05:31 pesa Exp $
4
5 EAPI="3"
6 inherit qt4-build flag-o-matic
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="+gstreamer +jit"
12
13 DEPEND="
14 dev-db/sqlite:3
15 dev-libs/icu
16 x11-libs/libXrender
17 ~x11-libs/qt-core-${PV}[aqua=,c++0x=,qpa=,debug=,ssl]
18 ~x11-libs/qt-gui-${PV}[aqua=,c++0x=,qpa=,debug=]
19 ~x11-libs/qt-xmlpatterns-${PV}[aqua=,c++0x=,qpa=,debug=]
20 gstreamer? (
21 dev-libs/glib:2
22 media-libs/gstreamer:0.10
23 media-libs/gst-plugins-base:0.10
24 )"
25 RDEPEND="${DEPEND}"
26
27 PATCHES=(
28 "${FILESDIR}/${P}-c++0x-fix.patch"
29 )
30
31 pkg_setup() {
32 QT4_TARGET_DIRECTORIES="
33 src/3rdparty/webkit/Source/JavaScriptCore
34 src/3rdparty/webkit/Source/WebCore
35 src/3rdparty/webkit/Source/WebKit/qt
36 tools/designer/src/plugins/qwebview"
37
38 QT4_EXTRACT_DIRECTORIES="
39 include
40 src
41 tools"
42
43 QCONFIG_ADD="webkit"
44 QCONFIG_DEFINE="QT_WEBKIT"
45
46 qt4-build_pkg_setup
47 }
48
49 src_prepare() {
50 use c++0x && append-cxxflags -fpermissive
51
52 # Fix version number in generated pkgconfig file, bug 406443
53 sed -i -e 's/^isEmpty(QT_BUILD_TREE)://' \
54 src/3rdparty/webkit/Source/WebKit/qt/QtWebKit.pro || die
55
56 # Always enable icu to avoid build failure, bug 407315
57 sed -i -e '/CONFIG\s*+=\s*text_breaking_with_icu/ s:^#\s*::' \
58 src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pri || die
59
60 sed -i -e '/QMAKE_CXXFLAGS\s*+=/ s:-Werror::g' \
61 src/3rdparty/webkit/Source/WebKit.pri || die
62
63 qt4-build_src_prepare
64 }
65
66 src_configure() {
67 myconf+="
68 -webkit
69 -icu -system-sqlite
70 $(qt_use jit javascript-jit)
71 $(use gstreamer || echo -DENABLE_VIDEO=0)
72 "
73 qt4-build_src_configure
74 }

  ViewVC Help
Powered by ViewVC 1.1.20