diff options
Diffstat (limited to 'gentoo/trinity-base/tdescreensaver')
-rw-r--r-- | gentoo/trinity-base/tdescreensaver/metadata.xml | 11 | ||||
-rw-r--r-- | gentoo/trinity-base/tdescreensaver/tdescreensaver-9999.ebuild | 30 |
2 files changed, 41 insertions, 0 deletions
diff --git a/gentoo/trinity-base/tdescreensaver/metadata.xml b/gentoo/trinity-base/tdescreensaver/metadata.xml new file mode 100644 index 000000000..ffa960a71 --- /dev/null +++ b/gentoo/trinity-base/tdescreensaver/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>fatzer2@gmail.com</email> + <name>Alexander Golubev</name> + </maintainer> + <use> + <flag name="krootbacking"> Add support the desktop grabbing by kde-base/krootbacking.</flag> + </use> +</pkgmetadata> diff --git a/gentoo/trinity-base/tdescreensaver/tdescreensaver-9999.ebuild b/gentoo/trinity-base/tdescreensaver/tdescreensaver-9999.ebuild new file mode 100644 index 000000000..f16146bed --- /dev/null +++ b/gentoo/trinity-base/tdescreensaver/tdescreensaver-9999.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ +EAPI="5" +TRINITY_MODULE_NAME="tdebase" + +inherit trinity-meta + +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}" +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 ) + ) + + trinity-meta_src_configure +} |