summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2024-12-14 16:20:24 +0100
committerFlorian Schmaus <flow@gentoo.org>2024-12-14 16:24:13 +0100
commit52dafa2eb4e09f6314fd42ad716a4b610b59ee58 (patch)
treee4a7b69ba992ec7bc94e15a7c4e2d8366d999b74 /x11-misc
parentsys-kernel/zen-sources: Use latest genpatchset (diff)
downloadgentoo-52dafa2eb4e09f6314fd42ad716a4b610b59ee58.tar.gz
gentoo-52dafa2eb4e09f6314fd42ad716a4b610b59ee58.tar.bz2
gentoo-52dafa2eb4e09f6314fd42ad716a4b610b59ee58.zip
x11-misc/xsnow: declare test dependencies
Closes: https://bugs.gentoo.org/946356 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xsnow/xsnow-3.8.1.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/x11-misc/xsnow/xsnow-3.8.1.ebuild b/x11-misc/xsnow/xsnow-3.8.1.ebuild
index 6964d729ff1c..101e3112470c 100644
--- a/x11-misc/xsnow/xsnow-3.8.1.ebuild
+++ b/x11-misc/xsnow/xsnow-3.8.1.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
+
inherit autotools xdg
DESCRIPTION="let it snow on your desktop and windows"
@@ -10,7 +11,10 @@ SRC_URI="https://www.ratrabbit.nl/downloads/xsnow/${P}.tar.gz"
LICENSE="freedist"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+
+IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/glib:2
@@ -29,6 +33,12 @@ RDEPEND="
DEPEND="
${RDEPEND}
x11-base/xorg-proto
+ test? (
+ media-gfx/scrot
+ x11-apps/xdpyinfo
+ x11-base/xorg-server[xvfb]
+ x11-misc/xdotool
+ )
"
PATCHES=(
"${FILESDIR}"/${PN}-3.0.7-gamesdir.patch