Date: Fri, 9 Aug 2024 06:38:51 GMT From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1b376deea0ab - main - Add sysutils/qmk_hid: Framework Computer QMK HID Utility Message-ID: <202408090638.4796cplL085539@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=1b376deea0ab325fa2efaf80e4f45ea7ea48114e commit 1b376deea0ab325fa2efaf80e4f45ea7ea48114e Author: Daniel Schaefer <dhs@frame.work> AuthorDate: 2024-08-09 06:33:24 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2024-08-09 06:38:00 +0000 Add sysutils/qmk_hid: Framework Computer QMK HID Utility Signed-off-by: Daniel Schaefer <dhs@frame.work> Sponsored by: Framework Computer Inc Sponsored by: The FreeBSD Foundation --- sysutils/Makefile | 1 + sysutils/qmk_hid/Makefile | 22 ++++++++++ sysutils/qmk_hid/Makefile.crates | 43 +++++++++++++++++++ sysutils/qmk_hid/distinfo | 89 ++++++++++++++++++++++++++++++++++++++++ sysutils/qmk_hid/pkg-descr | 1 + 5 files changed, 156 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index f1ccacb0bfcb..a72af60bbf11 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1186,6 +1186,7 @@ SUBDIR += qjail SUBDIR += qjail54 SUBDIR += qlogtools + SUBDIR += qmk_hid SUBDIR += qsudo SUBDIR += qt5-qtdiag SUBDIR += qt5-qtpaths diff --git a/sysutils/qmk_hid/Makefile b/sysutils/qmk_hid/Makefile new file mode 100644 index 000000000000..df6f7514d331 --- /dev/null +++ b/sysutils/qmk_hid/Makefile @@ -0,0 +1,22 @@ +PORTNAME= qmk_hid +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.12 +CATEGORIES= sysutils + +MAINTAINER= dhs@frame.work +COMMENT= Framework Computer QMK HID Utility +WWW= https://github.com/FrameworkComputer/qmk_hid + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +LIB_DEPENDS= libhidapi.so:comms/hidapi + +USES= cargo + +USE_GITHUB= yes +GH_ACCOUNT= FrameworkComputer + +PLIST_FILES= bin/qmk_hid + +.include <bsd.port.mk> diff --git a/sysutils/qmk_hid/Makefile.crates b/sysutils/qmk_hid/Makefile.crates new file mode 100644 index 000000000000..84aa31fe127a --- /dev/null +++ b/sysutils/qmk_hid/Makefile.crates @@ -0,0 +1,43 @@ +CARGO_CRATES= anstream-0.3.2 \ + anstyle-1.0.1 \ + anstyle-parse-0.2.1 \ + anstyle-query-1.0.0 \ + anstyle-wincon-1.0.1 \ + bitflags-1.3.2 \ + cc-1.0.79 \ + clap-4.3.9 \ + clap_builder-4.3.9 \ + clap_derive-4.3.2 \ + clap_lex-0.5.0 \ + colorchoice-1.0.0 \ + errno-0.3.1 \ + errno-dragonfly-0.1.2 \ + heck-0.4.1 \ + hermit-abi-0.3.1 \ + hidapi-2.3.3 \ + io-lifetimes-1.0.11 \ + is-terminal-0.4.7 \ + libc-0.2.147 \ + linux-raw-sys-0.3.8 \ + once_cell-1.18.0 \ + pkg-config-0.3.27 \ + proc-macro2-1.0.63 \ + quote-1.0.29 \ + rustix-0.37.20 \ + static_vcruntime-2.0.0 \ + strsim-0.10.0 \ + syn-2.0.22 \ + unicode-ident-1.0.9 \ + utf8parse-0.2.1 \ + winapi-0.3.9 \ + winapi-i686-pc-windows-gnu-0.4.0 \ + winapi-x86_64-pc-windows-gnu-0.4.0 \ + windows-sys-0.48.0 \ + windows-targets-0.48.1 \ + windows_aarch64_gnullvm-0.48.0 \ + windows_aarch64_msvc-0.48.0 \ + windows_i686_gnu-0.48.0 \ + windows_i686_msvc-0.48.0 \ + windows_x86_64_gnu-0.48.0 \ + windows_x86_64_gnullvm-0.48.0 \ + windows_x86_64_msvc-0.48.0 diff --git a/sysutils/qmk_hid/distinfo b/sysutils/qmk_hid/distinfo new file mode 100644 index 000000000000..673d585b9553 --- /dev/null +++ b/sysutils/qmk_hid/distinfo @@ -0,0 +1,89 @@ +TIMESTAMP = 1720562195 +SHA256 (rust/crates/anstream-0.3.2.crate) = 0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163 +SIZE (rust/crates/anstream-0.3.2.crate) = 19504 +SHA256 (rust/crates/anstyle-1.0.1.crate) = 3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd +SIZE (rust/crates/anstyle-1.0.1.crate) = 13977 +SHA256 (rust/crates/anstyle-parse-0.2.1.crate) = 938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333 +SIZE (rust/crates/anstyle-parse-0.2.1.crate) = 24802 +SHA256 (rust/crates/anstyle-query-1.0.0.crate) = 5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b +SIZE (rust/crates/anstyle-query-1.0.0.crate) = 8620 +SHA256 (rust/crates/anstyle-wincon-1.0.1.crate) = 180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188 +SIZE (rust/crates/anstyle-wincon-1.0.1.crate) = 11718 +SHA256 (rust/crates/bitflags-1.3.2.crate) = bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a +SIZE (rust/crates/bitflags-1.3.2.crate) = 23021 +SHA256 (rust/crates/cc-1.0.79.crate) = 50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f +SIZE (rust/crates/cc-1.0.79.crate) = 62624 +SHA256 (rust/crates/clap-4.3.9.crate) = bba77a07e4489fb41bd90e8d4201c3eb246b3c2c9ea2ba0bddd6c1d1df87db7d +SIZE (rust/crates/clap-4.3.9.crate) = 54811 +SHA256 (rust/crates/clap_builder-4.3.9.crate) = 2c9b4a88bb4bc35d3d6f65a21b0f0bafe9c894fa00978de242c555ec28bea1c0 +SIZE (rust/crates/clap_builder-4.3.9.crate) = 162255 +SHA256 (rust/crates/clap_derive-4.3.2.crate) = b8cd2b2a819ad6eec39e8f1d6b53001af1e5469f8c177579cdaeb313115b825f +SIZE (rust/crates/clap_derive-4.3.2.crate) = 29053 +SHA256 (rust/crates/clap_lex-0.5.0.crate) = 2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b +SIZE (rust/crates/clap_lex-0.5.0.crate) = 11792 +SHA256 (rust/crates/colorchoice-1.0.0.crate) = acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7 +SIZE (rust/crates/colorchoice-1.0.0.crate) = 6857 +SHA256 (rust/crates/errno-0.3.1.crate) = 4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a +SIZE (rust/crates/errno-0.3.1.crate) = 10348 +SHA256 (rust/crates/errno-dragonfly-0.1.2.crate) = aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf +SIZE (rust/crates/errno-dragonfly-0.1.2.crate) = 1810 +SHA256 (rust/crates/heck-0.4.1.crate) = 95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8 +SIZE (rust/crates/heck-0.4.1.crate) = 11567 +SHA256 (rust/crates/hermit-abi-0.3.1.crate) = fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286 +SIZE (rust/crates/hermit-abi-0.3.1.crate) = 13793 +SHA256 (rust/crates/hidapi-2.3.3.crate) = 1f841dbb77615e116fb2ca38044b42310370f0d093c774a72361670ff2ae431b +SIZE (rust/crates/hidapi-2.3.3.crate) = 358989 +SHA256 (rust/crates/io-lifetimes-1.0.11.crate) = eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2 +SIZE (rust/crates/io-lifetimes-1.0.11.crate) = 37346 +SHA256 (rust/crates/is-terminal-0.4.7.crate) = adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f +SIZE (rust/crates/is-terminal-0.4.7.crate) = 8356 +SHA256 (rust/crates/libc-0.2.147.crate) = b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3 +SIZE (rust/crates/libc-0.2.147.crate) = 686772 +SHA256 (rust/crates/linux-raw-sys-0.3.8.crate) = ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519 +SIZE (rust/crates/linux-raw-sys-0.3.8.crate) = 1013776 +SHA256 (rust/crates/once_cell-1.18.0.crate) = dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d +SIZE (rust/crates/once_cell-1.18.0.crate) = 32969 +SHA256 (rust/crates/pkg-config-0.3.27.crate) = 26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964 +SIZE (rust/crates/pkg-config-0.3.27.crate) = 18838 +SHA256 (rust/crates/proc-macro2-1.0.63.crate) = 7b368fba921b0dce7e60f5e04ec15e565b3303972b42bcfde1d0713b881959eb +SIZE (rust/crates/proc-macro2-1.0.63.crate) = 44867 +SHA256 (rust/crates/quote-1.0.29.crate) = 573015e8ab27661678357f27dc26460738fd2b6c86e46f386fde94cb5d913105 +SIZE (rust/crates/quote-1.0.29.crate) = 28345 +SHA256 (rust/crates/rustix-0.37.20.crate) = b96e891d04aa506a6d1f318d2771bcb1c7dfda84e126660ace067c9b474bb2c0 +SIZE (rust/crates/rustix-0.37.20.crate) = 327665 +SHA256 (rust/crates/static_vcruntime-2.0.0.crate) = 954e3e877803def9dc46075bf4060147c55cd70db97873077232eae0269dc89b +SIZE (rust/crates/static_vcruntime-2.0.0.crate) = 7040 +SHA256 (rust/crates/strsim-0.10.0.crate) = 73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623 +SIZE (rust/crates/strsim-0.10.0.crate) = 11355 +SHA256 (rust/crates/syn-2.0.22.crate) = 2efbeae7acf4eabd6bcdcbd11c92f45231ddda7539edc7806bd1a04a03b24616 +SIZE (rust/crates/syn-2.0.22.crate) = 241001 +SHA256 (rust/crates/unicode-ident-1.0.9.crate) = b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0 +SIZE (rust/crates/unicode-ident-1.0.9.crate) = 41978 +SHA256 (rust/crates/utf8parse-0.2.1.crate) = 711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a +SIZE (rust/crates/utf8parse-0.2.1.crate) = 13435 +SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419 +SIZE (rust/crates/winapi-0.3.9.crate) = 1200382 +SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6 +SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815 +SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f +SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998 +SHA256 (rust/crates/windows-sys-0.48.0.crate) = 677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9 +SIZE (rust/crates/windows-sys-0.48.0.crate) = 2628884 +SHA256 (rust/crates/windows-targets-0.48.1.crate) = 05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f +SIZE (rust/crates/windows-targets-0.48.1.crate) = 6902 +SHA256 (rust/crates/windows_aarch64_gnullvm-0.48.0.crate) = 91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc +SIZE (rust/crates/windows_aarch64_gnullvm-0.48.0.crate) = 366543 +SHA256 (rust/crates/windows_aarch64_msvc-0.48.0.crate) = b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3 +SIZE (rust/crates/windows_aarch64_msvc-0.48.0.crate) = 671479 +SHA256 (rust/crates/windows_i686_gnu-0.48.0.crate) = 622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241 +SIZE (rust/crates/windows_i686_gnu-0.48.0.crate) = 741490 +SHA256 (rust/crates/windows_i686_msvc-0.48.0.crate) = 4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00 +SIZE (rust/crates/windows_i686_msvc-0.48.0.crate) = 730056 +SHA256 (rust/crates/windows_x86_64_gnu-0.48.0.crate) = ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1 +SIZE (rust/crates/windows_x86_64_gnu-0.48.0.crate) = 703595 +SHA256 (rust/crates/windows_x86_64_gnullvm-0.48.0.crate) = 7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953 +SIZE (rust/crates/windows_x86_64_gnullvm-0.48.0.crate) = 366536 +SHA256 (rust/crates/windows_x86_64_msvc-0.48.0.crate) = 1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a +SIZE (rust/crates/windows_x86_64_msvc-0.48.0.crate) = 671422 +SHA256 (FrameworkComputer-qmk_hid-v0.1.12_GH0.tar.gz) = c883b9e9889947d17c37641f0b2540bd404b5f5f673e4da5df16e5abb82fe5a1 +SIZE (FrameworkComputer-qmk_hid-v0.1.12_GH0.tar.gz) = 39105 diff --git a/sysutils/qmk_hid/pkg-descr b/sysutils/qmk_hid/pkg-descr new file mode 100644 index 000000000000..936659144a25 --- /dev/null +++ b/sysutils/qmk_hid/pkg-descr @@ -0,0 +1 @@ +Commandline tool for interacting with Framework Computer QMK devices over HID
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408090638.4796cplL085539>