commit: 956d31bbd2b5152717da12cde6f6c06d5c7da510
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Sat Feb 13 01:34:01 2021 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Mar 24 16:06:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=956d31bb
app-misc/tpconfig: revbump for d-m-i
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
app-misc/tpconfig/files/tpconfig-r1 | 22 ++++++++++++++++++++++
app-misc/tpconfig/tpconfig-3.1.3-r3.ebuild | 24 ++++++++++++++++++++++++
2 files changed, 46 insertions(+)
diff --git a/app-misc/tpconfig/files/tpconfig-r1
b/app-misc/tpconfig/files/tpconfig-r1
new file mode 100644
index 00000000000..10020958a03
--- /dev/null
+++ b/app-misc/tpconfig/files/tpconfig-r1
@@ -0,0 +1,22 @@
+#!/sbin/openrc-run
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ before display-manager
+}
+
+start() {
+ ebegin "Loading tpconfig options..."
+ /usr/bin/tpconfig ${TPOPTIONS} > /dev/null 2> /tmp/tpconfig.start
+ if [ -z "`cat /tmp/tpconfig.start 2> /dev/null`" ]; then
+ eend 0
+ else
+ eend 1
+ fi
+}
+
+stop() {
+ ebegin "Stoping tpconfig (this does nothing)..."
+ eend 0
+}
diff --git a/app-misc/tpconfig/tpconfig-3.1.3-r3.ebuild
b/app-misc/tpconfig/tpconfig-3.1.3-r3.ebuild
new file mode 100644
index 00000000000..b80c3d28c2f
--- /dev/null
+++ b/app-misc/tpconfig/tpconfig-3.1.3-r3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Touchpad config for ALPS and Synaptics TPs. Controls tap/click
behaviour"
+HOMEPAGE="http://www.compass.com/synaptics/"
+SRC_URI="http://www.compass.com/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ einstalldocs
+ dobin "${PN}"
+ newinitd "${FILESDIR}"/"${PN}-r1" "${PN}"
+ newconfd "${FILESDIR}"/"${PN}.conf" "${PN}"
+}