app-misc/evemu: version bump
authorTim Harder <radhermit@gentoo.org>
Tue, 25 Aug 2015 03:10:06 +0000 (23:10 -0400)
committerTim Harder <radhermit@gentoo.org>
Tue, 25 Aug 2015 03:24:28 +0000 (23:24 -0400)
app-misc/evemu/Manifest
app-misc/evemu/evemu-2.2.0.ebuild [new file with mode: 0644]

index 20dd2d0db8f2e2895e4df7b085dd44610c9745de..2b654a262644ae65a341f7dc0d59df44d2a2548f 100644 (file)
@@ -1,3 +1,4 @@
 DIST evemu-1.2.0.tar.xz 498400 SHA256 bcc2a97a8e10048ff6b9122180d27ccada63d4f8ca89e61e962201a13551f475 SHA512 41bef7b2e0f0769e4affb5633f41e5352224f5acfb5a001a27548f2236a1dc23d444bbfc3e93ea8eb518a7f4e628185eef9ca5ecefa4d87b201224bfeee28044 WHIRLPOOL 31879f637959265f7c8067c8dedd2b57fa82aeaac94af53fd42270715579163165f7a3d4fb460f2d15080c42d467c4a872c1dbc964018b684f32db49613ef97b
 DIST evemu-2.0.0.tar.xz 508212 SHA256 2734e980c2bd7450270aec49a14e04d0042a6d39d3946c23ed99a3f86c9af061 SHA512 4853c36dda5e5e015561cffe0cbfbe8e17c10562c7842dd0d9a969cd1b26a1513be49f4310733be862c847828b6dae1cb77b0ae6c98463fcd7cf8619f6502053 WHIRLPOOL a222ebd92c146e3a787b6a51ea5edb2aa373ce2be1b2b82988786e575f744ac206febce0af5c0e2be3c2e43b1155f387e6db5f1dcde5e0aa739ca09ab0f8d111
 DIST evemu-2.1.0.tar.xz 502240 SHA256 0c87360882751356e9f977ebf7438c00fe97deb232ac725dd86e5ba78203ee97 SHA512 16ed613aa465d85f617a5dd6b958b0480c55477836effc86c293facdb500152d5b387a79f14802f2db6a3c721cc754cac2e8fc605f5e689962742b8fc361c81b WHIRLPOOL bc4e9631eebe6329d726adf853e8ef716246d70cf4f3ee50497bec6d654c8483c9291a40f532d488813d0c2568cd106e03a131cfa6aab86f037ad3ee1f0a8d18
+DIST evemu-2.2.0.tar.xz 492184 SHA256 e0f79808959d1b1f307a3d5add8ee9e5786d926e9aeb0045dadb85c7350d0a3c SHA512 638fa4962dae2aa88d70d1c30a244eab67ccc102af47a6de4b93f32b9f2b9d767d7f358efb71964c62f461e93c431bb679ad7019e2509f0cd4c02bd0e94a29d9 WHIRLPOOL 0f7cd045a8ad217a562fe640c5fc0f0bff890a725e1786741a5a412f24a866c997f18bf0dd404a804ed2e0718b85464797d21e1f8a3fdbee63216504d12ac09e
diff --git a/app-misc/evemu/evemu-2.2.0.ebuild b/app-misc/evemu/evemu-2.2.0.ebuild
new file mode 100644 (file)
index 0000000..8706139
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+inherit autotools-utils python-single-r1
+
+DESCRIPTION="Tools and bindings for kernel input event device emulation, data capture, and replay"
+HOMEPAGE="http://www.freedesktop.org/wiki/Evemu/"
+SRC_URI="http://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}"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.2.0-install-man.patch )
+
+src_prepare() {
+       if ! use python ; then
+               sed '/SUBDIRS/s/python//' -i Makefile.am || die
+       fi
+       autotools-utils_src_prepare
+}
+
+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
+}