commit: 610c10552cf818b79b2d546cd8a83f5ddcd904ab Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com> AuthorDate: Mon Feb 3 11:13:28 2025 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Mon Feb 3 11:20:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=610c1055
x11-drivers/OpenTabletDriver: add 0.6.5.1 Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com> x11-drivers/OpenTabletDriver/Manifest | 1 + .../OpenTabletDriver-0.6.5.1.ebuild | 327 +++++++++++++++++++++ 2 files changed, 328 insertions(+) diff --git a/x11-drivers/OpenTabletDriver/Manifest b/x11-drivers/OpenTabletDriver/Manifest index 25dd513bf..703c065ec 100644 --- a/x11-drivers/OpenTabletDriver/Manifest +++ b/x11-drivers/OpenTabletDriver/Manifest @@ -1,5 +1,6 @@ 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 DIST castle.core.4.4.0.nupkg 916004 BLAKE2B 7404f946c140bc4c22132282a4a12694328bac2f37f3cae06c595076068dbedc808465e352f083450cea3e3869698f91b7a5b2b55c08f29f4a9feba7f15abf74 SHA512 7626c347f82038bc29b0b2ae399937047aead260ed85ff8c107d36adbe901d729be59cd89a5f98ef45da2d1883c8374b6f286c81c044a5a2b69ab4b5dde9ce98 diff --git a/x11-drivers/OpenTabletDriver/OpenTabletDriver-0.6.5.1.ebuild b/x11-drivers/OpenTabletDriver/OpenTabletDriver-0.6.5.1.ebuild new file mode 100644 index 000000000..f246ccd69 --- /dev/null +++ b/x11-drivers/OpenTabletDriver/OpenTabletDriver-0.6.5.1.ebuild @@ -0,0 +1,327 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOTNET_PKG_COMPAT=8.0 +NUGETS=" [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] +microsoft.extensions.dependencyinjection.abstractions@6.0.0-rc.1.21451.13 [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] +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 [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] +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 [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] +" + +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 +}
