commit: 27405ec374c53072f019766d9003fbef4ca4e7b1 Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com> AuthorDate: Thu Dec 19 13:34:15 2024 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Thu Dec 19 13:34:15 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=27405ec3
x11-drivers/OpenTabletDriver: add 0.6.5.0 Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com> x11-drivers/OpenTabletDriver/Manifest | 2 + .../OpenTabletDriver-0.6.5.0.ebuild | 327 +++++++++++++++++++++ 2 files changed, 329 insertions(+) diff --git a/x11-drivers/OpenTabletDriver/Manifest b/x11-drivers/OpenTabletDriver/Manifest index e63feae82..25dd513bf 100644 --- a/x11-drivers/OpenTabletDriver/Manifest +++ b/x11-drivers/OpenTabletDriver/Manifest @@ -1,8 +1,10 @@ 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 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 DIST coverlet.collector.3.0.2.nupkg 1937787 BLAKE2B 2f53b338f9ae07512606316be062301eb60b8b108858c723aed21b478fbc241974c6ae29b0d67bcb9d2244aa632fb2dbca5478206b4e80abb25e5c1d2b21f6d7 SHA512 cd97b89e5dd08bb4a37133a65654a2030fdb210005f70dbcb1025478acb96c6794ba79e90b55aaa1a717cfec0c3e95ed4f068193635082f05f1efeb5db6f0705 +DIST diffplex.1.7.2.nupkg 92255 BLAKE2B dc735fc95dad6a62d97e0aacf27f3b6cf2c094cfa8d490c125f67f93fc7ef416665033bbdcc778109a08b7cf2adc9440e314235796c290e3d156e1a75ee27348 SHA512 24fb44832dc3c975afa54eee2558a43a1c14e5ae0dfdbde80a155f61efe8f25a9cc8a290a8c24916a8db648afb90a91ceec800ea24edb0a9af0c37074c864d99 DIST eto.forms.2.5.10.nupkg 1002510 BLAKE2B aa20723a1b7076db11db91cc2a9f40ccf80433de8b765822e3b19d52a3161662ab0f4eb6d7dbb2fac3526d8248a809ba1ad75fe53938a891d839653ebc2744fe SHA512 85fd8b62d26cf43e6f8c03238562fb5126acd83cd0d7d624ef3b6f91d027596ae67d330473116a905d6478c181762587634fa1a71e12ff73c4b8d4e32009fc80 DIST eto.forms.2.5.11.nupkg 1018611 BLAKE2B 2007493ccb1f747135446a50960d3580d5ca14d637c6e8c2bff124335941ef2b87eb15555247ce88218125bd9ef98c252544fd131fd54666003c66ed18954e6a SHA512 252d5677d5083f1017c88937ec63c8ca7090bd3ca87bf1ffbe1240e8f7627e49a15e94f715b6a6fd91776e2f59d5a7bad1c1a51ec52c725171eb8f5d68d30fc8 DIST eto.platform.gtk.2.5.11.nupkg 202260 BLAKE2B 5b894425c752c5ee9655cb60d5f91bc9ef4b53a2c0316decb8f984347db9bdf405202d01dc748f76dc74601bc33e9d212203f71f2a3ea8f4ae0005c85699aec9 SHA512 4ee99d7aa44dfb493b6a83e0c25b513ab90ad2770aa2e4dd8b82248603bab319beaca44b1e3eacd7647607dc2d24c09c6cf2c8f1b5ee934287e20c74f063c47b diff --git a/x11-drivers/OpenTabletDriver/OpenTabletDriver-0.6.5.0.ebuild b/x11-drivers/OpenTabletDriver/OpenTabletDriver-0.6.5.0.ebuild new file mode 100644 index 000000000..592b23afc --- /dev/null +++ b/x11-drivers/OpenTabletDriver/OpenTabletDriver-0.6.5.0.ebuild @@ -0,0 +1,327 @@ +# Copyright 2023-2024 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 +}
