dev-python/conda-libmamba-solver: bump version to 24.11.1
[gentoo-zh.git] / x11-misc / extramaus / extramaus-3.ebuild
blob89e9b380899db030fbcce4469090cb12e6160f13
1 # Copyright 2023 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 DESCRIPTION="workaround to always show mouse cursor under x11"
7 HOMEPAGE="https://aur.archlinux.org/packages/extramaus"
8 SRC_URI="https://gist.githubusercontent.com/ibLeDy/aecab4b95b242ff07108c6d58e35d421/raw/44f2188279b4aec54f0d667bda72e542829c3240/extramaus.c"
10 inherit toolchain-funcs
12 SLOT="0"
13 KEYWORDS="~amd64"
14 #https://gist.github.com/ibLeDy/aecab4b95b242ff07108c6d58e35d421#file-extramaus-c-L18-L36
15 LICENSE="GPL-3+"
16 DEPEND="x11-libs/libX11
17 x11-libs/libXext"
19 RDEPEND="${DEPEND}"
21 S="${WORKDIR}"
23 src_unpack(){
24 cp "${DISTDIR}/extramaus.c" "${S}/"
27 src_compile(){
28 CC=$(tc-getCC)
29 $CC ${CFLAGS} ${LDFLAGS} extramaus.c -o extramaus -lX11 -lXext
32 src_install(){
33 dobin extramaus