commit: 52dafa2eb4e09f6314fd42ad716a4b610b59ee58 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Sat Dec 14 15:20:24 2024 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Sat Dec 14 15:24:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52dafa2e
x11-misc/xsnow: declare test dependencies Closes: https://bugs.gentoo.org/946356 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> x11-misc/xsnow/xsnow-3.8.1.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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
