summaryrefslogtreecommitdiff
path: root/app-misc/tpconfig
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/tpconfig
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/tpconfig')
-rw-r--r--app-misc/tpconfig/Manifest6
-rw-r--r--app-misc/tpconfig/files/tpconfig22
-rw-r--r--app-misc/tpconfig/files/tpconfig.conf4
-rw-r--r--app-misc/tpconfig/metadata.xml5
-rw-r--r--app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild27
-rw-r--r--app-misc/tpconfig/tpconfig-3.1.3-r2.ebuild27
6 files changed, 91 insertions, 0 deletions
diff --git a/app-misc/tpconfig/Manifest b/app-misc/tpconfig/Manifest
new file mode 100644
index 000000000000..e0d86bf633cb
--- /dev/null
+++ b/app-misc/tpconfig/Manifest
@@ -0,0 +1,6 @@
+AUX tpconfig 426 BLAKE2B 8ef3bef0ca0e50d6f220c4ab7cefc9002bdfffb6c018173d181c3e1dab6cc0fca07c3e8fca4c251efc308f24324e382c7477267a18ca792c993a1247e8bf75be SHA512 09c0a954b765404eeee569040b832883f85b2451c41ca4465ef5febf80745fb9a65fdabadff9967f014d064134c353c66953c26e7295b4ced3dbc172975d536e
+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-r1.ebuild 624 BLAKE2B 0b92b934ad41e74ec13dc4b44a1301cd1a1aca10d52ab977db49ad83bbd385dcaeaea58e686813c00a69e8d99750c22344b82df2216debe43f488cc03b2723fd SHA512 2ba37d238c27320b483a041044b552271c077376238bf61c6460fde01e887b23c21ebafc7f5a342ee383b478f526b14d008eaeecf1f58cbb5546024e29f7530c
+EBUILD tpconfig-3.1.3-r2.ebuild 571 BLAKE2B cd7065bdac05e3ea3ab75582f7815b7f2844a8e170dee34aa26b84572f536a68368b99e236bb76f1b8b66593f08bfb22636731115bfdb3edd5324e7d3624249f SHA512 00477cd9e913f37dd58a9a91e2ffd8ed8e195ee1b4afc59389ff6cf334eacb5c71f7a391d5769c7be699741e52e2c49838b042e6fa232d34b78bb62b2df8ef2b
+MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
diff --git a/app-misc/tpconfig/files/tpconfig b/app-misc/tpconfig/files/tpconfig
new file mode 100644
index 000000000000..6eafbb5803ea
--- /dev/null
+++ b/app-misc/tpconfig/files/tpconfig
@@ -0,0 +1,22 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ before xdm
+}
+
+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/files/tpconfig.conf b/app-misc/tpconfig/files/tpconfig.conf
new file mode 100644
index 000000000000..6566b926710e
--- /dev/null
+++ b/app-misc/tpconfig/files/tpconfig.conf
@@ -0,0 +1,4 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+TPOPTIONS="--tapmode=0"
diff --git a/app-misc/tpconfig/metadata.xml b/app-misc/tpconfig/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/tpconfig/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild b/app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild
new file mode 100644
index 000000000000..4fe0e3cb8031
--- /dev/null
+++ b/app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=0
+
+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"
+IUSE=""
+
+src_compile() {
+ econf
+ emake CC="$(tc-getCC)" || die "emake failed"
+}
+
+src_install() {
+ dobin tpconfig || die "dobin failed!"
+ dodoc README AUTHORS NEWS INSTALL
+ doinitd "${FILESDIR}"/tpconfig
+ newconfd "${FILESDIR}"/tpconfig.conf tpconfig
+}
diff --git a/app-misc/tpconfig/tpconfig-3.1.3-r2.ebuild b/app-misc/tpconfig/tpconfig-3.1.3-r2.ebuild
new file mode 100644
index 000000000000..334811db95d8
--- /dev/null
+++ b/app-misc/tpconfig/tpconfig-3.1.3-r2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=0
+
+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"
+
+DOCS=( README AUTHORS NEWS INSTALL )
+
+src_compile() {
+ econf
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin "${PN}"
+ doinitd "${FILESDIR}"/"${PN}"
+ newconfd "${FILESDIR}"/"${PN}.conf" "${PN}"
+}