summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-misc/picom/picom-8-r1.ebuild8
-rw-r--r--x11-misc/picom/picom-8.2-r2.ebuild8
-rw-r--r--x11-misc/picom/picom-9999.ebuild8
3 files changed, 24 insertions, 0 deletions
diff --git a/x11-misc/picom/picom-8-r1.ebuild b/x11-misc/picom/picom-8-r1.ebuild
index ff42b3981ea5..a266247cac0b 100644
--- a/x11-misc/picom/picom-8-r1.ebuild
+++ b/x11-misc/picom/picom-8-r1.ebuild
@@ -42,6 +42,14 @@ BDEPEND="virtual/pkgconfig
test? ( $(python_gen_any_dep 'dev-python/xcffib[${PYTHON_USEDEP}]') )
"
+python_check_deps() {
+ has_version -b "dev-python/xcffib[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+}
+
src_configure() {
local emesonargs=(
$(meson_use config-file config_file)
diff --git a/x11-misc/picom/picom-8.2-r2.ebuild b/x11-misc/picom/picom-8.2-r2.ebuild
index b0f968999550..022f196ec4f0 100644
--- a/x11-misc/picom/picom-8.2-r2.ebuild
+++ b/x11-misc/picom/picom-8.2-r2.ebuild
@@ -44,6 +44,14 @@ BDEPEND="virtual/pkgconfig
DOCS=( README.md picom.sample.conf )
+python_check_deps() {
+ has_version -b "dev-python/xcffib[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+}
+
src_configure() {
local emesonargs=(
$(meson_use config-file config_file)
diff --git a/x11-misc/picom/picom-9999.ebuild b/x11-misc/picom/picom-9999.ebuild
index ae0a2c9641a2..c4a78a4bda5b 100644
--- a/x11-misc/picom/picom-9999.ebuild
+++ b/x11-misc/picom/picom-9999.ebuild
@@ -37,6 +37,14 @@ BDEPEND="virtual/pkgconfig
DOCS=( README.md picom.sample.conf )
+python_check_deps() {
+ has_version -b "dev-python/xcffib[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+}
+
src_configure() {
local emesonargs=(
$(meson_use config-file config_file)