summaryrefslogtreecommitdiff
path: root/app-misc/tpconfig
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-27 06:06:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-27 06:06:27 +0000
commit8d5dbd847cbc704a6a06405856e94b461011afe3 (patch)
tree4d26462d027b14926335894749d2e01d982234d0 /app-misc/tpconfig
parent5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (diff)
gentoo resync : 27.03.2021
Diffstat (limited to 'app-misc/tpconfig')
-rw-r--r--app-misc/tpconfig/Manifest2
-rw-r--r--app-misc/tpconfig/files/tpconfig-r122
-rw-r--r--app-misc/tpconfig/tpconfig-3.1.3-r3.ebuild24
3 files changed, 48 insertions, 0 deletions
diff --git a/app-misc/tpconfig/Manifest b/app-misc/tpconfig/Manifest
index 09133db5feb2..01f4484607c6 100644
--- a/app-misc/tpconfig/Manifest
+++ b/app-misc/tpconfig/Manifest
@@ -1,5 +1,7 @@
AUX tpconfig 426 BLAKE2B 8ef3bef0ca0e50d6f220c4ab7cefc9002bdfffb6c018173d181c3e1dab6cc0fca07c3e8fca4c251efc308f24324e382c7477267a18ca792c993a1247e8bf75be SHA512 09c0a954b765404eeee569040b832883f85b2451c41ca4465ef5febf80745fb9a65fdabadff9967f014d064134c353c66953c26e7295b4ced3dbc172975d536e
+AUX tpconfig-r1 435 BLAKE2B de3e2f28f81c59690f910ac0706c9e5df239a44150ea5924969ab7cd13676bfac5c680ed6771acce2fc249755867a1d9bfc038bf1634f0d5365fde7cafead5e9 SHA512 a096eaf1b287a6206829f09c40b578045bcdbdbf4d44e9ed3f3a0e691a119ba16820c243eca5ddb06f4cac5b5cdee73fb82bbf7ae1bf0b9a9997cb9fb7740638
AUX tpconfig.conf 132 BLAKE2B 9d5f6490eee22c619d458a5190889867c1995f294aec1ed60bc6edcb2c83b3c47d94c473ec52d367eadf441e73258bcb5e2a0ceb0e578b6c0df6069231514649 SHA512 314f05fb3211790e9c5de47f99d14bcf96788f8baf1d5258eb17d71dea05f0bde7b249a99321f472e4339c066705d9f18b529f97b1c03a72da4f21c14b91f77a
DIST tpconfig-3.1.3.tar.gz 106789 BLAKE2B 1a02a1c91ce2174ae406888a73ad488d79e60941d0e904f47c9ff1cc82319780cf9874ede6ec4b18cc9176bcaeb465c201fca1bdf5840029565e5a3c5cac85f7 SHA512 b10b709f113dcd526c7521f519466677a1dd37b5c3bd4adf7a0fdbf95428bf56777a726b85e158c4842d406e7659f1b6e161c68bc6f6c6739d376ab84351efc9
EBUILD tpconfig-3.1.3-r2.ebuild 534 BLAKE2B cb4b2411fadb25132ac0e55ddda395a152642b4c570c72eae6e31b9de20b26d3f0981a3474741d6c793c7db56dbc51765c6d738aa987ecbea7d900a351e67ce1 SHA512 8822a2319a4445a1f9e17468d418cca8fb41196fc1490fc863a0a633f4155f76ac9aaff8a71271e926a066df5522e04170af8d2cb881c069b0642a3c2ef8e3aa
+EBUILD tpconfig-3.1.3-r3.ebuild 548 BLAKE2B d3c0b52f0787a0be78a319be3279fd3f0d657755d589ade5dab2a69b3a93e9c1da0cebd71d717e782f3c6c905615e4745e3dfd9e5be338a0a268d93e79bafac1 SHA512 02eacb3139c1b2f158720b18247eded141f424357e9137825913129bc3e2aaa317e6a92d052c5d921a7ab817f4b2ce5025994f30ff91733ba4d5436cc08d6fd3
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
diff --git a/app-misc/tpconfig/files/tpconfig-r1 b/app-misc/tpconfig/files/tpconfig-r1
new file mode 100644
index 000000000000..10020958a03d
--- /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 000000000000..b80c3d28c2fd
--- /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}"
+}