From 1a256280f70812d1ae23f0ce2a2569291b6609da Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 25 Sep 2022 05:33:01 +0100 Subject: gentoo auto-resync : 25:09:2022 - 05:33:00 --- x11-misc/xssstate/xssstate-1.1-r1.ebuild | 42 ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 x11-misc/xssstate/xssstate-1.1-r1.ebuild (limited to 'x11-misc/xssstate/xssstate-1.1-r1.ebuild') diff --git a/x11-misc/xssstate/xssstate-1.1-r1.ebuild b/x11-misc/xssstate/xssstate-1.1-r1.ebuild new file mode 100644 index 000000000000..a28494199a22 --- /dev/null +++ b/x11-misc/xssstate/xssstate-1.1-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="A simple tool to retrieve the X screensaver state" +HOMEPAGE="https://tools.suckless.org/x/xssstate" +SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXScrnSaver +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.20130103-gentoo.patch + "${FILESDIR}"/${PN}-1.1-libdir.patch #732450 +) + +src_compile() { + emake CC="$(tc-getCC)" LIBDIR="${EPREFIX}/usr/$(get_libdir)" +} + +src_install() { + emake install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" + + dodoc README xsidle.sh + doman ${PN}.1 +} -- cgit v1.2.3