diff options
Diffstat (limited to 'net-libs/webkit-efl')
-rw-r--r-- | net-libs/webkit-efl/Manifest | 4 | ||||
-rw-r--r-- | net-libs/webkit-efl/files/webkit-efl-configure-patch.patch | 29 | ||||
-rw-r--r-- | net-libs/webkit-efl/files/webkit-efl-jscore.patch | 11 | ||||
-rw-r--r-- | net-libs/webkit-efl/webkit-efl-0.1_p20090703.ebuild | 87 |
4 files changed, 131 insertions, 0 deletions
diff --git a/net-libs/webkit-efl/Manifest b/net-libs/webkit-efl/Manifest new file mode 100644 index 0000000..546e58a --- /dev/null +++ b/net-libs/webkit-efl/Manifest @@ -0,0 +1,4 @@ +AUX webkit-efl-configure-patch.patch 1055 RMD160 2c698fd927f3a10b01581ff428b9bbae06c31357 SHA1 83fe3cd154d41479eaa9702397dce68dd93d4b84 SHA256 634c07c6600b93519c1b6ab21a0b4d0e04a6db297bbc81685ba6a53edab11e74 +AUX webkit-efl-jscore.patch 511 RMD160 0e70c44a1158a32affedb3922858b78338391a52 SHA1 7f0811e48ac57548cc7e9cffc6a84a0eeb3f2a9a SHA256 b819189903f24116a2880638cc49095aed915f6715b35155b5d3ab7a8fc0f195 +DIST webkit-efl-0.1_p20090703.tar.bz2 11727480 RMD160 4db9ba596b9d69a0c7a57617f9e00ede1efa7e67 SHA1 f227fa4dc3297d031c3b84a9b85691db34c5fcf3 SHA256 bbf7d9de1aac1b2c86c478dd8dcaa0a0aa54bae75f353784925fdfbe3c969653 +EBUILD webkit-efl-0.1_p20090703.ebuild 2060 RMD160 4887a63194dfa1763a90b287b194be516b2c1911 SHA1 bcbd821e91d5ed2d4a7672f42f065b3bcdf59055 SHA256 e8c5de298173d487b2bddef4e283ebddb42399fa5365ef3a4f096ffba9074c64 diff --git a/net-libs/webkit-efl/files/webkit-efl-configure-patch.patch b/net-libs/webkit-efl/files/webkit-efl-configure-patch.patch new file mode 100644 index 0000000..efa5f7e --- /dev/null +++ b/net-libs/webkit-efl/files/webkit-efl-configure-patch.patch @@ -0,0 +1,29 @@ +--- configure.ac.org 2009-07-03 12:11:27.541608513 +0100 ++++ configure.ac 2009-07-03 12:12:42.653087224 +0100 +@@ -29,6 +29,8 @@ + + AM_INIT_AUTOMAKE([foreign subdir-objects tar-ustar]) + ++AC_PROG_CXX ++ + # host checking - inspired by the GTK+ configure.in + # TODO: move these to webkit.m4? + AC_MSG_CHECKING([for native Win32]) +@@ -327,7 +329,8 @@ + edje >= $EDJE_REQUIRED_VERSION + cairo >= $CAIRO_REQUIRED_VERSION + fontconfig >= $FONTCONFIG_REQUIRED_VERSION +- freetype2 >= $FREETYPE2_REQUIRED_VERSION]) ++ freetype2 >= $FREETYPE2_REQUIRED_VERSION ++ libcurl >= $LIBCURL_REQUIRED_VERSION]) + AC_SUBST([EFLDEPS_CFLAGS]) + AC_SUBST([EFLDEPS_LIBS]) + fi +@@ -602,7 +605,6 @@ + ;; + x86_64) + AC_DEFINE([WTF_USE_JIT_STUB_ARGUMENT_REGISTER], [1], [Use stub register]) +- AC_DEFINE([WTF_USE_ALTERNATE_JSIMMEDIATE], [1], [Use alternate JSImmediate]) + ;; + esac + ;; diff --git a/net-libs/webkit-efl/files/webkit-efl-jscore.patch b/net-libs/webkit-efl/files/webkit-efl-jscore.patch new file mode 100644 index 0000000..dd59d8d --- /dev/null +++ b/net-libs/webkit-efl/files/webkit-efl-jscore.patch @@ -0,0 +1,11 @@ +--- JavaScriptCore/wtf/StdLibExtras.h~ 2009-07-03 08:49:45.000000000 +0100 ++++ JavaScriptCore/wtf/StdLibExtras.h 2009-07-03 11:15:06.195769654 +0100 +@@ -49,7 +49,7 @@ + template<typename TO, typename FROM> + TO bitwise_cast(FROM from) + { +- COMPILE_ASSERT(sizeof(TO) == sizeof(FROM), WTF_bitwise_cast_sizeof_casted_types_is_equal); ++// COMPILE_ASSERT(sizeof(TO) == sizeof(FROM), WTF_bitwise_cast_sizeof_casted_types_is_equal); + union { + FROM from; + TO to; diff --git a/net-libs/webkit-efl/webkit-efl-0.1_p20090703.ebuild b/net-libs/webkit-efl/webkit-efl-0.1_p20090703.ebuild new file mode 100644 index 0000000..5a59f22 --- /dev/null +++ b/net-libs/webkit-efl/webkit-efl-0.1_p20090703.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit autotools + +DESCRIPTION="EFL port of open source web browser engine" +HOMEPAGE="http://trac.webkit.org/wiki/EFLWebKit" +SRC_URI="http://dev.gentoo.org/~dagger/files/${P}.tar.bz2" + +LICENSE="LGPL-2 LGPL-2.1 BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +# geoclue +IUSE="coverage debug doc -gstreamer pango" + +# use sqlite, svg by default +RDEPEND=" + dev-libs/libxml2 + dev-libs/libxslt + media-libs/jpeg + media-libs/libpng + x11-libs/cairo + >=dev-libs/eina-0.0.2.060 + >=x11-libs/evas-0.9.9.060 + >=x11-libs/ecore-0.9.9.060[X] + >=media-libs/edje-0.9.92.060 + >=dev-libs/icu-3.8.1-r1 + >=dev-db/sqlite-3 + gstreamer? ( + media-libs/gstreamer:0.10 + media-libs/gst-plugins-base:0.10 ) + pango? ( x11-libs/pango ) + !pango? ( + media-libs/freetype:2 + media-libs/fontconfig ) + net-misc/curl +" +DEPEND="${RDEPEND} + sys-devel/gettext + dev-util/gperf + dev-util/pkgconfig + doc? ( >=dev-util/gtk-doc-1.10 )" + +src_prepare() { + # Don't force -O2 + sed -i 's/-O2//g' "${S}"/configure.ac || die "sed failed" + + # We need to patch this buggy package + epatch "${FILESDIR}/${PN}"-configure-patch.patch + epatch "${FILESDIR}/${PN}"-jscore.patch + + AT_M4DIR=autotools eautoreconf +# eautoreconf +} + +src_configure() { + # It doesn't compile on alpha without this in LDFLAGS + use alpha && append-ldflags "-Wl,--no-relax" + + local myconf + + myconf="--with-port=efl + $(use_enable gstreamer video) + $(use_enable debug) + $(use_enable coverage) + " + + # USE-flag controlled font backend because upstream default is freetype + # Remove USE-flag once font-backend becomes pango upstream + if use pango; then + ewarn "You have enabled the incomplete pango backend" + ewarn "Please file any and all bugs *upstream*" + myconf="${myconf} --with-font-backend=pango" + else + myconf="${myconf} --with-font-backend=freetype" + fi + + econf ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + dodoc WebKit/gtk/{NEWS,ChangeLog} || die "dodoc failed" +} |