diff options
author | Tim Harder <radhermit@gentoo.org> | 2017-09-26 18:40:12 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2017-09-27 05:00:28 -0400 |
commit | 3be625eed16ae07e0533b00ad38a84ffa1c8dde5 (patch) | |
tree | 1738e7fc75ac1d18998cdbf292913320aec78a75 /app-misc/evemu/evemu-2.7.0.ebuild | |
parent | dev-java/icedtea-bin: stable 3.5.1 for ppc64, bug #626088 (diff) | |
download | gentoo-3be625eed16ae07e0533b00ad38a84ffa1c8dde5.tar.gz gentoo-3be625eed16ae07e0533b00ad38a84ffa1c8dde5.tar.bz2 gentoo-3be625eed16ae07e0533b00ad38a84ffa1c8dde5.zip |
app-misc/evemu: version bump to 2.7.0
Diffstat (limited to 'app-misc/evemu/evemu-2.7.0.ebuild')
-rw-r--r-- | app-misc/evemu/evemu-2.7.0.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-misc/evemu/evemu-2.7.0.ebuild b/app-misc/evemu/evemu-2.7.0.ebuild new file mode 100644 index 000000000000..8ac8d69567ec --- /dev/null +++ b/app-misc/evemu/evemu-2.7.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit ltprune 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 + prune_libtool_files +} |