diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2020-01-09 21:00:44 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2020-01-09 21:01:03 +0100 |
commit | fa8baaa642569c262a77e1993c98052f52fe81b3 (patch) | |
tree | 11a8b1830ad0e31ac3f09c2048e01886fca43f94 /x11-misc/picom/picom-7.5-r1.ebuild | |
parent | app-admin/rsyslog-8.1911.0-r1: amd64 stable (bug 704338) (diff) | |
download | gentoo-fa8baaa642569c262a77e1993c98052f52fe81b3.tar.gz gentoo-fa8baaa642569c262a77e1993c98052f52fe81b3.tar.bz2 gentoo-fa8baaa642569c262a77e1993c98052f52fe81b3.zip |
x11-misc/picom: block on x11-misc/compton
Renaming is in progress upstream, but some installed files still use the
compton alias
Closes: https://bugs.gentoo.org/704884
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'x11-misc/picom/picom-7.5-r1.ebuild')
-rw-r--r-- | x11-misc/picom/picom-7.5-r1.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/x11-misc/picom/picom-7.5-r1.ebuild b/x11-misc/picom/picom-7.5-r1.ebuild new file mode 100644 index 000000000000..23b072007fae --- /dev/null +++ b/x11-misc/picom/picom-7.5-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit meson python-r1 xdg + +DESCRIPTION="A lightweight compositor for X11 (previously a compton fork)" +HOMEPAGE="https://github.com/yshui/picom" +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}" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libev + dev-libs/uthash + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXext + x11-libs/pixman + x11-libs/xcb-util-image + x11-libs/xcb-util-renderutil + config-file? ( + dev-libs/libconfig + dev-libs/libxdg-basedir + ) + dbus? ( sys-apps/dbus ) + drm? ( x11-libs/libdrm ) + opengl? ( virtual/opengl ) + pcre? ( dev-libs/libpcre ) + !x11-misc/compton" +DEPEND="${RDEPEND} + x11-base/xorg-proto" +BDEPEND="virtual/pkgconfig + doc? ( app-text/asciidoc )" + +PATCHES=( + "${FILESDIR}"/${P}-no_opengl.patch + ) + +src_configure() { + local emesonargs=( + $(meson_use config-file 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 +} |