commit:     839ffc29ba889c389e6b6ab1a09bf06b804ea4c0
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Fri Dec 22 14:51:24 2023 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Fri Dec 22 14:51:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=839ffc29

x11-drivers/OpenTabletDriver: add 0.6.4.0

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 x11-drivers/OpenTabletDriver/Manifest              |   4 +
 .../OpenTabletDriver-0.6.4.0.ebuild                | 326 +++++++++++++++++++++
 .../files/OpenTabletDriver-0.6.4.0-nogit.patch     |  22 ++
 3 files changed, 352 insertions(+)

diff --git a/x11-drivers/OpenTabletDriver/Manifest 
b/x11-drivers/OpenTabletDriver/Manifest
index e043af0c96..00c19e645e 100644
--- a/x11-drivers/OpenTabletDriver/Manifest
+++ b/x11-drivers/OpenTabletDriver/Manifest
@@ -1,4 +1,5 @@
 DIST OpenTabletDriver-0.6.3.0.tar.gz 272028 BLAKE2B 
daf60eb65c845b5b12688b3afd92851034939ab197ce9660cfb50bae22707ac4fbd3a89c507864fa06aa8262f708ac41a1b59f4d3f1eb08dcc4f086fe1545fa0
 SHA512 
c094d4e9c688d86c71859b63aa5ee98d2c17574206c6909bc2ce9f0d193792da438c9f89144f0dd4df621b981b52f1edda40ef0d4099ad42039abb0a1516aefd
+DIST OpenTabletDriver-0.6.4.0.tar.gz 276822 BLAKE2B 
657616e7fa11bcd25d04522126aad83672f10a07d676f36ae75c7445fd79b707c65f0521a2efd0251097a2989ccf176e5664fcb1a7228f11547e1d808756fc81
 SHA512 
38130c09488b47688f7c07573ebd1cc441b4de0fda26a48d82197c83ee70dc070fac5a3056197ce78979df5101f77faeada5be51c38873c4004ea3e61d7fb057
 DIST atksharp.3.24.24.34.nupkg 101718 BLAKE2B 
14f6e22ea9c95413e47b08b2911f27505a9d3f126547dc420d3f8f32e9df18b81617c1fb48469a5071d7f34b24645704e8021735437bb2362af642a06608ff2f
 SHA512 
9985de9ed5dfcc376c3880f156f9807d427161509332c1af0fb92897adef17e2e9d21b52b4fd09da5bba9055807356a11e76a5a3659130eb3878c781db493a74
 DIST cairosharp.3.24.24.34.nupkg 49431 BLAKE2B 
f5bfd2d184b4a3c5a6d54e4b5d746b6d56346ed3dba83c6df17f2e91fed19c5774168ba687ab7ba2504ff8765a55ec62fcf0dc62b0827c2e27f36adf2bb1e38c
 SHA512 
8589828a0f64cb377844bb2e7b329c4372c6f4de336c55d27cb74f0373f967df707756f3742a7f02ec145f71262c9114f35f5ebb853c3c57aff972931b2a013b
 DIST castle.core.4.4.0.nupkg 916004 BLAKE2B 
7404f946c140bc4c22132282a4a12694328bac2f37f3cae06c595076068dbedc808465e352f083450cea3e3869698f91b7a5b2b55c08f29f4a9feba7f15abf74
 SHA512 
7626c347f82038bc29b0b2ae399937047aead260ed85ff8c107d36adbe901d729be59cd89a5f98ef45da2d1883c8374b6f286c81c044a5a2b69ab4b5dde9ce98
@@ -39,7 +40,9 @@ DIST netstandard.library.1.6.1.nupkg 17360 BLAKE2B 
02badd3473451f83997f0b66d05f1
 DIST newtonsoft.json.12.0.2.nupkg 2521025 BLAKE2B 
