diff options
-rw-r--r-- | x11-misc/compton/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/compton/compton-9999.ebuild | 32 | ||||
-rw-r--r-- | x11-misc/compton/metadata.xml | 4 |
3 files changed, 30 insertions, 13 deletions
diff --git a/x11-misc/compton/ChangeLog b/x11-misc/compton/ChangeLog index 7a1e965b9886..0594a52bde75 100644 --- a/x11-misc/compton/ChangeLog +++ b/x11-misc/compton/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-misc/compton -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/compton/ChangeLog,v 1.10 2012/12/23 15:56:31 hasufell Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/compton/ChangeLog,v 1.11 2013/01/29 00:10:27 hasufell Exp $ + + 29 Jan 2013; Julian Ospald <hasufell@gentoo.org> compton-9999.ebuild: + update live ebuild 23 Dec 2012; Julian Ospald <hasufell@gentoo.org> compton-9999.ebuild: update live ebuild diff --git a/x11-misc/compton/compton-9999.ebuild b/x11-misc/compton/compton-9999.ebuild index ebcd4c1a9276..91faea8ff4be 100644 --- a/x11-misc/compton/compton-9999.ebuild +++ b/x11-misc/compton/compton-9999.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/compton/compton-9999.ebuild,v 1.4 2012/12/23 15:56:31 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/compton/compton-9999.ebuild,v 1.5 2013/01/29 00:10:27 hasufell Exp $ EAPI=5 @@ -15,27 +15,29 @@ EGIT_REPO_URI="git://github.com/chjj/compton.git" LICENSE="MIT" SLOT="0" KEYWORDS="" -IUSE="" +IUSE="dbus +drm opengl +pcre" COMMON_DEPEND="dev-libs/libconfig - virtual/opengl - dev-libs/libpcre:3 x11-libs/libX11 x11-libs/libXcomposite x11-libs/libXdamage x11-libs/libXext x11-libs/libXfixes x11-libs/libXrandr - x11-libs/libXrender" + x11-libs/libXrender + dbus? ( sys-apps/dbus ) + opengl? ( virtual/opengl ) + pcre? ( dev-libs/libpcre:3 )" RDEPEND="${COMMON_DEPEND} - app-shells/bash x11-apps/xprop x11-apps/xwininfo" DEPEND="${COMMON_DEPEND} app-text/asciidoc virtual/pkgconfig - x11-libs/libdrm - x11-proto/xproto" + x11-proto/xproto + drm? ( x11-libs/libdrm )" + +nobuildit() { use $1 || echo yes ; } pkg_setup() { tc-export CC @@ -43,10 +45,18 @@ pkg_setup() { src_compile() { emake docs - emake compton + NO_DBUS=$(nobuildit dbus) \ + NO_VSYNC_DRM=$(nobuildit drm) \ + NO_VSYNC_OPENGL=$(nobuildit opengl) \ + NO_REGEX_PCRE=$(nobuildit pcre) \ + emake compton } src_install() { - default + NO_DBUS=$(nobuildit dbus) \ + NO_VSYNC_DRM=$(nobuildit drm) \ + NO_VSYNC_OPENGL=$(nobuildit opengl) \ + NO_REGEX_PCRE=$(nobuildit pcre) \ + default dodoc compton.sample.conf } diff --git a/x11-misc/compton/metadata.xml b/x11-misc/compton/metadata.xml index 7c73a4c7dfc4..5d915812c066 100644 --- a/x11-misc/compton/metadata.xml +++ b/x11-misc/compton/metadata.xml @@ -7,4 +7,8 @@ <name>Julian Ospald</name> <description>hasufell at Freenode</description> </maintainer> + <use> + <flag name="drm">Enable VSync with DRM_IOCTL_WAIT_VBLANK</flag> + <flag name="opengl">Enable VSync with SGI_swap_control OpenGL extension</flag> + </use> </pkgmetadata> |