From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2FF941382C5 for ; Sun, 15 Apr 2018 23:01:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45957E0809; Sun, 15 Apr 2018 23:01:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 23673E0809 for ; Sun, 15 Apr 2018 23:01:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D5780335C73 for ; Sun, 15 Apr 2018 23:01:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED3F9288 for ; Sun, 15 Apr 2018 23:01:18 +0000 (UTC) From: "Vadim A. Misbakh-Soloviov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Vadim A. Misbakh-Soloviov" Message-ID: <1523833266.eb37a05d84673c70d09a05fcaf36c4da5e1af563.mva@gentoo> Subject: [gentoo-commits] proj/lua:master commit in: dev-lua/lua-evdev/ X-VCS-Repository: proj/lua X-VCS-Files: dev-lua/lua-evdev/lua-evdev-9999.ebuild dev-lua/lua-evdev/metadata.xml X-VCS-Directories: dev-lua/lua-evdev/ X-VCS-Committer: mva X-VCS-Committer-Name: Vadim A. Misbakh-Soloviov X-VCS-Revision: eb37a05d84673c70d09a05fcaf36c4da5e1af563 X-VCS-Branch: master Date: Sun, 15 Apr 2018 23:01:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ce916a36-ea03-4240-8337-18ab38346dda X-Archives-Hash: 8d564ef054931df9101531afc7cdab9b commit: eb37a05d84673c70d09a05fcaf36c4da5e1af563 Author: Vadim A. Misbakh-Soloviov mva name> AuthorDate: Sun Apr 15 23:01:06 2018 +0000 Commit: Vadim A. Misbakh-Soloviov mva 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 @@ + + + + + mva@mva.name + + If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet. + + Vadim A. Misbakh-Soloviov + +FIXME + + +