summaryrefslogtreecommitdiff
blob: a45950d2f4c8e0253ada606a3a634310bd46893f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-client/rekonq/rekonq-0.6.1.ebuild,v 1.5 2011/03/10 13:05:20 angelos Exp $

EAPI=3

WEBKIT_REQUIRED=always
QT_MINIMAL="4.7"
KDE_MINIMAL="4.5"
VIRTUALX_REQUIRED=test

if [[ ${PV} != *9999* ]]; then
	KDE_LINGUAS_DIR="i18n"
	KDE_LINGUAS="ca cs da de el en_GB es et fr hu it ja ko lt nb
	nds nl pt_BR pt ru sl sr sv uk zh_CN"
	KDE_DOC_DIRS="docs"
	KDE_HANDBOOK="optional"
	SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
else
	EGIT_REPO_URI="git://git.kde.org/rekonq.git"
	GIT_ECLASS="git"
fi

inherit kde4-base ${GIT_ECLASS}

unset GIT_ECLASS

DESCRIPTION="A browser based on qt-webkit"
HOMEPAGE="http://rekonq.kde.org/"

LICENSE="GPL-3"
SLOT="4"
KEYWORDS="~amd64 ~x86"
IUSE="debug"

DEPEND="
	>=x11-libs/qt-xmlpatterns-${QT_MINIMAL}
"
RDEPEND="${DEPEND}"

RESTRICT="test"

PATCHES=( "${FILESDIR}/${P}-cve-2010-2536.patch"
	"${FILESDIR}/${P}-tests.patch" )