diff options
author | Sam James <sam@gentoo.org> | 2021-06-12 05:47:06 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-06-12 05:47:06 +0000 |
commit | f7603f093ba039f10009ec1142a7a31fee523a36 (patch) | |
tree | 6a8a7049a47ec894e31fc5a7ecb11a6c638e793d /x11-misc/picom/picom-9999.ebuild | |
parent | x11-libs/xapps: fix prefix install (diff) | |
download | gentoo-f7603f093ba039f10009ec1142a7a31fee523a36.tar.gz gentoo-f7603f093ba039f10009ec1142a7a31fee523a36.tar.bz2 gentoo-f7603f093ba039f10009ec1142a7a31fee523a36.zip |
x11-misc/picom: sync live ebuild, fix tests
Closes: https://bugs.gentoo.org/795489
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc/picom/picom-9999.ebuild')
-rw-r--r-- | x11-misc/picom/picom-9999.ebuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/x11-misc/picom/picom-9999.ebuild b/x11-misc/picom/picom-9999.ebuild index c4a78a4bda5b..a088bc75f1bf 100644 --- a/x11-misc/picom/picom-9999.ebuild +++ b/x11-misc/picom/picom-9999.ebuild @@ -3,7 +3,8 @@ EAPI=7 -inherit git-r3 meson xdg +PYTHON_COMPAT=( python3_{7,8,9} ) +inherit git-r3 python-any-r1 meson virtualx xdg DESCRIPTION="A lightweight compositor for X11 (previously a compton fork)" HOMEPAGE="https://github.com/yshui/picom" @@ -11,8 +12,8 @@ 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" +IUSE="+config-file dbus +doc +drm opengl pcre test" +RESTRICT="!test? ( test )" RDEPEND="dev-libs/libev dev-libs/uthash @@ -33,7 +34,9 @@ RDEPEND="dev-libs/libev DEPEND="${RDEPEND} x11-base/xorg-proto" BDEPEND="virtual/pkgconfig - doc? ( app-text/asciidoc )" + doc? ( app-text/asciidoc ) + test? ( $(python_gen_any_dep 'dev-python/xcffib[${PYTHON_USEDEP}]') ) +" DOCS=( README.md picom.sample.conf ) @@ -56,3 +59,7 @@ src_configure() { meson_src_configure } + +src_test() { + virtx "${S}/tests/run_tests.sh" "${BUILD_DIR}/src/${PN}" +} |