diff options
Diffstat (limited to 'net-libs/webkitgtk/webkitgtk-31623.ebuild')
-rw-r--r-- | net-libs/webkitgtk/webkitgtk-31623.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/net-libs/webkitgtk/webkitgtk-31623.ebuild b/net-libs/webkitgtk/webkitgtk-31623.ebuild new file mode 100644 index 000000000..e66c7568d --- /dev/null +++ b/net-libs/webkitgtk/webkitgtk-31623.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit autotools + +DESCRIPTION="Open source web browser engine" +HOMEPAGE="http://www.webkit.org/" +MY_P="WebKit-r${PV}" +SRC_URI="http://nightly.webkit.org/files/trunk/src/${MY_P}.tar.bz2" + +LICENSE="LGPL-2 LGPL-2.1 BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug gstreamer sqlite svg" + +S="${WORKDIR}/${MY_P}" + +RDEPEND=">=x11-libs/gtk+-2.0 + dev-libs/icu + >=net-misc/curl-7.15 + media-libs/jpeg + media-libs/libpng + dev-libs/libxslt + dev-libs/libxml2 + sqlite? ( >=dev-db/sqlite-3 ) + gstreamer? ( + >=media-libs/gstreamer-0.10 + >=media-libs/gst-plugins-base-0.10 + >=gnome-base/gnome-vfs-2.0 + )" + +DEPEND="${RDEPEND} + sys-devel/bison + dev-util/gperf + >=sys-devel/flex-2.5.33" + +src_unpack() { + unpack ${A} + cd "${S}" + + eautoreconf +} + +src_compile() { + econf \ + $(use_enable sqlite database) \ + $(use_enable sqlite icon-database) \ + $(use_enable gstreamer video) \ + $(use_enable svg) \ + $(use_enable svg svg-animation) \ + $(use_enable svg svg-as-image) \ + $(use_enable svg svg-experimental) \ + $(use_enable svg svg-filters) \ + $(use_enable svg svg-fonts) \ + $(use_enable svg svg-use-element) \ + $(use_enable svg svg) \ + $(use_enable debug) + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" +} |