diff options
author | Davide Pesavento <pesa@gentoo.org> | 2013-07-09 10:51:22 +0000 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2013-07-09 10:51:22 +0000 |
commit | 0a831b3ab8afed014d137d7e3e9468646e9b46d4 (patch) | |
tree | 422d63f79ef5efc92ee4b4c5e96c95b7187ae347 /dev-qt | |
parent | Version bump. (diff) | |
download | gentoo-2-0a831b3ab8afed014d137d7e3e9468646e9b46d4.tar.gz gentoo-2-0a831b3ab8afed014d137d7e3e9468646e9b46d4.tar.bz2 gentoo-2-0a831b3ab8afed014d137d7e3e9468646e9b46d4.zip |
Version bump.
(Portage version: 2.2.0_alpha186/cvs/Linux x86_64, signed Manifest commit with key 17A85C72)
Diffstat (limited to 'dev-qt')
-rw-r--r-- | dev-qt/qtwebkit/ChangeLog | 9 | ||||
-rw-r--r-- | dev-qt/qtwebkit/qtwebkit-4.8.5.ebuild | 83 |
2 files changed, 90 insertions, 2 deletions
diff --git a/dev-qt/qtwebkit/ChangeLog b/dev-qt/qtwebkit/ChangeLog index e6f759079d23..ca40eeddd6da 100644 --- a/dev-qt/qtwebkit/ChangeLog +++ b/dev-qt/qtwebkit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-qt/qtwebkit -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtwebkit/ChangeLog,v 1.2 2013/03/03 04:22:26 yngwin Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtwebkit/ChangeLog,v 1.3 2013/07/09 10:51:22 pesa Exp $ + +*qtwebkit-4.8.5 (09 Jul 2013) + + 09 Jul 2013; Davide Pesavento <pesa@gentoo.org> +qtwebkit-4.8.5.ebuild: + Version bump. 31 Dec 2012; Davide Pesavento <pesa@gentoo.org> metadata.xml: Cleanup metadata. diff --git a/dev-qt/qtwebkit/qtwebkit-4.8.5.ebuild b/dev-qt/qtwebkit/qtwebkit-4.8.5.ebuild new file mode 100644 index 000000000000..b895f6a56529 --- /dev/null +++ b/dev-qt/qtwebkit/qtwebkit-4.8.5.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtwebkit/qtwebkit-4.8.5.ebuild,v 1.1 2013/07/09 10:51:22 pesa Exp $ + +EAPI=5 + +inherit qt4-build flag-o-matic + +DESCRIPTION="The WebKit module for the Qt toolkit" +SLOT="4" +if [[ ${QT4_BUILD_TYPE} == live ]]; then + KEYWORDS="" +else + 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" +fi +IUSE="+gstreamer icu +jit" + +# libxml2[!icu?] is needed for bugs 407315 and 411091 +DEPEND=" + dev-db/sqlite:3 + ~dev-qt/qtcore-${PV}[aqua=,debug=,ssl] + ~dev-qt/qtgui-${PV}[aqua=,debug=] + ~dev-qt/qtxmlpatterns-${PV}[aqua=,debug=] + x11-libs/libX11 + x11-libs/libXrender + gstreamer? ( + dev-libs/glib:2 + dev-libs/libxml2:2[!icu?] + media-libs/gstreamer:0.10 + media-libs/gst-plugins-base:0.10 + ) + icu? ( dev-libs/icu:= ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-4.8.1-no-use-ld-gold.patch" + "${FILESDIR}/4.8.2-javascriptcore-x32.patch" +) + +pkg_setup() { + QT4_TARGET_DIRECTORIES=" + src/3rdparty/webkit/Source/JavaScriptCore + src/3rdparty/webkit/Source/WebCore + src/3rdparty/webkit/Source/WebKit/qt" + + QT4_EXTRACT_DIRECTORIES=" + include + src" + + QCONFIG_ADD="webkit" + QCONFIG_DEFINE="QT_WEBKIT" + + qt4-build_pkg_setup +} + +src_prepare() { + # Fix version number in generated pkgconfig file, bug 406443 + sed -i -e 's/^isEmpty(QT_BUILD_TREE)://' \ + src/3rdparty/webkit/Source/WebKit/qt/QtWebKit.pro || die + + # Remove -Werror from CXXFLAGS + sed -i -e '/QMAKE_CXXFLAGS\s*+=/ s:-Werror::g' \ + src/3rdparty/webkit/Source/WebKit.pri || die + + if use icu; then + sed -i -e '/CONFIG\s*+=\s*text_breaking_with_icu/ s:^#\s*::' \ + src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pri || die + fi + + qt4-build_src_prepare +} + +src_configure() { + myconf+=" + -webkit + -system-sqlite + $(qt_use icu) + $(qt_use jit javascript-jit) + $(use gstreamer || echo -DENABLE_VIDEO=0)" + + qt4-build_src_configure +} |