Gentoo Development Guide

VIRTUALX.ECLASS

Section: portage (5)
Updated: Nov 2014
Index Return to Main Contents
 

NAME

virtualx.eclass - This eclass can be used for packages that needs a working X environment to build.  

FUNCTIONS

virtualmake
Function which attach to running X session or start new Xvfb session where the VIRTUALX_COMMAND variable content gets executed.
Xmake
Same as "make", but set up the Xvfb hack if needed. Deprecated call.
Xemake
Same as "emake", but set up the Xvfb hack if needed.
Xeconf
Same as "econf", but set up the Xvfb hack if needed.
 

ECLASS VARIABLES

VIRTUALX_REQUIRED ?= test
Variable specifying the dependency on xorg-server and xhost. Possible special values are "always" and "manual", which specify the dependency to be set unconditionaly or not at all. Any other value is taken as useflag desired to be in control of the dependency (eg. VIRTUALX_REQUIRED="kde" will add the dependency into "kde? ( )" and add kde into IUSE.
VIRTUALX_DEPEND = "${VIRTUALX_DEPEND}
Dep string available for use outside of eclass, in case a more complicated dep is needed. You can specify the variable BEFORE inherit to add more dependencies.
VIRTUALX_COMMAND ?= "emake"
Command (or eclass function call) to be run in the X11 environment (within virtualmake function).
 

AUTHORS

Original author: Martin Schlemmer <azarah@gentoo.org>
 

MAINTAINERS

x11@gentoo.org
 

REPORTING BUGS

Please report bugs via http://bugs.gentoo.org/  

FILES

/usr/portage/eclass/virtualx.eclass  

SEE ALSO

ebuild(5)
http://sources.gentoo.org/eclass/virtualx.eclass?view=log


 

Index

NAME
FUNCTIONS
ECLASS VARIABLES
AUTHORS
MAINTAINERS
REPORTING BUGS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 03:25:03 GMT, November 21, 2014