From: "Vadim A. Misbakh-Soloviov" <mva@mva.name>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/lua:master commit in: dev-lua/lua-evdev/
Date: Sun, 15 Apr 2018 23:01:18 +0000 (UTC) [thread overview]
Message-ID: <1523833266.eb37a05d84673c70d09a05fcaf36c4da5e1af563.mva@gentoo> (raw)
commit: eb37a05d84673c70d09a05fcaf36c4da5e1af563
Author: Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name>
AuthorDate: Sun Apr 15 23:01:06 2018 +0000
Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Sun Apr 15 23:01:06 2018 +0000
URL: https://gitweb.gentoo.org/proj/lua.git/commit/?id=eb37a05d
lua-evdev: added
dev-lua/lua-evdev/lua-evdev-9999.ebuild | 54 +++++++++++++++++++++++++++++++++
dev-lua/lua-evdev/metadata.xml | 14 +++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-lua/lua-evdev/lua-evdev-9999.ebuild b/dev-lua/lua-evdev/lua-evdev-9999.ebuild
new file mode 100644
index 0000000..2f1392c
--- /dev/null
+++ b/dev-lua/lua-evdev/lua-evdev-9999.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VCS="git"
+LUA_COMPAT="lua51 lua52 lua53 luajit2"
+GITHUB_A="Tangent128"
+GITHUB_A="zhangxiangxiao"
+
+inherit lua
+
+DESCRIPTION="Lua module for reading Linux input events from /dev/input/eventXX nodes"
+HOMEPAGE="https://github.com/Tangent128/lua-evdev"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="examples"
+
+RDEPEND=""
+DEPEND="
+ ${RDEPEND}
+"
+
+DOCS=(README.md)
+EXAMPLES=(example/.)
+
+all_lua_prepare() {
+ sed -r \
+ -e '1iCC ?= gcc' \
+ -e '/^CFLAGS/s@$@ -I.@' \
+ -e 's@gcc@\$\(CC\)@g' \
+ -i Makefile
+ lua_default
+}
+
+each_lua_prepare() {
+ lua_is_jit && (
+ sed -r \
+ -e '/^CFLAGS/s@\$\(COMPAT_CFLAGS\) -I.@@' \
+ -e '/^CORE_C/s@(evdev/core.c) .*@\1@' \
+ -i Makefile
+ sed -r \
+ -e '/#include "compat53\/compat-5.3.h"/d' \
+ -i evdev/core.c
+ )
+ lua_default
+}
+
+each_lua_install() {
+ rm evdev/core.c
+ dolua evdev evdev.lua
+}
diff --git a/dev-lua/lua-evdev/metadata.xml b/dev-lua/lua-evdev/metadata.xml
new file mode 100644
index 0000000..23da526
--- /dev/null
+++ b/dev-lua/lua-evdev/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>mva@mva.name</email>
+ <description>
+ If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet.
+ </description>
+ <name>Vadim A. Misbakh-Soloviov</name>
+</maintainer>
+<longdescription>FIXME</longdescription>
+<use>
+</use>
+</pkgmetadata>
reply other threads:[~2018-04-15 23:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1523833266.eb37a05d84673c70d09a05fcaf36c4da5e1af563.mva@gentoo \
--to=mva@mva.name \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox