summaryrefslogtreecommitdiffstats
path: root/gentoo/trinity-base/kmilo/kmilo-3.5.13.1.ebuild
blob: 64fd8d8600ff32cdbd3c294d209d45d574847ce0 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
TRINITY_MODULE_NAME="kdeutils"

inherit trinity-meta

DESCRIPTION="kded module supports some hardware input devices, such as special keys"
KEYWORDS="x86 amd64"
IUSE="asus-laptop dell-laptop powerbook-laptop thinkpad-laptop vaio-laptop lm_sensors"

DEPEND="powerbook-laptop? ( app-laptop/pbbuttonsd )"
RDEPEND="${DEPEND}
	lm_sensors? ( sys-apps/lm_sensors )"

PATCHES=( "$FILESDIR/${TRINITY_MODULE_NAME}-${PV}-${PN}-fix-powerbook.patch" )

src_configure() {
	mycmakeargs=(
		$(cmake-utils_use_with asus-laptop ASUS)
		$(cmake-utils_use_with dell-laptop I8K)
		$(cmake-utils_use_with powerbook-laptop POWERBOOK2)
		$(cmake-utils_use_with thinkpad-laptop THINKPAD)
		$(cmake-utils_use_with vaio-laptop VAIO)
		$(cmake-utils_use_with lm_sensors SENSORS)
	)

	trinity-meta_src_configure
}