summaryrefslogtreecommitdiff
blob: cebae3919e85aece2f9668a56cb06d4d06f35892 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/konq-plugins/konq-plugins-4.2.0.ebuild,v 1.2 2009/02/04 17:10:28 scarabeus Exp $

EAPI="2"

KMNAME="extragear/base"
KMNOMODULE="true"
KDE_MIMIMAL="4.2"
inherit kde4-base

DESCRIPTION="Various plugins for konqueror"
HOMEPAGE="htts://kde.org/"
SRC_URI="mirror://kde/stable/4.2.0/src/extragear/${P}.tar.bz2"
SLOT="4.2"

LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="debug htmlhandbook"

RDEPEND="!kde-misc/konq-plugins
	!kdeprefix? ( !kde-base/konq-plugins:4.1[-kdeprefix] )
	>=kde-base/konqueror-${KDE_MINIMAL}
"
DEPEND="${RDEPEND}"

src_prepare() {
	if ! use htmlhandbook; then
		sed -i \
			-e "s:macro_optional_add_subdirectory(doc):#nada:g" \
			CMakeLists.txt || die "sed doc failed"
	fi
}