summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/evemu/ChangeLog10
-rw-r--r--sys-apps/evemu/Manifest5
-rw-r--r--sys-apps/evemu/evemu-1.0.10.ebuild42
-rw-r--r--sys-apps/evemu/files/evemu-1.0.10-werror.patch20
-rw-r--r--sys-apps/evemu/metadata.xml5
5 files changed, 82 insertions, 0 deletions
diff --git a/sys-apps/evemu/ChangeLog b/sys-apps/evemu/ChangeLog
new file mode 100644
index 000000000..ddf914df0
--- /dev/null
+++ b/sys-apps/evemu/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-apps/evemu
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*evemu-1.0.10 (03 Jan 2013)
+
+ 03 Jan 2013; Matthew Schultz (mschultz) <mattsch@gmail.com>
+ +evemu-1.0.10.ebuild, +files/evemu-1.0.10-werror.patch, +metadata.xml:
+ New Ebuild for bug #450068. Thanks hasufell and mrueg for the review.
+
diff --git a/sys-apps/evemu/Manifest b/sys-apps/evemu/Manifest
new file mode 100644
index 000000000..507266f3c
--- /dev/null
+++ b/sys-apps/evemu/Manifest
@@ -0,0 +1,5 @@
+AUX evemu-1.0.10-werror.patch 685 SHA256 46116020aba5a7367ef922aef71a680d7f06862026bc26899add7d634e8a0c9b SHA512 e08501e66d03b888719d976011a34b7c1882d4c679bf5cb66561b0e81b539e1e611a6500869883b2d3db0d38e1fddad53c6c8c935454e3ff57a0c75e279083b0 WHIRLPOOL 1faf9029a0c4d05d9096bf4fc37394c6ec9122c647d3cfa9230ea3b07aa1d94c9c9ee06aaf000fc5ac0ec294484f7b146937c4a50b8f01f19352e5442ab411c5
+DIST evemu-1.0.10.tar.gz 678206 SHA256 5096853ca4b30dbd25cfbd9eda1e511d25076415f37e3d90c61da36c2c53dd69 SHA512 a034367b9e931c9b7474a83b99a6fde38dad39e23e7b411097c3e28b70bf4e82d172be5a8f94d6a00daf776f22b00567c690a8c5741a281032a4bae4c945b581 WHIRLPOOL 1624618b0eb7aa17acf2b1072dc5cb30edbaec2ab16b0a2597567b2c14637361b619c29764ac6c2620a454a66df5a5bcf7baacd6e0f1987bdeaf4282548d2b40
+EBUILD evemu-1.0.10.ebuild 968 SHA256 14e9131dadf7deebb735ae9f264aec16062368857852eb872142c353b61a155e SHA512 4454dc9b915f424e0ae620049526c0a5e648db75b86abe979990aed4856e7eb164d9cba749df1ff44f7c5a15c3361f52b80a5e80c2f744a126199405f9aed969 WHIRLPOOL 3e15ebf4bdc87d8be6371d8ea53ece7d7d8488adf73fab1591659025af6724ba0895a3d47e22e2cf93eb86cdd03d9633b5151945c116869fbc30bcad4810e7e3
+MISC ChangeLog 352 SHA256 85d85f0da156fd31e7dcd9b7e0e8c36cd7ee499273e41aed50be8c7387c52b8f SHA512 2f47545c29264f9c6223917cde92594cedbb014b02de898f5875af9624af1b59f4696250e7caf756172ea41c8b502a27a474619b8f60cdeaa60cd8ac291a291e WHIRLPOOL a91669130049de56ec48447f9ac3bcab3d0150e9be0df08121fe9d0183c3336f9218a496c24f36ceb1710c499271cfe2a5b0e16d5b0aeed3c4a830f1d82ccc50
+MISC metadata.xml 210 SHA256 cdf0ecda9587c6491ba741e7684999763a7db81c85fe05120cca9cac810612f4 SHA512 f8c1a726179579d88f8378454feb623a4138ea58f6151919ac925c7d8af120e5ae8960542699412110d74bae34769f17f59540492f801f355ee014fb0a03ff15 WHIRLPOOL ad7fee0693863893e26dddd465aefdad33e52f47d0f345810708f7d5a0cffea1011ef36191b5fdb12cbd03faabd8561e634f619cac91d2c4ce002552d5c27e9c
diff --git a/sys-apps/evemu/evemu-1.0.10.ebuild b/sys-apps/evemu/evemu-1.0.10.ebuild
new file mode 100644
index 000000000..500246a7f
--- /dev/null
+++ b/sys-apps/evemu/evemu-1.0.10.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_{6,7} )
+
+inherit autotools eutils python-single-r1
+
+DESCRIPTION="Tools and bindings for kernel input event device emulation, data capture and replay"
+HOMEPAGE="https://launchpad.net/evemu"
+SRC_URI="http://launchpad.net/${PN}/trunk/${P}/+download/${P}.tar.gz"
+
+LICENSE="LGPL-3 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="app-text/asciidoc
+ app-text/xmlto
+ ${RDEPEND}"
+
+src_prepare() {
+ # add --disable-werror flag - upstream bug: https://bugs.launchpad.net/evemu/+bug/1095836
+ epatch "${FILESDIR}"/${P}-werror.patch
+ eautoreconf
+
+ sed -e "s|${PN}|man1/${PN}|" -i tools/${PN}-record.1 tools/${PN}-play.1 || die
+}
+
+src_configure() {
+ econf \
+ --disable-werror \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ use static-libs || prune_libtool_files
+}
diff --git a/sys-apps/evemu/files/evemu-1.0.10-werror.patch b/sys-apps/evemu/files/evemu-1.0.10-werror.patch
new file mode 100644
index 000000000..333b2b767
--- /dev/null
+++ b/sys-apps/evemu/files/evemu-1.0.10-werror.patch
@@ -0,0 +1,20 @@
+diff -u -r evemu-1.0.10-orig/configure.ac evemu-1.0.10/configure.ac
+--- evemu-1.0.10-orig/configure.ac 2013-01-03 14:39:47.816749652 -0600
++++ evemu-1.0.10/configure.ac 2013-01-03 15:40:16.566917042 -0600
+@@ -35,9 +35,14 @@
+ AC_MSG_WARN([xmlto or asciidoc not found - cannot create man pages without it])
+ fi
+
+-AC_SUBST(AM_CFLAGS,
+- "-Wall -Wextra -pedantic -Werror -std=gnu99 -D_GNU_SOURCE=1")
++AC_ARG_ENABLE([werror],
++ [AC_HELP_STRING([--disable-werror],
++ [build without gcc -Werror])],
++ [],
++ [WERROR="-Werror"])
+
++AC_SUBST(AM_CFLAGS,
++ "-Wall -Wextra -pedantic $WERROR -std=gnu99 -D_GNU_SOURCE=1")
+
+ AC_CONFIG_FILES([Makefile
+ src/Makefile
diff --git a/sys-apps/evemu/metadata.xml b/sys-apps/evemu/metadata.xml
new file mode 100644
index 000000000..e95ecf8be
--- /dev/null
+++ b/sys-apps/evemu/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>