From 35a474f4ae1ccc2434dda7879fddd863c8530106 Mon Sep 17 00:00:00 2001 From: haarp Date: Sun, 10 Sep 2023 20:13:49 +0200 Subject: Add evhz Signed-off-by: haarp --- sys-apps/evhz/Manifest | 1 + sys-apps/evhz/evhz-9999.ebuild | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 sys-apps/evhz/Manifest create mode 100644 sys-apps/evhz/evhz-9999.ebuild diff --git a/sys-apps/evhz/Manifest b/sys-apps/evhz/Manifest new file mode 100644 index 0000000..be2f59e --- /dev/null +++ b/sys-apps/evhz/Manifest @@ -0,0 +1 @@ +EBUILD evhz-9999.ebuild 462 BLAKE2B f438d5c51239f72e7bea8770dfb7c46989aacc135fbb00b84918d15d43b1bf944a39b5dd9ed808f2e6dc2e1b019defe87f42ddb892f6622398a4060ef7543548 SHA512 1244016315e0fb1f3ac68a2e46aa6e23c50a2e927887ffbf870ccedbb7a2a4bfdc9917dc745dcbf5754d5d81b4b68f73279dd23a50662400698736d8e95192cd diff --git a/sys-apps/evhz/evhz-9999.ebuild b/sys-apps/evhz/evhz-9999.ebuild new file mode 100644 index 0000000..b52c3bf --- /dev/null +++ b/sys-apps/evhz/evhz-9999.ebuild @@ -0,0 +1,24 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit git-r3 toolchain-funcs + +DESCRIPTION="Show mouse refresh rate under evdev" +HOMEPAGE="https://git.sr.ht/~iank/evhz" +EGIT_REPO_URI="https://git.sr.ht/~iank/evhz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +src_compile() { + "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -o evhz evhz.c || die "gcc failed" +} + +src_install() { + einstalldocs + dobin evhz +} -- cgit v1.2.3-65-gdbad