2d6a40a97fedde8a83cef9d4ea9f5635efc83f4f7f6a8d38633e1d2011c9e9a1120979db181396c894f38c4fe0515b86781407fa607bd402dbad80f41d6cfd51
 SHA512 
9adc1e0573d6869d42310013b414fb65f319adb6414ca7e31b0cfa63be4dc068f1fc6ced0da5277f0f062bd299d93e1f0c8a8a2720e373d471970e7e1b615c54
 DIST newtonsoft.json.12.0.3.nupkg 2596051 BLAKE2B 
f7c4510414d5f0eb207bac44a1c3507d2791e1f49fea2f16a714cb194182d867435d9ea63d64f6606fea3e5e7d4ac431740e0e6b9fa6aea8e3d4319ed6189826
 SHA512 
6934665f0479c58bbe996c44f2bf16d435a72f4d92795f0bc1d40cb0bc1358ff0e660ac20b24eabce01ee6145bd553506178e59fbaabd0f2a94b23bfa5c735f5
 DIST newtonsoft.json.13.0.1.nupkg 2065787 BLAKE2B 
000c38ce26a2a00bb25a9c1d6fb069ada521ff089bb624a5c1255b25767c10616cc51821524e7bc3d8b45eb8f8ee54c97454db1db9ae5e5c78eb6300a99f979d
 SHA512 
83731b662eaf05379a23f8446ef47bbc111349dd4358b7bd8b51383fe9cf637e2fe62f78cea52a0d7bdd582dc6fbbb5837d4a7b1d53dcf37a0ae7473e21ee7b1
+DIST newtonsoft.json.13.0.3.nupkg 2441966 BLAKE2B 
0c83cd81b9eb647fd9106c5b8b7af4ff6b35eae4fa24712f16cef1db070857b072b9e40a52ed006a82125c860dc48b89ac54224baa24bfdedfa573183e19d169
 SHA512 
99b252bc77d1c5f5f7b51fd4ea7d5653e9961d7b3061cf9207f8643a9c7cc9965eebc84d6467f2989bb4723b1a244915cc232a78f894e8b748ca882a7c89fb92
 DIST newtonsoft.json.9.0.1.nupkg 1613054 BLAKE2B 
56918db57c3786cff0548b642195521ef203246a6b2ed010186ccae230af3b0c913ace4b2a3319bf94c6e47647b9c5ad7b017e3b50d35e6654b4d5b987643739
 SHA512 
da8917a5347051c8106f4ea9bade4bc300a3b60a05a3be3390f92c8dcbcea67223c7b4da8065b9228042000e25b99c75fad7e2221a0daa8888ed8ef3c161b228
+DIST newtonsoft.json.schema.3.0.15.nupkg 585552 BLAKE2B 
251af458a11c0b612e4565936b6c05764754ae4aa7f6998f112b3c792d24cfa1d61176c994497858a74bc1ed54d65efbe6a1473723e295e39ffa3c1ff21cc02b
 SHA512 
e7b2098bbaf1fd81b35f0e922f57cdd618aa088cf3e6e652ed16e535a3a0b58fb7d1ca6c725528a7c1efddc58bca74f80176d51dbaa7e9ebe180eec8b3b4ab1e
 DIST nuget.frameworks.5.0.0.nupkg 215958 BLAKE2B 
1deeb9d7d43736c70d11f3bb7a1a44f8a8a407fc18b32f85e252d2a310e1127a8e5a85ced627fc94ab9e034c73211a08da3b6a3fd43be83d95a4e3f5e26d856a
 SHA512 
ebb9444b3b46063522e3b432c67acafe8943da39c866978146f88757f1be5571bf40e9df208824440efa4116b0b47d00f9708a72767a22878a78aca5a9887650
 DIST octokit.0.50.0.nupkg 1063278 BLAKE2B 
5c7599450831e571687f9b4009deac7bc7018e46a7bd82a2c44379a48bc888a030e09c637d1b41a378e0f0eb17d02a59cc68c878fe4b081b6681163d769391fd
 SHA512 
