summaryrefslogtreecommitdiff
path: root/x11-misc/compton
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/compton
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/compton')
-rw-r--r--x11-misc/compton/Manifest6
-rw-r--r--x11-misc/compton/compton-0.1_beta2.ebuild69
-rw-r--r--x11-misc/compton/compton-9999.ebuild66
-rw-r--r--x11-misc/compton/metadata.xml12
4 files changed, 153 insertions, 0 deletions
diff --git a/x11-misc/compton/Manifest b/x11-misc/compton/Manifest
new file mode 100644
index 000000000000..b920aa16634c
--- /dev/null
+++ b/x11-misc/compton/Manifest
@@ -0,0 +1,6 @@
+DIST compton-0.1_beta2.tar.gz 144239 SHA256 7b9cd52a57326116fb5db3f5f89b7d50e17715252d9fd79b70b45ace30a6b009 SHA512 c3a019d90e32559d44e3a4969bcc15a15837db9c9519ce8cc70b1bd3d0cb16d29449f68cc2f6a8d834569c9620ec6533ab85c1586da957c69b1ae341d9584535 WHIRLPOOL 39ca9718bc79d4542d73cce39bb51fc9b9c0497a30914ab044b920f72a3c2f8cbd315c5dc97c999c1f0ca798ae692ada4626f069914b6835f0c225638b486422
+EBUILD compton-0.1_beta2.ebuild 1609 SHA256 f02a6cbd29843b4f8b5e8090341f52a11ace72924b31760504cb3f780ec9b200 SHA512 1bfc3b719f79cf3a8aeef0082c0fd464c0bc64a93a5b0cd494f4d34b4786252e6ff5376506c07dd4bfbf19b200b8a31a975d320266c9b4c73d6d78d5deb45c18 WHIRLPOOL 35f4a35c270c1a612d4387ea588b0cdb87b59bb7d633d29c797981f0b22408acd78523aadc1945b79b66dd6686780040c508ded70a9656fe76c1bed47ff5f397
+EBUILD compton-9999.ebuild 1530 SHA256 96942937cc6b305c21d662aa4afea538954e53bc44162059d0e4a8f88aa04d84 SHA512 48108c0b88de3f6a4d310e359af0a46443721d65bae46d3f88ca466d2fec29d8ebe65495c028f43320c8d251b2458af6e6581fb3bf93f02e13b290f693783f51 WHIRLPOOL 8bf3e1e7feaa73b76b936b0321841368fcf4a66055b829ee370982d265cc73b13f016796435f337b170cc16c3756a568fc713040047cdf1a810e87e5fc3c957e
+MISC ChangeLog 3171 SHA256 51041c62426725f7c049f748d63ca6dd98fa6cb56dbe4ad43ddcaf8c20404c4d SHA512 81e2159494a30d102ea039a2d9a10d1a490810cc5aaace10a6f4660f90be41deda744d5338f177ef11c9d677e7137a66de9f6430f817ca9a262c2b4d5d7a9c5f WHIRLPOOL 2afb2d8ba5bdfb318707ee9a0ec7fdbbd205c426bb51d5762c1f8d87383330afe99e3eb1e3955ee64f5cfccc3bac87ecf5211ca39e1d87528e4a493e5a2d0505
+MISC ChangeLog-2015 3291 SHA256 0fc119dd61feb070dd45ecc8f0bba86760c2c4d6157ac5a73f09fe6704381e83 SHA512 b9416c2fd23b34590a0fe25aaa7d012b5b2e531d94338930f3a840cb5ef00226ccc54fd6a719e2039f69a2f412eb0fa2881f387b643b7c2849159bad681f2da7 WHIRLPOOL 988eb0212fc28c8d42cbb8de8a5d7357f2638fa12e22adad26899a1ddfbd90293d88b6aa73d6550c27c81b4159cb1568f2f57d3aec9a1d6daa971c3114b1d578
+MISC metadata.xml 417 SHA256 9a91b5f6a413bbceff941308fc43ff5d812efe259d39c7338af58a3910309f26 SHA512 3220e8f0f2d71f507df50bdd8a7837042ba8ad98ae9c06b3834ba72be6e346d3af614016e657313a55b7c93351a36669c4bb5b35edadb0284a71076192ea53c2 WHIRLPOOL 9d73928cb31794fbe4208c371e07d257d2488a2ea9d365540a411951027e30431419dd80487ecb221842c098c2265c4501dea148e847b0e681a2de80f4aa0cb7
diff --git a/x11-misc/compton/compton-0.1_beta2.ebuild b/x11-misc/compton/compton-0.1_beta2.ebuild
new file mode 100644
index 000000000000..a880a690e6bc
--- /dev/null
+++ b/x11-misc/compton/compton-0.1_beta2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python3_{4,5} )
+inherit toolchain-funcs python-r1
+
+DESCRIPTION="A compositor for X, and a fork of xcompmgr-dana"
+HOMEPAGE="https://github.com/chjj/compton"
+SRC_URI="https://github.com/chjj/compton/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="dbus +drm opengl +pcre xinerama"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="${PYTHON_DEPS}
+ dev-libs/libconfig
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ dbus? ( sys-apps/dbus )
+ opengl? ( virtual/opengl )
+ pcre? ( dev-libs/libpcre:3 )
+ xinerama? ( x11-libs/libXinerama )"
+RDEPEND="${COMMON_DEPEND}
+ x11-apps/xprop
+ x11-apps/xwininfo"
+DEPEND="${COMMON_DEPEND}
+ app-text/asciidoc
+ virtual/pkgconfig
+ x11-proto/xproto
+ drm? ( x11-libs/libdrm )"
+
+nobuildit() { use $1 || echo yes ; }
+
+pkg_setup() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ tc-export CC
+ fi
+}
+
+src_compile() {
+ emake docs
+
+ NO_DBUS=$(nobuildit dbus) \
+ NO_XINERAMA=$(nobuildit xinerama) \
+ NO_VSYNC_DRM=$(nobuildit drm) \
+ NO_VSYNC_OPENGL=$(nobuildit opengl) \
+ NO_REGEX_PCRE=$(nobuildit pcre) \
+ emake compton
+}
+
+src_install() {
+ NO_DBUS=$(nobuildit dbus) \
+ NO_VSYNC_DRM=$(nobuildit drm) \
+ NO_VSYNC_OPENGL=$(nobuildit opengl) \
+ NO_REGEX_PCRE=$(nobuildit pcre) \
+ default
+ docinto examples
+ dodoc compton.sample.conf dbus-examples/*
+ python_foreach_impl python_newscript bin/compton-convgen.py compton-convgen
+}
diff --git a/x11-misc/compton/compton-9999.ebuild b/x11-misc/compton/compton-9999.ebuild
new file mode 100644
index 000000000000..13e6bb5241e8
--- /dev/null
+++ b/x11-misc/compton/compton-9999.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5} )
+inherit toolchain-funcs python-r1 git-r3
+
+DESCRIPTION="A compositor for X, and a fork of xcompmgr-dana"
+HOMEPAGE="https://github.com/chjj/compton"
+SRC_URI=""
+
+EGIT_REPO_URI="https://github.com/chjj/compton.git"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="dbus +drm opengl +pcre xinerama"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="${PYTHON_DEPS}
+ dev-libs/libconfig
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ dbus? ( sys-apps/dbus )
+ opengl? ( virtual/opengl )
+ pcre? ( dev-libs/libpcre:3 )
+ xinerama? ( x11-libs/libXinerama )"
+RDEPEND="${COMMON_DEPEND}
+ x11-apps/xprop
+ x11-apps/xwininfo"
+DEPEND="${COMMON_DEPEND}
+ app-text/asciidoc
+ virtual/pkgconfig
+ x11-proto/xproto
+ drm? ( x11-libs/libdrm )"
+
+nobuildit() { use $1 || echo yes ; }
+
+src_compile() {
+ tc-export CC
+ emake docs
+
+ NO_DBUS=$(nobuildit dbus) \
+ NO_XINERAMA=$(nobuildit xinerama) \
+ NO_VSYNC_DRM=$(nobuildit drm) \
+ NO_VSYNC_OPENGL=$(nobuildit opengl) \
+ NO_REGEX_PCRE=$(nobuildit pcre) \
+ emake compton
+}
+
+src_install() {
+ NO_DBUS=$(nobuildit dbus) \
+ NO_VSYNC_DRM=$(nobuildit drm) \
+ NO_VSYNC_OPENGL=$(nobuildit opengl) \
+ NO_REGEX_PCRE=$(nobuildit pcre) \
+ default
+ docinto examples
+ dodoc compton.sample.conf dbus-examples/*
+ python_foreach_impl python_newscript bin/compton-convgen.py compton-convgen
+}
diff --git a/x11-misc/compton/metadata.xml b/x11-misc/compton/metadata.xml
new file mode 100644
index 000000000000..4260d05bc29e
--- /dev/null
+++ b/x11-misc/compton/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <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>
+ <upstream>
+ <remote-id type="github">chjj/compton</remote-id>
+ </upstream>
+</pkgmetadata>