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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Mar 2 21:34:26 2013 UTC (6 years, 7 months ago) by pesa
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Moving x11-libs/qt-* to dev-qt/

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.4.ebuild,v 1.7 2012/12/25 14:58:23 ago Exp $
4
5 EAPI=4
6
7 inherit qt4-build flag-o-matic
8
9 DESCRIPTION="The WebKit module for the Qt toolkit"
10 SLOT="4"
11 if [[ ${QT4_BUILD_TYPE} == live ]]; then
12 KEYWORDS=""
13 else
14 KEYWORDS="amd64 arm ia64 ~mips ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
15 fi
16 IUSE="+gstreamer icu +jit"
17
18 # libxml2[!icu?] is needed for bugs 407315 and 411091
19 DEPEND="
20 dev-db/sqlite:3
21 x11-libs/libX11
22 x11-libs/libXrender
23 ~x11-libs/qt-core-${PV}[aqua=,debug=,ssl]
24 ~x11-libs/qt-gui-${PV}[aqua=,debug=]
25 ~x11-libs/qt-xmlpatterns-${PV}[aqua=,debug=]
26 gstreamer? (
27 dev-libs/glib:2
28 dev-libs/libxml2:2[!icu?]
29 media-libs/gstreamer:0.10
30 media-libs/gst-plugins-base:0.10
31 )
32 icu? ( dev-libs/icu )
33 "
34 RDEPEND="${DEPEND}"
35
36 PATCHES=(
37 "${FILESDIR}/${PN}-4.8.1-no-use-ld-gold.patch"
38 "${FILESDIR}/4.8.2-javascriptcore-x32.patch"
39 )
40
41 pkg_setup() {
42 QT4_TARGET_DIRECTORIES="
43 src/3rdparty/webkit/Source/JavaScriptCore
44 src/3rdparty/webkit/Source/WebCore
45 src/3rdparty/webkit/Source/WebKit/qt
46 tools/designer/src/plugins/qwebview"
47
48 QT4_EXTRACT_DIRECTORIES="
49 include
50 src
51 tools"
52
53 QCONFIG_ADD="webkit"
54 QCONFIG_DEFINE="QT_WEBKIT"
55
56 qt4-build_pkg_setup
57 }
58
59 src_prepare() {
60 # Fix version number in generated pkgconfig file, bug 406443
61 sed -i -e 's/^isEmpty(QT_BUILD_TREE)://' \
62 src/3rdparty/webkit/Source/WebKit/qt/QtWebKit.pro || die
63
64 # Remove -Werror from CXXFLAGS
65 sed -i -e '/QMAKE_CXXFLAGS\s*+=/ s:-Werror::g' \
66 src/3rdparty/webkit/Source/WebKit.pri || die
67
68 if use icu; then
69 sed -i -e '/CONFIG\s*+=\s*text_breaking_with_icu/ s:^#\s*::' \
70 src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pri || die
71 fi
72
73 qt4-build_src_prepare
74 }
75
76 src_configure() {
77 myconf+="
78 -webkit
79 -system-sqlite
80 $(qt_use icu)
81 $(qt_use jit javascript-jit)
82 $(use gstreamer || echo -DENABLE_VIDEO=0)"
83
84 qt4-build_src_configure
85 }

  ViewVC Help
Powered by ViewVC 1.1.20