1 # Copyright 2020-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION
="Picom (née Compton) is an X compositor with XRender and OpenGL/ES 3.0 support."
11 KEYWORDS
="~amd64 ~x86"
12 IUSE
="dbus drm +doc +libconfig +opengl +pcre"
14 inherit fcaps github-pkg meson xdg
16 if [[ ${PV} != "9999" ]]; then
18 SRC_URI
="${GITHUB_HOMEPAGE}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
19 S
="${WORKDIR}/${PN}-${MY_PV}"
24 >=x11-libs/libxcb-1.9.2
29 x11-libs/libXcomposite
32 x11-libs/xcb-util-image
33 x11-libs/xcb-util-renderutil
34 dbus? ( sys-apps/dbus )
35 drm? ( x11-libs/libdrm )
36 libconfig? ( >=dev-libs/libconfig-1.4:= )
37 opengl? ( media-libs/libepoxy )
38 pcre? ( dev-libs/libpcre2:= )"
41 BDEPEND
="doc? ( app-text/asciidoc )"
43 FILECAPS
=( -m 755 cap_sys_nice
+ep
"usr/bin/${PN}" )
46 # TODO: support FEATURES=test properly
49 "$(meson_use doc with_docs)"
50 "$(meson_use drm vsync_drm)"
51 "$(meson_use libconfig config_file)"
53 "$(meson_use pcre regex)"
63 dodoc .
/*-fshader-win.glsl .
/*.sample.conf
65 dodoc
-r dbus-examples
/