a62c169a5e6c5c73aaab159a36c17726269b24f3b83a01d4755fbdad3c997b688f4b9aeefea63e7ef1ce5b6cb9ad2cb9be0e7cc9e5291794c36d89b59ecd0765
 DIST pangosharp.3.24.24.34.nupkg 76039 BLAKE2B 
ad58a7196a8f3a67329120c06a9bf9d37435d04da9eb9fba2ff697abda4f086cbec80376c4d62cc2481b239e87d13a4b31a1eb2e38fb444493fda938061ff114
 SHA512 
88409cfe319bfbd8ea8d950d77a23f0ca2125e442635403554b7424bf9c029e4ef127a71d51cc6ac5554266c144b36bddcc0c6e32a5efe3cad6afbca6b878ac4
@@ -109,6 +112,7 @@ DIST system.commandline.2.0.0-beta1.21216.1.nupkg 284515 
BLAKE2B 3a5492b9b38adc9
 DIST system.commandline.2.0.0-beta4.22272.1.nupkg 616636 BLAKE2B 
5252560598c4cd67348520cea086c37b4151b984a61238de1984838975340247b16050113422b1765931bdfc1dee38e226789b6427e56ab7c3a36bf07d0bcc20
 SHA512 
979a7e66ba29e17bc5bec42e926ed15362e23ae403e498c955e09dffc4d3baa14777a06f95e25d591fc9757a0eaa18deb9e4662a1ca1663fa300f509a4a0383c
 DIST system.componentmodel.4.3.0.nupkg 95320 BLAKE2B 
8c03f003539d1c0920c4d1a2d0b57a19f93c9c1d7f2e0004035b758b56915da1ba0207d1506cc0cf8af71bb2e58408fb824674941230a0465249752b1dc0df93
 SHA512 
7c638ac92a132e1553a089c6a711ffb7431b22fecca322ce748d6684ae2baaf161bab2f71704750bd15ec6fda11e795f2ab8491ac769b89341bde77aa9212d59
 DIST system.componentmodel.annotations.4.7.0.nupkg 758451 BLAKE2B 
40ed473676a7c397c2d69f34b377f74022bfe70ffcaa4108f1e910f606e86d215ffabbc5ffb990433f091522595ca9d1028c257c354bcc5a1961cef9892b3d5d
 SHA512 
a06e7cbfb16420c7b0654d6d372a8a6e78a51286d6e88e16d31cb443f873b6355b4d5afcde85cd3c7c2bbd2db82492ab0f294b8a7808948ff39821c2679bead4
+DIST system.componentmodel.annotations.5.0.0.nupkg 771145 BLAKE2B 
eaba2dca2356dbf4c1af4bd03d1b8bfcb55dc4f7e449e61e25dace119b35aa6308810fac7860b5d64d5e9569d27da693b3983a1427179e2d26b66a7df48d3904
 SHA512 
589aac4c669701ce7910f1a327294f15788d3ecff1d6df5d9255651e5201c5411c2312286fab111a6f549fb4de864c8414cfaf2a365deeb6f068c1ffce7c353c
 DIST system.componentmodel.primitives.4.3.0.nupkg 93137 BLAKE2B 
abc810f534c991a46cef506df47b66abde687ad65ce16fa8739a05a5c6cd8338ade9961e035f38c559f964c469e47398f537285b63552fb80b4d6b9421993f07
 SHA512 
ab26d413abce9cfc31b860765d91b21d4048976016d853ce8969f7ba79c039d8846b3c4e2986530f20b62dcb23ff0a769ae5ee37fc078d69eaa962832f2035ef
 DIST system.componentmodel.typeconverter.4.3.0.nupkg 292985 BLAKE2B 
