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

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

  ViewVC Help
Powered by ViewVC 1.1.20