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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Sat Dec 29 13:51:17 2012 UTC (6 years, 9 months ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +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.1.ebuild,v 1.11 2012/07/06 05:07:07 xmw 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 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"
12 IUSE="+gstreamer +icu +jit"
13
14 REQUIRED_USE="gstreamer? ( icu )" #407315
15
16 DEPEND="
17 dev-db/sqlite:3
18 x11-libs/libX11
19 x11-libs/libXrender
20 ~x11-libs/qt-core-${PV}[aqua=,debug=,ssl,qpa=]
21 ~x11-libs/qt-gui-${PV}[aqua=,debug=,qpa=]
22 ~x11-libs/qt-xmlpatterns-${PV}[aqua=,debug=,qpa=]
23 gstreamer? (
24 dev-libs/glib:2
25 media-libs/gstreamer:0.10
26 media-libs/gst-plugins-base:0.10
27 )
28 icu? ( dev-libs/icu )
29 "
30 RDEPEND="${DEPEND}"
31
32 PATCHES=(
33 "${FILESDIR}/${PN}-4.8.0-c++0x-fix.patch"
34 "${FILESDIR}/${P}+glib-2.31.patch"
35 "${FILESDIR}/${P}-no-use-ld-gold.patch"
36 )
37
38 pkg_setup() {
39 QT4_TARGET_DIRECTORIES="
40 src/3rdparty/webkit/Source/JavaScriptCore
41 src/3rdparty/webkit/Source/WebCore
42 src/3rdparty/webkit/Source/WebKit/qt
43 tools/designer/src/plugins/qwebview"
44
45 QT4_EXTRACT_DIRECTORIES="
46 include
47 src
48 tools"
49
50 QCONFIG_ADD="webkit"
51 QCONFIG_DEFINE="QT_WEBKIT"
52
53 qt4-build_pkg_setup
54 }
55
56 src_prepare() {
57 use c++0x && append-cxxflags -fpermissive
58
59 # Fix version number in generated pkgconfig file, bug 406443
60 sed -i -e 's/^isEmpty(QT_BUILD_TREE)://' \
61 src/3rdparty/webkit/Source/WebKit/qt/QtWebKit.pro || die
62
63 # Remove -Werror from CXXFLAGS
64 sed -i -e '/QMAKE_CXXFLAGS\s*+=/ s:-Werror::g' \
65 src/3rdparty/webkit/Source/WebKit.pri || die
66
67 if use icu; then
68 sed -i -e '/CONFIG\s*+=\s*text_breaking_with_icu/ s:^#\s*::' \
69 src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pri || die
70 fi
71
72 qt4-build_src_prepare
73 }
74
75 src_configure() {
76 myconf+="
77 -webkit
78 -system-sqlite
79 $(qt_use icu)
80 $(qt_use jit javascript-jit)
81 $(use gstreamer || echo -DENABLE_VIDEO=0)"
82
83 qt4-build_src_configure
84 }

  ViewVC Help
Powered by ViewVC 1.1.20