Install this version:
emerge -a =app-misc/umouse-1.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-misc/umouse-1.0
Or alternatively:
emerge --autounmask-write -a =app-misc/umouse-1.0
# Copyright 1999-2026 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Unlocks the mouse pointer when an SDL app crashes"
HOMEPAGE="https://icculus.org/lgfaq/#umouse"
SRC_URI="https://icculus.org/misc/${PN}.c"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="media-libs/libsdl"
DEPEND=${RDEPEND}
S="${WORKDIR}"
src_unpack() {
cp "${DISTDIR}"/${A} "${WORKDIR}"/
}
src_compile() {
echo "$(tc-getCC) $(sdl-config --cflags) $(sdl-config --libs) ${LDFLAGS} ${CFLAGS} -o ${PN} ${PN}.c"
$(tc-getCC) $(sdl-config --cflags) $(sdl-config --libs) ${LDFLAGS} ${CFLAGS} -o ${PN} ${PN}.c
}
src_install() {
dobin umouse
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | umouse.c | 1297 bytes | https://icculus.org/misc/umouse.c |