From: Alexandr Vityazev <avityazev@posteo.org>
To: 50847@debbugs.gnu.org
Subject: [bug#50847] [PATCH 2/5] gnu: Add libuinputplus.
Date: Mon, 27 Sep 2021 13:54:50 +0000 [thread overview]
Message-ID: <87tui6rumt.fsf@posteo.org> (raw)
In-Reply-To: <87wnn2ruq9.fsf@posteo.org>
* gnu/packages/cpp.scm (libuinputplus): New variable.
---
gnu/packages/cpp.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index e3b73b1612..26f933996c 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1000,6 +1000,43 @@ provides a number of utilities to make coding with expected cleaner.")
(description "@code{IODash} is a C++ library for POSIX operation systems.")
(license license:expat))))
+(define-public libuinputplus
+ (package
+ (name "libuinputplus")
+ (version "0.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/YukiWorkshop/libuInputPlus")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0sind2ghhy4h9kfkr5hsmhcq0di4ifwqyv4gac96rgj5mwvs33lp"))))
+ (build-system cmake-build-system)
+ (arguments
+ ;; No tests
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ ;; No rule to make target 'install' in version 0.2.1
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (inc (string-append out "/include"))
+ (lib (string-append out "/lib")))
+ (install-file "libuInputPlus.a" lib)
+ (with-directory-excursion "../source"
+ (install-file "CommonIncludes.hpp" inc)
+ (install-file "uInput.hpp" inc)
+ (install-file "uInputSetup.hpp" inc))))))))
+ (home-page "https://github.com/YukiWorkshop/libuInputPlus")
+ (synopsis "C++ library for the Linux uinput interface")
+ (description "@code{libuInputPlus} is a C++ library for the Linux
+uinput interface.")
+ (license license:expat)))
+
(define-public magic-enum
(package
(name "magic-enum")
--
2.33.0
--
Alexandr Vityazev
next prev parent reply other threads:[~2021-09-27 13:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-27 13:52 [bug#50847] [PATCH 0/5] Add ydotool Alexandr Vityazev
2021-09-27 13:54 ` [bug#50847] [PATCH 1/5] gnu: Add iodash Alexandr Vityazev
2021-09-27 13:54 ` Alexandr Vityazev [this message]
2021-09-27 13:55 ` [bug#50847] [PATCH 3/5] gnu: Add libevdevplus Alexandr Vityazev
2021-09-27 13:56 ` [bug#50847] [PATCH 4/5] gnu: Add cxxopts-next Alexandr Vityazev
2021-09-27 13:57 ` [bug#50847] [PATCH 5/5] gnu: Add ydotool Alexandr Vityazev
2022-09-26 7:27 ` [bug#50847] [PATCH] " Nicolas Graves via Guix-patches via
2022-09-26 8:12 ` Nicolas Graves via Guix-patches via
2022-10-13 7:08 ` Andrew Tropin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tui6rumt.fsf@posteo.org \
--to=avityazev@posteo.org \
--cc=50847@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.