evtest: import latest stable

Grab the latest version from upstream Gentoo so we can drop the
copy in the chromiumos-overlay.

This one also includes pre-generated man-pages which side steps
random build failures due to broken dtd/sgml catalogs.

BUG=None
TEST=`emerge-amd64-generic evtest` works
TEST=`emerge-arm-generic evtest` works
TEST=`emerge-x86-generic evtest` works

Change-Id: Ie04f8dd1f6f91e019959277b44b1a6c09ddabb06
Reviewed-on: https://gerrit.chromium.org/gerrit/19160
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
Mike Frysinger 2012-03-27 11:48:02 -04:00 committed by Gerrit
parent ac7ba00806
commit 35ea6734fa
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST evtest-1.29-mans.tar.xz 2108 RMD160 5ca7166d23e3f681c1d99a8520ead9145d201fa9 SHA1 ab26291d10758f2c580d93162d3cc4462ed4acd3 SHA256 8f5c92bb15671fd1acc3a4e66c8218115ff8f6365c4fc3ca491a728bdeff3231
DIST evtest-1.29.tar.bz2 21930 RMD160 130b21fd87c8024e8c4e689bf00a830eefad9980 SHA1 6c57202d9a794c423ef07ad4f516edab80257215 SHA256 6373c66e72cd461879f9fc6ee19b5b508ae1d6d365660a00cb8bcee7f415bb90

View File

@ -0,0 +1,37 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/evtest/evtest-1.29.ebuild,v 1.2 2012/03/27 15:47:09 vapier Exp $
EAPI="4"
inherit autotools eutils
DESCRIPTION="test program for capturing input device events"
HOMEPAGE="http://cgit.freedesktop.org/evtest/"
SRC_URI="http://cgit.freedesktop.org/evtest/snapshot/${P}.tar.bz2
mirror://gentoo/${P}-mans.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE="+xml"
# We bundled the man pages ourselves to avoid xmlto/asciidoc.
# We need libxml2 for the capture tool. While at runtime,
# we have a file that can be used with xsltproc, we don't
# directly need it ourselves, so don't depend on libxslt.
RDEPEND="xml? ( dev-libs/libxml2 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_prepare() {
# No pretty configure flag :/
sed -i -r \
-e "s:HAVE_LIBXML=(yes|no):HAVE_LIBXML=$(usex xml):g" \
configure.ac || die
# We pre-compile the man pages.
export XMLTO=/bin/true ASCIIDOC=/bin/true
eautoreconf
}