summaryrefslogtreecommitdiff
blob: 3b879bde29d5d99e69c222dddb816e5fda4166c2 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-client/rekonq/rekonq-0.5.0-r1.ebuild,v 1.2 2010/10/12 18:20:48 tampakrap Exp $

EAPI=3

WEBKIT_REQUIRED=always

if [[ ${PV} != *9999* ]]; then
	KDE_LINGUAS_DIR="i18n"
	KDE_LINGUAS="cs da de en_GB es et fr hu it lt nds pt_BR pt ru 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"
	QT_MINIMAL="4.7"
	KDE_MINIMAL="4.5"
fi

inherit kde4-base ${GIT_ECLASS}

unset GIT_ECLASS

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

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" )