From: Bernard Cafarelli Date: Fri, 6 Dec 2019 12:17:34 +0000 (+0100) Subject: x11-misc/picom: initial import X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=506a537dcfe3df91764dfd4392a53d417281b6e2;p=gentoo.git x11-misc/picom: initial import Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Bernard Cafarelli --- diff --git a/x11-misc/picom/Manifest b/x11-misc/picom/Manifest new file mode 100644 index 000000000000..e6cd0927bea1 --- /dev/null +++ b/x11-misc/picom/Manifest @@ -0,0 +1 @@ +DIST picom-7.5.tar.gz 219456 BLAKE2B 54113547b575ad6aa1329e92ae331b7d49207fdcdc6b49d31d8ab125f7335730a7e53b260c6a6c33d5350bec1e9e6357fd34023dc7837de165289446f8f492b8 SHA512 6535e5eab1a243bbee62448bc48830b7ea3566f94b2c45d9ca76fd8b8056e1f00e55f0e4b58110364d2c4f56652cc005622d644c1db1db41d2811ecc19e6d44a diff --git a/x11-misc/picom/metadata.xml b/x11-misc/picom/metadata.xml new file mode 100644 index 000000000000..5307197cc779 --- /dev/null +++ b/x11-misc/picom/metadata.xml @@ -0,0 +1,16 @@ + + + + + voyageur@gentoo.org + Bernard Cafarelli + + + Enable config file support + Enable support for using drm for vsync + Enable features that require opengl (opengl backend, and opengl vsync methods) + + + yshui/picom + + diff --git a/x11-misc/picom/picom-7.5.ebuild b/x11-misc/picom/picom-7.5.ebuild new file mode 100644 index 000000000000..d3dd53d723d8 --- /dev/null +++ b/x11-misc/picom/picom-7.5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8} ) +inherit meson python-r1 xdg + +DESCRIPTION="A lightweight compositor for X11 (previously a compton fork)" +HOMEPAGE="https://github.com/yshui/picomc" +SRC_URI="https://github.com/yshui/picom/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MPL-2.0 MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+config_file dbus doc +drm opengl pcre" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDPEPEND="${PYTHON_DEPS} + dev-libs/libev + dev-libs/uthash + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXext + x11-libs/pixman + config_file? ( + dev-libs/libconfig + dev-libs/libxdg-basedir + ) + dbus? ( sys-apps/dbus ) + drm? ( x11-libs/libdrm ) + opengl? ( virtual/opengl ) + pcre? ( dev-libs/libpcre )" +DEPEND="${RDPEND} + x11-base/xorg-proto" +BDEPEND="virtual/pkgconfig + doc? ( app-text/asciidoc )" + +src_configure() { + local emesonargs=( + $(meson_use config_file) + $(meson_use dbus) + $(meson_use doc build_docs) + $(meson_use opengl) + $(meson_use pcre regex) + ) + + meson_src_configure + +} + +src_install() { + meson_src_install + + python_replicate_script "${ED}"/usr/bin/compton-convgen.py +}