aboutsummaryrefslogtreecommitdiff
blob: da0ccba5f1c698dc0e5be96665823e3979e9aace (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
}