diff --git a/x11-misc/xbanish/Manifest b/x11-misc/xbanish/Manifest index dd29d02ca8..086b2d129d 100644 --- a/x11-misc/xbanish/Manifest +++ b/x11-misc/xbanish/Manifest @@ -1 +1,2 @@ DIST xbanish-1.8.tar.gz 7082 BLAKE2B 2b54a93754264723b6c18d089db40aae902a8e406d919ffbc42d01cd4b85675477cef9c586c09cbf3f518a84aff9f33069cc228627d9967ae182fac545b1a6e5 SHA512 d6c3434f38bd0c9aabdc8745cb46ad196df379acae156f2f282aba83f69ecb88164fe752cd868e63ab887ca5758fbfd502d709c811843fe1deafd880e161a972 +DIST xbanish-1.8_p20230519.tar.gz 7357 BLAKE2B 0e39657000fafef6ca2e2020c01b7a4511a9f094fd35deba3c23e61ddc9c0c13aafc9e47c92a073e737a9c1be9a494224fd5081ef89f9637d197b841d3024a06 SHA512 8ab02a78a4e1b86111c0c100044f850185d9365d02f2f09138da2b2b0a7bc3ea3f54491e25fb618b015f3741656f60561cb14a68e93c054f69e8318b444aa1bb diff --git a/x11-misc/xbanish/xbanish-1.8_p20230519.ebuild b/x11-misc/xbanish/xbanish-1.8_p20230519.ebuild new file mode 100644 index 0000000000..da0ccba5f1 --- /dev/null +++ b/x11-misc/xbanish/xbanish-1.8_p20230519.ebuild @@ -0,0 +1,35 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Banish the mouse cursor when typing, show it again when the mouse moves" +HOMEPAGE="https://github.com/jcs/xbanish" + +COMMIT="189ce79b1df4eb4995980530ebc3d28715a67488" +SRC_URI="https://github.com/jcs/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +KEYWORDS="~amd64" +LICENSE="ISC" +SLOT="0" +IUSE="" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXext +" +DEPEND="${RDEPEND}" + +src_compile() { + emake CC=$(tc-getCC) +} + +src_install() { + dobin xbanish + doman xbanish.1 +}