732b3362abf534f3a28d6afdf010d9cc52960edbacd19fd70ad49ff1813d31a7f840206773dd5d8661575a0a5b4053a51d58e23fff803e6726bebaf3bedd158d
 SHA512 
0a2b2f3c25de4a6429c6cb9fbb37409e86168921ea71ec58889912742e39e1b67f5cbe764affc3580aa0ef167c7f73a55332a0abf7b043e89185293029d8b087
 DIST system.console.4.3.0.nupkg 102397 BLAKE2B 
c21bc97bbcda781257473768239f775a16fcc399e933df35a5f5c00f75c5088462ea01ecec2d711a803581d5499c8cb15518e790d6c9e74b15a36c3a1f237d19
 SHA512 
a08a684a583c9b3278ce32be1007dae495f9d87254666392f794ef1203079f333cd7d388c28944ffa36fb49f0c8bb21f42c70f6e1d7c1c03920df6d0d1130c82

diff --git a/x11-drivers/OpenTabletDriver/OpenTabletDriver-0.6.4.0.ebuild 
b/x11-drivers/OpenTabletDriver/OpenTabletDriver-0.6.4.0.ebuild
new file mode 100644
index 0000000000..676598d33b
--- /dev/null
+++ b/x11-drivers/OpenTabletDriver/OpenTabletDriver-0.6.4.0.ebuild
@@ -0,0 +1,326 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOTNET_PKG_COMPAT=6.0
+NUGETS="
+atksharp@3.24.24.34
+cairosharp@3.24.24.34
+castle.core@4.4.0
+coverlet.collector@3.0.2
+eto.forms@2.5.10
+eto.forms@2.5.11
+eto.platform.gtk@2.5.11
+gdksharp@3.24.24.34
+giosharp@3.24.24.34
+glibsharp@3.24.24.34
+gtksharp@3.24.24.34
+hidsharpcore@1.2.1.1
+messagepack@2.1.194
+messagepack.annotations@2.1.194
+microsoft.bcl.asyncinterfaces@1.1.1
+microsoft.codecoverage@16.9.4
+microsoft.csharp@4.0.1
+microsoft.extensions.dependencyinjection@6.0.0-rc.1.21451.13
+microsoft.extensions.dependencyinjection.abstractions@6.0.0-rc.1.21451.13
+microsoft.netcore.platforms@1.0.1
+microsoft.netcore.platforms@1.1.0
+microsoft.netcore.platforms@1.1.1
+microsoft.netcore.platforms@3.0.0
+microsoft.netcore.targets@1.0.1
+microsoft.netcore.targets@1.1.0
+microsoft.net.test.sdk@16.9.4
+microsoft.testplatform.objectmodel@16.9.4
+microsoft.testplatform.testhost@16.9.4
+microsoft.visualstudio.threading@16.7.56
+microsoft.visualstudio.threading.analyzers@16.7.56
+microsoft.visualstudio.validation@15.5.31
+microsoft.win32.primitives@4.3.0
+microsoft.win32.registry@4.6.0
+moq@4.16.1
+nerdbank.streams@2.6.77
+netstandard.library@1.6.1
+newtonsoft.json@12.0.2
+newtonsoft.json@13.0.1
+newtonsoft.json@13.0.3
+newtonsoft.json@9.0.1
+newtonsoft.json.schema@3.0.15
+nuget.frameworks@5.0.0
+octokit@0.50.0
+pangosharp@3.24.24.34
+runtime.any.system.collections@4.3.0
+runtime.any.system.diagnostics.tools@4.3.0
+runtime.any.system.diagnostics.tracing@4.3.0
+runtime.any.system.globalization@4.3.0
+runtime.any.system.globalization.calendars@4.3.0
+runtime.any.system.io@4.3.0
+runtime.any.system.reflection@4.3.0
+runtime.any.system.reflection.extensions@4.3.0
+runtime.any.system.reflection.primitives@4.3.0
+runtime.any.system.resources.resourcemanager@4.3.0
+runtime.any.system.runtime@4.3.0
+runtime.any.system.runtime.handles@4.3.0
+runtime.any.system.runtime.interopservices@4.3.0
+runtime.any.system.text.encoding@4.3.0
+runtime.any.system.text.encoding.extensions@4.3.0
+runtime.any.system.threading.tasks@4.3.0
+runtime.any.system.threading.timer@4.3.0
+runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.0
+runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.0
+runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.0
+runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.native.system@4.3.0
+runtime.native.system.io.compression@4.3.0
+runtime.native.system.net.http@4.3.0
+runtime.native.system.security.cryptography.apple@4.3.0
+runtime.native.system.security.cryptography.openssl@4.3.0
+runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.0
+runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl@4.3.0
+runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple@4.3.0
+runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
+runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl@4.3.0
+runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
+runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
+runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
+runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.unix.microsoft.win32.primitives@4.3.0
+runtime.unix.system.console@4.3.0
+runtime.unix.system.diagnostics.debug@4.3.0
+runtime.unix.system.io.filesystem@4.3.0
+runtime.unix.system.net.primitives@4.3.0
+runtime.unix.system.net.sockets@4.3.0
+runtime.unix.system.private.uri@4.3.0
+runtime.unix.system.runtime.extensions@4.3.0
+sharpziplib@1.3.3
+streamjsonrpc@2.6.121
+system.appcontext@4.3.0
+system.buffers@4.3.0
+system.collections@4.0.11
+system.collections@4.3.0
+system.collections.concurrent@4.3.0
+system.collections.immutable@1.7.1
+system.collections.nongeneric@4.3.0
+system.collections.specialized@4.3.0
+system.commandline@2.0.0-beta4.22272.1
+system.componentmodel@4.3.0
+system.componentmodel.annotations@4.7.0
+system.componentmodel.annotations@5.0.0
+system.componentmodel.primitives@4.3.0
+system.componentmodel.typeconverter@4.3.0
+system.console@4.3.0
+system.diagnostics.debug@4.0.11
+system.diagnostics.debug@4.3.0
+system.diagnostics.diagnosticsource@4.3.0
+system.diagnostics.tools@4.0.1
+system.diagnostics.tools@4.3.0
+system.diagnostics.tracesource@4.3.0
+system.diagnostics.tracing@4.3.0
+system.dynamic.runtime@4.0.11
+system.dynamic.runtime@4.3.0
+system.globalization@4.0.11
+system.globalization@4.3.0
+system.globalization.calendars@4.3.0
+system.globalization.extensions@4.3.0
+system.io@4.1.0
+system.io@4.3.0
+system.io.compression@4.3.0
+system.io.compression.zipfile@4.3.0
+system.io.filesystem@4.0.1
+system.io.filesystem@4.3.0
+system.io.filesystem.primitives@4.0.1
+system.io.filesystem.primitives@4.3.0
+system.io.pipelines@4.7.2
+system.linq@4.1.0
+system.linq@4.3.0
+system.linq.expressions@4.1.0
+system.linq.expressions@4.3.0
+system.memory@4.5.4
+system.net.http@4.3.0
+system.net.http@4.3.4
+system.net.nameresolution@4.3.0
+system.net.primitives@4.3.0
+system.net.sockets@4.3.0
+system.net.websockets@4.3.0
+system.objectmodel@4.0.12
+system.objectmodel@4.3.0
+system.private.uri@4.3.0
+system.reflection@4.1.0
+system.reflection@4.3.0
+system.reflection.emit@4.0.1
+system.reflection.emit@4.3.0
+system.reflection.emit@4.7.0
+system.reflection.emit.ilgeneration@4.0.1
+system.reflection.emit.ilgeneration@4.3.0
+system.reflection.emit.lightweight@4.0.1
+system.reflection.emit.lightweight@4.3.0
+system.reflection.emit.lightweight@4.6.0
+system.reflection.extensions@4.0.1
+system.reflection.extensions@4.3.0
+system.reflection.metadata@1.6.0
+system.reflection.primitives@4.0.1
+system.reflection.primitives@4.3.0
+system.reflection.typeextensions@4.1.0
+system.reflection.typeextensions@4.3.0
+system.resources.resourcemanager@4.0.1
+system.resources.resourcemanager@4.3.0
+system.runtime@4.1.0
+system.runtime@4.3.0
+system.runtime.compilerservices.unsafe@4.5.2
+system.runtime.compilerservices.unsafe@4.7.1
+system.runtime.compilerservices.unsafe@6.0.0-rc.1.21451.13
+system.runtime.extensions@4.1.0
+system.runtime.extensions@4.3.0
+system.runtime.handles@4.0.1
+system.runtime.handles@4.3.0
+system.runtime.interopservices@4.1.0
+system.runtime.interopservices@4.3.0
+system.runtime.interopservices.runtimeinformation@4.3.0
+system.runtime.numerics@4.3.0
+system.runtime.serialization.primitives@4.1.1
+system.security.accesscontrol@4.6.0
+system.security.claims@4.3.0
+system.security.cryptography.algorithms@4.3.0
+system.security.cryptography.cng@4.3.0
+system.security.cryptography.csp@4.3.0
+system.security.cryptography.encoding@4.3.0
+system.security.cryptography.openssl@4.3.0
+system.security.cryptography.primitives@4.3.0
+system.security.cryptography.x509certificates@4.3.0
+system.security.principal@4.3.0
+system.security.principal.windows@4.3.0
+system.security.principal.windows@4.6.0
+system.text.encoding@4.0.11
+system.text.encoding@4.3.0
+system.text.encoding.extensions@4.0.11
+system.text.encoding.extensions@4.3.0
+system.text.regularexpressions@4.1.0
+system.text.regularexpressions@4.3.0
+system.threading@4.0.11
+system.threading@4.3.0
+system.threading.tasks@4.0.11
+system.threading.tasks@4.3.0
+system.threading.tasks.dataflow@4.11.1
+system.threading.tasks.extensions@4.0.0
+system.threading.tasks.extensions@4.3.0
+system.threading.tasks.extensions@4.5.4
+system.threading.threadpool@4.3.0
+system.threading.timer@4.3.0
+system.xml.readerwriter@4.0.11
+system.xml.readerwriter@4.3.0
+system.xml.xdocument@4.0.11
+system.xml.xdocument@4.3.0
+system.xml.xmldocument@4.3.0
+waylandnet@0.2.0
+xunit@2.4.1
+xunit.abstractions@2.0.3
+xunit.analyzers@0.10.0
+xunit.assert@2.4.1
+xunit.core@2.4.1
+xunit.extensibility.core@2.4.1
+xunit.extensibility.execution@2.4.1
+xunit.runner.visualstudio@2.4.3
+"
+
+inherit desktop dotnet-pkg linux-info udev xdg
+
+DESCRIPTION="A cross-platform open-source tablet driver"
+HOMEPAGE="https://opentabletdriver.net/";
+SRC_URI="
+       
https://github.com/OpenTabletDriver/OpenTabletDriver/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz
+       ${NUGET_URIS}
+"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       dev-libs/libevdev
+       virtual/udev
+       x11-libs/libX11
+       x11-libs/libXrandr
+       x11-libs/gtk+:3
+       !x11-drivers/OpenTabletDriver-bin
+"
+BDEPEND="app-misc/jq"
+
+PATCHES=( "${FILESDIR}/${P}-nogit.patch" )
+
+CONFIG_CHECK="~INPUT_UINPUT"
+DOTNET_PKG_PROJECTS=(
+       "${S}/OpenTabletDriver.Console/OpenTabletDriver.Console.csproj"
+       "${S}/OpenTabletDriver.Daemon/OpenTabletDriver.Daemon.csproj"
+       "${S}/OpenTabletDriver.UX.Gtk/OpenTabletDriver.UX.Gtk.csproj"
+)
+
+pkg_setup() {
+       linux-info_pkg_setup
+       dotnet-pkg_pkg_setup
+}
+
+src_prepare() {
+       # Build doesn't need the solution file but eclass tries to use it.
+       rm -f OpenTabletDriver.sln || die
+       dotnet-pkg_src_prepare
+}
+
+src_configure() {
+       dotnet-pkg_src_configure
+
+       # These projects are only used at build time, should not be installed.
+       dotnet-pkg-base_restore OpenTabletDriver.Tests
+}
+
+src_compile() {
+       dotnet-pkg_src_compile
+       ./generate-rules.sh -c OpenTabletDriver.Configurations/Configurations > 
70-opentabletdriver.rules || die
+}
+
+src_install() {
+       dotnet-pkg_src_install
+
+       dotnet-pkg-base_dolauncher "/usr/share/${P}/${PN}.Console" otd
+       dotnet-pkg-base_dolauncher "/usr/share/${P}/${PN}.Daemon" otd-daemon
+       dotnet-pkg-base_dolauncher "/usr/share/${P}/${PN}.UX.Gtk" otd-gui
+
+       doicon OpenTabletDriver.UX/Assets/otd.png
+       doman docs/manpages/opentabletdriver.8
+       make_desktop_entry otd-gui OpenTabletDriver otd Settings
+       udev_dorules 70-opentabletdriver.rules
+
+       cd "${S}/eng/linux/Generic/usr/lib" || die
+       insinto /lib/modprobe.d
+       doins modprobe.d/99-opentabletdriver.conf
+       insinto /usr/lib/modules-load.d
+       doins modules-load.d/opentabletdriver.conf
+       insinto /usr/lib/systemd/user
+       doins systemd/user/opentabletdriver.service
+}
+
+src_test() {
+       dotnet-pkg-base_test OpenTabletDriver.Tests
+}
+
+pkg_postinst() {
+       udev_reload
+       xdg_pkg_postinst
+
+       if [[ -z ${REPLACING_VERSIONS} ]]; then
+               elog "Please replug your tablet before attempting to use the 
driver"
+       fi
+}
+
+pkg_postrm() {
+       udev_reload
+       xdg_pkg_postrm
+}

