app-misc/evemu - 2.7.0 (bombo82)

Search

Install

Install this version:

emerge -a =app-misc/evemu-2.7.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-misc/evemu-2.7.0

Or alternatively:

emerge --autounmask-write -a =app-misc/evemu-2.7.0

Package Information

Description:
tools and bindings for kernel evdev device emulation, data capture, and replay
Homepage:
https://www.freedesktop.org/wiki/Evemu/
License:
LGPL-3 GPL-3

Ebuild Details

Version EAPI Keywords Slot
2.7.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
PYTHON_COMPAT=( python3_{10..14} )

inherit python-single-r1

DESCRIPTION="tools and bindings for kernel evdev device emulation, data capture, and replay"
HOMEPAGE="https://www.freedesktop.org/wiki/Evemu/"
SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"

LICENSE="LGPL-3 GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="python static-libs"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"

RDEPEND="python? ( ${PYTHON_DEPS} )
	>=dev-libs/libevdev-1.2.99.902"
DEPEND="app-arch/xz-utils
	${RDEPEND}"

src_configure() {
	econf \
		$(use_enable static-libs static) \
		$(use_enable python python-bindings)
}

src_test() {
	if use python ; then
		if [[ ! ${EUID} -eq 0 ]] || has sandbox $FEATURES || has usersandbox $FEATURES ; then
			ewarn "Tests require userpriv, sandbox, and usersandbox to be disabled in FEATURES."
		else
			emake check
		fi
	fi
}

src_install() {
	default
	find "${D}" -type f -name '*.la' -delete
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-misc/evemu | euse -E <flag> -p app-misc/evemu | euse -D <flag> -p app-misc/evemu

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

app-arch/xz-utils
	python? (  )
	>=dev-libs/libevdev-1.2.99.902

RDEPEND

python? (  )
	>=dev-libs/libevdev-1.2.99.902

Manifest for 2.7.0

Type File Size Source URLs
DIST evemu-2.7.0.tar.xz 509308 bytes https://www.freedesktop.org/software/evemu/evemu-2.7.0.tar.xz