# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=1 inherit eutils qt4 git DESCRIPTION="A cross-platform Qt4 WebKit browser" HOMEPAGE="http://arora.googlecode.com/" LICENSE="|| ( GPL-3 GPL-2 )" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="scroogle debug vanilla" EGIT_REPO_URI="git://github.com/Arora/arora.git" RDEPEND=">=x11-libs/qt-webkit-4.4.0:4" DEPEND="${RDEPEND}" src_unpack() { git_src_unpack if use vanilla; then einfo Skipping patches else use scroogle && epatch "${FILESDIR}"/arora-0.0.4-scroogle.patch fi } src_compile() { if use debug; then eqmake4 arora.pro "CONFIG-=debug" PREFIX="/usr" || die "qmake failed" else eqmake4 arora.pro PREFIX="/usr" || die "qmake failed" fi emake || die "make failed" } src_install() { emake INSTALL_ROOT="${D}" install dodoc AUTHORS ChangeLog README }