From 13f3b6432f125802f4fee3827d2b0e882a0a8dfe Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 8 Jan 2020 19:09:38 +0100 Subject: Live ebuilds: Port to EAPI7 and cleanup - Round 3. This time: kpager, krootbacking, ksplashml, kstart, ksystraycmd, kxkb, nsplugins, tdebase-starttde, tdedebugdialog, tdeeject, tdepasswd, tdeprint, tdescreensaver, tdesu and tqt3integration Signed-off-by: Chris --- .../tdescreensaver/tdescreensaver-9999.ebuild | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'trinity-base/tdescreensaver/tdescreensaver-9999.ebuild') diff --git a/trinity-base/tdescreensaver/tdescreensaver-9999.ebuild b/trinity-base/tdescreensaver/tdescreensaver-9999.ebuild index f16146be..5d5b4074 100644 --- a/trinity-base/tdescreensaver/tdescreensaver-9999.ebuild +++ b/trinity-base/tdescreensaver/tdescreensaver-9999.ebuild @@ -1,30 +1,26 @@ # Copyright 1999-2017 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="tdebase" -inherit trinity-meta +inherit trinity-meta-2 DESCRIPTION="Trinity screensaver framework" -KEYWORDS= + IUSE="opengl +krootbacking" -# CHECKME: if this use needed + DEPEND="x11-libs/libXt opengl? ( virtual/opengl ) - krootbacking? ( >=trinity-base/krootbacking-${PV}:${TRINITY_VER} ) - !!trinity-base/kscreensaver:${TRINITY_VER}" + krootbacking? ( =trinity-base/krootbacking-${PV} )" RDEPEND="${DEPEND}" src_configure () { - if use opengl; then - ewarn "OpenGL is not supported by trinity build system yet." - ewarn "This use flag is here just for future/past capability" - fi mycmakeargs=( - $(cmake-utils_use_with opengl OPENGL ) + -DWITH_OPENGL="$(usex opengl)" ) - trinity-meta_src_configure + trinity-meta-2_src_configure } -- cgit v1.2.1