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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Dec 29 13:51:17 2012 UTC (4 months, 3 weeks ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.1.11.38/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)

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.3.ebuild,v 1.3 2012/09/16 04:54:09 yngwin 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.3+glib-2.31.patch"
38 "${FILESDIR}/${PN}-4.8.1-no-use-ld-gold.patch"
39 "${FILESDIR}/4.8.2-javascriptcore-x32.patch"
40 )
41
42 pkg_setup() {
43 QT4_TARGET_DIRECTORIES="
44 src/3rdparty/webkit/Source/JavaScriptCore
45 src/3rdparty/webkit/Source/WebCore
46 src/3rdparty/webkit/Source/WebKit/qt
47 tools/designer/src/plugins/qwebview"
48
49 QT4_EXTRACT_DIRECTORIES="
50 include
51 src
52 tools"
53
54 QCONFIG_ADD="webkit"
55 QCONFIG_DEFINE="QT_WEBKIT"
56
57 qt4-build_pkg_setup
58 }
59
60 src_prepare() {
61 # Fix version number in generated pkgconfig file, bug 406443
62 sed -i -e 's/^isEmpty(QT_BUILD_TREE)://' \
63 src/3rdparty/webkit/Source/WebKit/qt/QtWebKit.pro || die
64
65 # Remove -Werror from CXXFLAGS
66 sed -i -e '/QMAKE_CXXFLAGS\s*+=/ s:-Werror::g' \
67 src/3rdparty/webkit/Source/WebKit.pri || die
68
69 if use icu; then
70 sed -i -e '/CONFIG\s*+=\s*text_breaking_with_icu/ s:^#\s*::' \
71 src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pri || die
72 fi
73
74 qt4-build_src_prepare
75 }
76
77 src_configure() {
78 myconf+="
79 -webkit
80 -system-sqlite
81 $(qt_use icu)
82 $(qt_use jit javascript-jit)
83 $(use gstreamer || echo -DENABLE_VIDEO=0)"
84
85 qt4-build_src_configure
86 }

  ViewVC Help
Powered by ViewVC 1.1.13