summaryrefslogtreecommitdiffstats
path: root/trinity-base/klaptopdaemon/klaptopdaemon-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-base/klaptopdaemon/klaptopdaemon-9999.ebuild')
-rw-r--r--trinity-base/klaptopdaemon/klaptopdaemon-9999.ebuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/trinity-base/klaptopdaemon/klaptopdaemon-9999.ebuild b/trinity-base/klaptopdaemon/klaptopdaemon-9999.ebuild
index fc6ee6bf..1f8a2096 100644
--- a/trinity-base/klaptopdaemon/klaptopdaemon-9999.ebuild
+++ b/trinity-base/klaptopdaemon/klaptopdaemon-9999.ebuild
@@ -1,13 +1,14 @@
# Copyright 1999-2016 Gentoo Foundation
+# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
+EAPI="7"
TRINITY_MODULE_NAME="tdeutils"
-inherit trinity-meta
+inherit trinity-meta-2
DESCRIPTION="KLaptopdaemon - Trinity battery monitoring and management for laptops."
-KEYWORDS=""
+
IUSE="xscreensaver"
DEPEND="x11-libs/libXtst
@@ -17,9 +18,9 @@ RDEPEND="${DEPEND}"
src_configure() {
mycmakeargs=(
- "-DWITH_DPMS=ON"
- $(cmake-utils_use_with xscreensaver XSCREENSAVER)
+ -DWITH_DPMS=ON
+ -DWITH_XSCREENSAVER="$(usex xscreensaver)"
)
- trinity-meta_src_configure
+ trinity-meta-2_src_configure
}