app-misc/umouse - 1.0 (haarp)

Search

Install

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

Package Information

Description:
Unlocks the mouse pointer when an SDL app crashes
Homepage:
https://icculus.org/lgfaq/#umouse

Ebuild Details

Version EAPI Keywords Slot
1.0 8 ~amd64 ~x86 0
View Raw Ebuild
# 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
}

Inherited Eclasses

Dependencies

DEPEND

media-libs/libsdl

RDEPEND

media-libs/libsdl

Manifest for 1.0

Type File Size Source URLs
DIST umouse.c 1297 bytes https://icculus.org/misc/umouse.c