blob: bddb96bc4ec1bb81f0db7758a7b3acba4920a5fe (
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-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/powerdevil/powerdevil-1.4.2.ebuild,v 1.1 2008/12/07 19:50:50 scarabeus Exp $
EAPI="2"
NEED_KDE=":4.1"
inherit kde4-base
MY_P="${P}-kde4.1.3"
DESCRIPTION="PowerDevil is an utility for KDE4 for Laptop Powermanagement"
HOMEPAGE="http://www.kde-apps.org/content/show.php/PowerDevil?content=85078"
SRC_URI="mirror://kde/stable/apps/KDE4.x/utils/${MY_P}.tar.bz2"
LICENSE="GPL-3"
SLOT="4.1"
KEYWORDS="~amd64 ~x86"
IUSE="htmlhandbook"
DEPEND="kde-base/systemsettings:${SLOT}
kde-base/kscreensaver:${SLOT}
>=kde-base/libkworkspace-4.1.2-r1"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/${MY_P}
src_prepare() {
if ! use htmlhandbook; then
sed -i \
-e "s:add_subdirectory(doc):#nada:g" \
CMakeLists.txt || die "removing docs failed"
fi
}
src_configure() {
local mycmakeargs
mycmakeargs="${mycmakeargs}
-DDBUS_INTERFACES_INSTALL_DIR=${KDEDIR}/share/dbus-1/interfaces/"
kde4-base_src_configure
}
|