blob: 43b79762484a03ca1d5a4a50c5ef6124bccdcc17 (
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
|
# 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.8 2009/03/10 19:05:57 scarabeus Exp $
EAPI="2"
KMNAME="extragear/base"
KMNOMODULE="true"
KDE_MIMIMAL="4.2"
inherit kde4-base
DESCRIPTION="Various plugins for konqueror"
HOMEPAGE="http://kde.org/"
SRC_URI="mirror://kde/stable/4.2.0/src/extragear/${P}.tar.bz2"
SLOT="4.2"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug htmlhandbook"
RDEPEND="!kde-misc/konq-plugins
!kdeprefix? ( !kde-base/konq-plugins:4.1[-kdeprefix] )
>=kde-base/konqueror-${KDE_MINIMAL}[kdeprefix=]
>=kde-base/kcmshell-${KDE_MINIMAL}[kdeprefix=]
"
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"
else
sed -i \
-e "s:\${HTML_INSTALL_DIR}/en:\${HTML_INSTALL_DIR}/en SUBDIR ${PN}:g" \
doc/CMakeLists.txt || die "fix doc placement failed"
fi
kde4-base_src_prepare
}
|