From: "Aisha Tammy" <gentoo@aisha.cc>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/asus-touchpad-numpad-driver/
Date: Sat, 23 Jul 2022 07:50:20 +0000 (UTC) [thread overview]
Message-ID: <1658562591.901ed100ee980714008b35883655e71a04c58eb6.epsilon-0@gentoo> (raw)
commit: 901ed100ee980714008b35883655e71a04c58eb6
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Sat Jul 23 07:49:45 2022 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Sat Jul 23 07:49:51 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=901ed100
sys-apps/asus-touchpad-numpad-driver: initial import
asus touchpad/numpad drivers supporting multiple layouts
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
sys-apps/asus-touchpad-numpad-driver/Manifest | 1 +
...sus-touchpad-numpad-driver-0_pre20220311.ebuild | 51 ++++++++++++++++++++++
.../asus-touchpad-numpad-driver-9999.ebuild | 51 ++++++++++++++++++++++
sys-apps/asus-touchpad-numpad-driver/metadata.xml | 8 ++++
4 files changed, 111 insertions(+)
diff --git a/sys-apps/asus-touchpad-numpad-driver/Manifest b/sys-apps/asus-touchpad-numpad-driver/Manifest
new file mode 100644
index 000000000..e9cc0b5b3
--- /dev/null
+++ b/sys-apps/asus-touchpad-numpad-driver/Manifest
@@ -0,0 +1 @@
+DIST asus-touchpad-numpad-driver-0_pre20220311.tar.gz 612461 BLAKE2B 962f7d044401067e779a070797a281cfabf8f0c4496e9791bef968014506bd8d6ae90151a9086273494f98b410a8e800b78214453da4444a20a94ec583c0d731 SHA512 69fe5165b70ad64857d13ba689fd412ba8a50d2c7f97a18c778b04ff03b53c1620bc774c45b00eaa7e9c51e94ad16e693ba8176872dd9fcfe1ded5b2cb78ed56
diff --git a/sys-apps/asus-touchpad-numpad-driver/asus-touchpad-numpad-driver-0_pre20220311.ebuild b/sys-apps/asus-touchpad-numpad-driver/asus-touchpad-numpad-driver-0_pre20220311.ebuild
new file mode 100644
index 000000000..a8cffad00
--- /dev/null
+++ b/sys-apps/asus-touchpad-numpad-driver/asus-touchpad-numpad-driver-0_pre20220311.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit linux-info python-single-r1
+
+DESCRIPTION="Feature-rich configurable Asus NumPad drivers"
+HOMEPAGE="https://github.com/mohamed-badaoui/asus-touchpad-numpad-driver"
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/mohamed-badaoui/asus-touchpad-numpad-driver"
+else
+ COMMIT="a2bada610ebb3fc002fceb53ddf93bc799241867"
+ SRC_URI="https://github.com/mohamed-badaoui/asus-touchpad-numpad-driver/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${PN}-${COMMIT}"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+ dev-libs/libevdev
+ sys-apps/i2c-tools
+ $(python_gen_cond_dep '
+ dev-python/python-evdev[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/python-libevdev[${PYTHON_USEDEP}]
+ ')
+"
+RDEPEND="
+ ${DEPEND}
+ ${PYTHON_DEPS}
+"
+
+src_install() {
+ exeinto /usr/libexec/${PN}
+ doexe asus_touchpad.py
+ insinto /usr/libexec/${PN}
+ doins -r numpad_layouts
+
+ python_fix_shebang ${ED}/usr/libexec/${PN}/asus_touchpad.py
+
+ python_optimize ${ED}/usr/libexec/${PN}
+
+ dosym ../libexec/${PN}/asus_touchpad.py /usr/bin/asus_touchpad
+}
diff --git a/sys-apps/asus-touchpad-numpad-driver/asus-touchpad-numpad-driver-9999.ebuild b/sys-apps/asus-touchpad-numpad-driver/asus-touchpad-numpad-driver-9999.ebuild
new file mode 100644
index 000000000..a8cffad00
--- /dev/null
+++ b/sys-apps/asus-touchpad-numpad-driver/asus-touchpad-numpad-driver-9999.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit linux-info python-single-r1
+
+DESCRIPTION="Feature-rich configurable Asus NumPad drivers"
+HOMEPAGE="https://github.com/mohamed-badaoui/asus-touchpad-numpad-driver"
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/mohamed-badaoui/asus-touchpad-numpad-driver"
+else
+ COMMIT="a2bada610ebb3fc002fceb53ddf93bc799241867"
+ SRC_URI="https://github.com/mohamed-badaoui/asus-touchpad-numpad-driver/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${PN}-${COMMIT}"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+ dev-libs/libevdev
+ sys-apps/i2c-tools
+ $(python_gen_cond_dep '
+ dev-python/python-evdev[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/python-libevdev[${PYTHON_USEDEP}]
+ ')
+"
+RDEPEND="
+ ${DEPEND}
+ ${PYTHON_DEPS}
+"
+
+src_install() {
+ exeinto /usr/libexec/${PN}
+ doexe asus_touchpad.py
+ insinto /usr/libexec/${PN}
+ doins -r numpad_layouts
+
+ python_fix_shebang ${ED}/usr/libexec/${PN}/asus_touchpad.py
+
+ python_optimize ${ED}/usr/libexec/${PN}
+
+ dosym ../libexec/${PN}/asus_touchpad.py /usr/bin/asus_touchpad
+}
diff --git a/sys-apps/asus-touchpad-numpad-driver/metadata.xml b/sys-apps/asus-touchpad-numpad-driver/metadata.xml
new file mode 100644
index 000000000..65ac1f205
--- /dev/null
+++ b/sys-apps/asus-touchpad-numpad-driver/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gentoo@aisha.cc</email>
+ <name>Aisha Tammy</name>
+ </maintainer>
+</pkgmetadata>
next reply other threads:[~2022-07-23 7:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-23 7:50 Aisha Tammy [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-08-14 14:23 [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/asus-touchpad-numpad-driver/ Aisha Tammy
2022-09-08 10:29 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2022-09-08 10:29 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2023-10-22 7:44 Viorel Munteanu
2024-07-04 15:43 Aisha Tammy
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=1658562591.901ed100ee980714008b35883655e71a04c58eb6.epsilon-0@gentoo \
--to=gentoo@aisha.cc \
--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