aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Nijmeh <ethannij@gmail.com>2022-06-29 21:59:29 -0700
committerEthan Nijmeh <ethannij@gmail.com>2022-06-29 21:59:29 -0700
commit2498602be41804eb6ea533d10f835f3783809825 (patch)
tree1e8f51f42c7b7659fd66c2f5f9dbedc274e3c294 /x11-drivers
parentgui-apps/swaync: Added gnome2-utils eclass to update GSettings (diff)
downloadguru-2498602be41804eb6ea533d10f835f3783809825.tar.gz
guru-2498602be41804eb6ea533d10f835f3783809825.tar.bz2
guru-2498602be41804eb6ea533d10f835f3783809825.zip
x11-drivers/OpenTabletDriver-bin added 0.6.0.4
Signed-off-by: Ethan Nijmeh <ethannij@gmail.com>
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/OpenTabletDriver-bin/Manifest2
-rw-r--r--x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.6.0.4.ebuild65
2 files changed, 67 insertions, 0 deletions
diff --git a/x11-drivers/OpenTabletDriver-bin/Manifest b/x11-drivers/OpenTabletDriver-bin/Manifest
index 64d2ecb2d..b154bbe81 100644
--- a/x11-drivers/OpenTabletDriver-bin/Manifest
+++ b/x11-drivers/OpenTabletDriver-bin/Manifest
@@ -1,4 +1,6 @@
DIST OpenTabletDriver-source-0.5.3.3.tar.gz 175040 BLAKE2B 117a32683dfbcec54c8a8d2e75350e4fc81f0e7592ad55468079d1bd85fb670acc60404befcad3704138ad59927d7237a5c2dac592c0a8f9a0eff1a44cd2c36c SHA512 f2ba081463b4a3e02564430c925db077693d681f72bbc6fd104ece395e21a9db6383cd4b5e69fcb5774c6c3c24f67464f72e670cc3bdf1fe21edec2bdf5c42fc
DIST OpenTabletDriver-source-0.6.0.2.tar.gz 247519 BLAKE2B a84db9d7e1d86e8b6bf90231187800e4fb355c66e1c9e732a9e3687de0afeaeb0d69f397b5d3387bdb7a1e88393ddb26bb6c0d2920fa8d1ca51bc9992a818dae SHA512 0414a033e5bf3c5498676433502d44deb320d69a26823a1c731ab750c8ba71a3ff5af31662255e0c6c45e4d17f3009500e0a87967ca132bf309cf006cdb640b3
+DIST OpenTabletDriver-source-0.6.0.4.tar.gz 256483 BLAKE2B 5d6377f0591ac35d0e2e7b516efc76dbeb3737d37eae3bd38b19cbfe54c62bf4c98a3ba4b0ec60d3fcbdf4ed70493ca107cdfa8b8c728f1b04d12c1492661a71 SHA512 7b16f49c56f97ce8342b91ab92f96a5a7aad9ac2deba13b0fe93ef299d9c9404743d4c6c791a72a4dfbf3b96e0fb07bf98d91d1b5fe23b334a8b671b7ec7bb58
DIST OpenTabletDriver-v0.5.3.3.tar.gz 4052905 BLAKE2B 36c60dc87368dbe9595182ad2439447692cec8444bc005cc320d22c3f1b13e501e57ad038decd86d4c1129a44ba27cf1c3ebd4ca4bd666732a1dac755095c787 SHA512 83415abea4b67ed4af499c1edf91f2b81959a3888c9d64e4854086ade50da883c690b784fd5641307d0ac1d75ee8120090a834c3e910eb57bed92a20b4cc10b3
DIST OpenTabletDriver-v0.6.0.2.tar.gz 4199076 BLAKE2B 754822c707388e8ac3c79a829ad67edad766381e4dcf96728b2f74e908daea1d7fb90b47ee3a922326cbf87ddd2a615ac1a85ca37d36ec7938b22c9f7c58d82e SHA512 0ff63e94ce36d4afc7d8862ee51c0444e734640b9ae468e733231dbfc3ecdcd6cf90f0128a0be1934a64ee79f0c5860a0812681537d4d9e1b478581a7c2acc22
+DIST OpenTabletDriver-v0.6.0.4.tar.gz 4208336 BLAKE2B b22f980fcd2e684d3fe109e0282cc6c10b1320a01a14de6268305c925ef9f2780d311913bae78304c6e2d281e30d29252581262d99cb6f77db5b1fe65212c090 SHA512 4b1978edc0ec9e47b809b7f2528c4bde6417205339f92a2e2f3007aa74a682e5a9f47770be92ad8ad91df3ef0222622961fc8553cfaf4c8201f05e750e992929
diff --git a/x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.6.0.4.ebuild b/x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.6.0.4.ebuild
new file mode 100644
index 000000000..ebfc8711d
--- /dev/null
+++ b/x11-drivers/OpenTabletDriver-bin/OpenTabletDriver-bin-0.6.0.4.ebuild
@@ -0,0 +1,65 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop
+
+MY_PN=OpenTabletDriver
+
+DESCRIPTION="Cross platform tablet driver (binary package)"
+HOMEPAGE="https://github.com/OpenTabletDriver"
+SRC_URI="https://github.com/OpenTabletDriver/OpenTabletDriver/archive/refs/tags/v${PV}.tar.gz -> OpenTabletDriver-source-${PV}.tar.gz https://github.com/OpenTabletDriver/OpenTabletDriver/releases/download/v${PV}/OpenTabletDriver.linux-x64.tar.gz -> OpenTabletDriver-v${PV}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ x11-libs/libX11
+ x11-libs/libXrandr
+ dev-libs/libevdev
+ x11-libs/gtk+:3
+ virtual/udev
+ dev-dotnet/dotnet-sdk-bin:6.0
+"
+
+QA_PREBUILT="*"
+
+S="${WORKDIR}/${MY_PN}"
+src_install() {
+ local LP=opentabletdriver
+ local SP="otd"
+
+ cd "${S}" || die
+
+ exeinto "/usr/share/${MY_PN}"
+ exeopts -o root -Dm755
+
+ for binary in *.dll *.json; do
+ doexe "$binary"
+ done
+
+ for bin in *.Daemon *.UX.Gtk *.Console; do
+ doexe "$bin"
+ done
+
+ insinto "/lib/udev/rules.d"
+ doins -r "${S}/99-${LP}.rules"
+
+ cd "${FILESDIR}" || die
+ dobin "${SP}"
+ dobin "${SP}-gui"
+
+ cd "${WORKDIR}/${MY_PN}-${PV}/${MY_PN}.UX/Assets" || die
+ doicon "otd.png"
+ make_desktop_entry /usr/bin/otd-gui OpenTabletDriver otd Settings
+}
+
+pkg_postinst() {
+ udevadm control --reload || die
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ elog "Please replug your tablet before attempting to use the driver"
+ fi
+}