diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /x11-misc/picom | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'x11-misc/picom')
-rw-r--r-- | x11-misc/picom/Manifest | 5 | ||||
-rw-r--r-- | x11-misc/picom/files/picom-7.5-no_opengl.patch | 27 | ||||
-rw-r--r-- | x11-misc/picom/metadata.xml | 16 | ||||
-rw-r--r-- | x11-misc/picom/picom-7.5.ebuild | 63 | ||||
-rw-r--r-- | x11-misc/picom/picom-9999.ebuild | 49 |
5 files changed, 160 insertions, 0 deletions
diff --git a/x11-misc/picom/Manifest b/x11-misc/picom/Manifest new file mode 100644 index 000000000000..a04e33105123 --- /dev/null +++ b/x11-misc/picom/Manifest @@ -0,0 +1,5 @@ +AUX picom-7.5-no_opengl.patch 680 BLAKE2B d0d0e9cf752ac003bc312b736dd64388924b6a0371180da0aac7578a85b988c554c7d30a4e419b930775020b99480fed2c1fbd95868989c94ad9997727fdacfc SHA512 b15c5a471bf343667d3fbc14d16d04789eaadcb2cb906668f6235a085c3a91c2bf0e1f0822a5dc5bab5272ca7b1dd3de97087faa6916526ca49e703ae69772d1 +DIST picom-7.5.tar.gz 219456 BLAKE2B 54113547b575ad6aa1329e92ae331b7d49207fdcdc6b49d31d8ab125f7335730a7e53b260c6a6c33d5350bec1e9e6357fd34023dc7837de165289446f8f492b8 SHA512 6535e5eab1a243bbee62448bc48830b7ea3566f94b2c45d9ca76fd8b8056e1f00e55f0e4b58110364d2c4f56652cc005622d644c1db1db41d2811ecc19e6d44a +EBUILD picom-7.5.ebuild 1319 BLAKE2B 3eedb0c1c067387f223bee4876ef26d6a4398edfe799ddb8e0863fbc95b7710473a7c1221e74d130ac24f60b567c6d64f53b8c13d4f058b159297a56a5207b10 SHA512 d83a6f837462b0853f9ff0e42497440be1008914209ee609cf48c0e96bec1531d79155192dcf5621b5ade55fb9e837d789ec93a8dcb68808fb93fb388ab82c36 +EBUILD picom-9999.ebuild 1037 BLAKE2B e56f67c6bfaddb20669f4a298cdafbb96870757ce2ac9659b05758f82c8dc893f3188b606150b859b7def9c61abc9acf20b2c62d4b4a623fb3c3dd841ee8e88a SHA512 3102f7c837005513855a3ca06d4f219cf3fe816b1e546e9c0e98f913fef6acb980979efcd5b1decd759f799ee2178a9b37a2bb5487caecbbd57a7365a27dbb4a +MISC metadata.xml 577 BLAKE2B 03bf133766c29ef57009d5f5ccec8d6557dbf2acde1a234dadcd6a49fdb20f0b59c2dc4c6aaca4dc9f668e31d067e98491916c040c1992e6e845c0efae9dda10 SHA512 46f801d5a03d4dd377232a866a40d90316f5f93746cdb89e179df65c0dc333d338e49070dcc5f49eeac6625c1376c678fbdc326e140902c0bb28cff4ea4c515b diff --git a/x11-misc/picom/files/picom-7.5-no_opengl.patch b/x11-misc/picom/files/picom-7.5-no_opengl.patch new file mode 100644 index 000000000000..ca9f715140ee --- /dev/null +++ b/x11-misc/picom/files/picom-7.5-no_opengl.patch @@ -0,0 +1,27 @@ +From bd5a5fb56812ee5644e4c4bd1fdd82b9899317a7 Mon Sep 17 00:00:00 2001 +From: Jan Beich <jbeich@FreeBSD.org> +Date: Sat, 12 Oct 2019 13:29:10 +0000 +Subject: [PATCH] Unbreak -Dopengl=false clean build + +In file included from ../src/x.c:17: +../src/backend/gl/glx.h:10:10: fatal error: 'GL/glx.h' file not found + #include <GL/glx.h> + ^~~~~~~~~~ +--- + src/x.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/x.c b/src/x.c +index ed6668a8..2f802f1e 100644 +--- a/src/x.c ++++ b/src/x.c +@@ -14,7 +14,9 @@ + #include <xcb/xfixes.h> + + #include "atom.h" ++#ifdef CONFIG_OPENGL + #include "backend/gl/glx.h" ++#endif + #include "common.h" + #include "compiler.h" + #include "kernel.h" diff --git a/x11-misc/picom/metadata.xml b/x11-misc/picom/metadata.xml new file mode 100644 index 000000000000..1cda4a2c157c --- /dev/null +++ b/x11-misc/picom/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> + </maintainer> + <use> + <flag name="config-file">Enable config file support</flag> + <flag name="drm">Enable support for using drm for vsync</flag> + <flag name="opengl">Enable features that require opengl (opengl backend, and opengl vsync methods)</flag> + </use> + <upstream> + <remote-id type="github">yshui/picom</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-misc/picom/picom-7.5.ebuild b/x11-misc/picom/picom-7.5.ebuild new file mode 100644 index 000000000000..5c07720ed5f7 --- /dev/null +++ b/x11-misc/picom/picom-7.5.ebuild @@ -0,0 +1,63 @@ +# 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/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 )" +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 +} diff --git a/x11-misc/picom/picom-9999.ebuild b/x11-misc/picom/picom-9999.ebuild new file mode 100644 index 000000000000..2141a6126a2d --- /dev/null +++ b/x11-misc/picom/picom-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 meson xdg + +DESCRIPTION="A lightweight compositor for X11 (previously a compton fork)" +HOMEPAGE="https://github.com/yshui/picom" +EGIT_REPO_URI="https://github.com/yshui/picom.git" + +LICENSE="MPL-2.0 MIT" +SLOT="0" +KEYWORDS="" +IUSE="+config-file dbus doc +drm opengl pcre" + +RDEPEND="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 )" +DEPEND="${RDEPEND} + x11-base/xorg-proto" +BDEPEND="virtual/pkgconfig + doc? ( app-text/asciidoc )" + +src_configure() { + local emesonargs=( + $(meson_use config-file config_file) + $(meson_use dbus) + $(meson_use doc with_docs) + $(meson_use opengl) + $(meson_use pcre regex) + ) + + meson_src_configure + +} |