diff --git 
a/x11-drivers/OpenTabletDriver/files/OpenTabletDriver-0.6.4.0-nogit.patch 
b/x11-drivers/OpenTabletDriver/files/OpenTabletDriver-0.6.4.0-nogit.patch
new file mode 100644
index 0000000000..ed7020a4e9
--- /dev/null
+++ b/x11-drivers/OpenTabletDriver/files/OpenTabletDriver-0.6.4.0-nogit.patch
@@ -0,0 +1,22 @@
+diff --git a/generate-rules.sh b/generate-rules.sh
+index ce6c3f3d..0829a3fc 100755
+--- a/generate-rules.sh
++++ b/generate-rules.sh
+@@ -8,7 +8,7 @@ print_help() {
+   echo "  -h, --help                              Print this help message"
+ }
+ 
+-for c in git jq tr awk sed; do
++for c in jq tr awk sed; do
+   command -v $c > /dev/null
+   if [[ $? > 0 ]]; then
+     echo "Error: Command $c not found in \$PATH." >&2
+@@ -23,8 +23,6 @@ tohex() {
+ shopt -s globstar
+ set -eu
+ 
+-OTD_CONFIGURATIONS="${OTD_CONFIGURATIONS:="$(git rev-parse 
--show-toplevel)/OpenTabletDriver.Configurations/Configurations"}"
+-
+ while [ $# -gt 0 ]; do
+   case "$1" in
+     -c=*|--configurations=*)

Reply via email to