mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
x11-drivers/OpenTabletDriver: drop 0.6.4.0, 0.6.5.0
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
DIST OpenTabletDriver-0.6.4.0.tar.gz 276822 BLAKE2B 657616e7fa11bcd25d04522126aad83672f10a07d676f36ae75c7445fd79b707c65f0521a2efd0251097a2989ccf176e5664fcb1a7228f11547e1d808756fc81 SHA512 38130c09488b47688f7c07573ebd1cc441b4de0fda26a48d82197c83ee70dc070fac5a3056197ce78979df5101f77faeada5be51c38873c4004ea3e61d7fb057
|
||||
DIST OpenTabletDriver-0.6.5.0.tar.gz 295487 BLAKE2B 4bad1c9a97c6fb9d07b95ecd6a55b713fa05fad68bfc946be5952dcf4b1c109241193671f6794ea0fe98e9c2eb0b4f14b28dfbef8ca86d828ccc5cf8c76b3190 SHA512 e3452efdb5b7fff233240c7061298011a4ad1064a147ff93fc8d4745cd725138bebc3c83011e870254f99a7dafbc57cf90da905186c4699dbd5001b3cdaa6fac
|
||||
DIST OpenTabletDriver-0.6.5.1.tar.gz 298776 BLAKE2B da41088227244cf7b28b944b0551313554d39f7608b3d81874ed27b39deea4f40fb1f0e382a23eb54c3013ee98bc1c4b23dc13bf713960ab59b439b0849bbf98 SHA512 13a3cd0a30ae3cb6b3363f2d30c3b75af445a97f33b3dfdf136d9385304606041351de731dc4ac9fcca6d1d89379c9bb3169c8223b70e8a5f1ec48102840d64b
|
||||
DIST atksharp.3.24.24.34.nupkg 101718 BLAKE2B 14f6e22ea9c95413e47b08b2911f27505a9d3f126547dc420d3f8f32e9df18b81617c1fb48469a5071d7f34b24645704e8021735437bb2362af642a06608ff2f SHA512 9985de9ed5dfcc376c3880f156f9807d427161509332c1af0fb92897adef17e2e9d21b52b4fd09da5bba9055807356a11e76a5a3659130eb3878c781db493a74
|
||||
DIST cairosharp.3.24.24.34.nupkg 49431 BLAKE2B f5bfd2d184b4a3c5a6d54e4b5d746b6d56346ed3dba83c6df17f2e91fed19c5774168ba687ab7ba2504ff8765a55ec62fcf0dc62b0827c2e27f36adf2bb1e38c SHA512 8589828a0f64cb377844bb2e7b329c4372c6f4de336c55d27cb74f0373f967df707756f3742a7f02ec145f71262c9114f35f5ebb853c3c57aff972931b2a013b
|
||||
|
||||
@@ -1,326 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
@@ -1,327 +0,0 @@
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DOTNET_PKG_COMPAT=8.0
|
||||
NUGETS="
|
||||
atksharp@3.24.24.34
|
||||
cairosharp@3.24.24.34
|
||||
castle.core@4.4.0
|
||||
coverlet.collector@3.0.2
|
||||
diffplex@1.7.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 systemd 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/gtk+:3
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libnotify
|
||||
!x11-drivers/OpenTabletDriver-bin
|
||||
"
|
||||
BDEPEND="app-misc/jq"
|
||||
|
||||
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 > 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" || die
|
||||
insinto /lib/modprobe.d
|
||||
doins lib/modprobe.d/99-opentabletdriver.conf
|
||||
insinto /usr/lib/modules-load.d
|
||||
doins lib/modules-load.d/opentabletdriver.conf
|
||||
insinto /usr/share/libinput
|
||||
doins share/libinput/30-vendor-opentabletdriver.quirks
|
||||
systemd_douserunit lib/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
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
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=*)
|
||||
Reference in New Issue
Block a user