Subject: bug#73373: closed (Re: [bug#73373] [PATCH] gnu: Add AntiMicroX.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 02 Oct 2024 06:06:02 +0000

Your bug report

#73373: [PATCH] gnu: Add AntiMicroX.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
73373: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73373
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#73373] [PATCH] gnu: Add AntiMicroX.
From: Eric Bavier <[email-masked]>
To: Tobias Geerinckx-Rice <[email-masked]>
Cc: [email-masked], Adam Faiz <[email-masked]>,宋文武 <[email-masked]>, Liliana Marie Prikler <[email-masked]>, [email-masked]
Date: Wed, 02 Oct 2024 04:11:22 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hearing no more comments, I've pushed the latest patch with a slightly 
reworded description in commit b9f2ff6b8d361fa40f6db08378cb47afa2652c4e

Thanks for reviewing,
-- 
`~Eric

Subject: [PATCH] gnu: Add AntiMicroX.
From: Eric Bavier <[email-masked]>
To: [email-masked]
Cc: Eric Bavier <[email-masked]>
Date: Fri, 20 Sep 2024 02:05:07 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/games.scm (antimicrox): New variable.

Change-Id: Ie159edf259bba0aa06ff60c074fec4457b409d12
---
 gnu/packages/games.scm | 52 +++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 51 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 213c4c598d..a1b27306d2 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2013 John Darrington <[email-masked]>
 ;;; Copyright © 2013 Nikita Karetnikov <[email-masked]>
 ;;; Copyright © 2014, 2015 David Thompson <[email-masked]>
-;;; Copyright © 2014-2023 Eric Bavier <[email-masked]>
+;;; Copyright © 2014-2024 Eric Bavier <[email-masked]>
 ;;; Copyright © 2014 Cyrill Schenkel <[email-masked]>
 ;;; Copyright © 2014 Sylvain Beucler <[email-masked]>
 ;;; Copyright © 2014, 2015, 2018, 2019, 2021 Ludovic Courtès <[email-masked]>
@@ -170,6 +170,7 @@ (define-module (gnu packages games)
   #:use-module (gnu packages image)
   #:use-module (gnu packages imagemagick)
   #:use-module (gnu packages javascript)
+  #:use-module (gnu packages kde-frameworks)
   #:use-module (gnu packages less)
   #:use-module (gnu packages lesstif)
   #:use-module (gnu packages libcanberra)
@@ -485,6 +486,55 @@ (define-public anarch
 Doom clone shooter game.")
       (license license:cc0))))
 
+(define-public antimicrox
+  (package
+   (name "antimicrox")
+   (version "3.4.1")
+   (home-page "https://github.com/AntiMicroX/antimicrox")
+   (source
+    (origin
+     (method git-fetch)
+     (uri (git-reference
+           (url home-page)
+           (commit version)))
+     (file-name (git-file-name name version))
+     (sha256
+      (base32
+       "04yb5nppn751asbihr90sqk5imamc937886lc24cihhgp0sila8y"))))
+   (build-system cmake-build-system)
+   (arguments
+    (list
+     #:tests? #f                        ; Tests require Qt5
+     #:configure-flags
+     #~(list "-DCHECK_FOR_UPDATES=NO"
+             "-DWITH_TESTS=NO"
+             #$(string-append "-DANTIMICROX_PKG_VERSION=" version))
+     #:phases
+     #~(modify-phases %standard-phases
+         (add-after 'unpack 'patch-installation-target
+           (lambda _
+             (substitute* "CMakeLists.txt"
+               (("/usr(/lib/udev/rules.d)" _ lib)
+                (string-append #$output lib))))))))
+   (native-inputs
+    (list extra-cmake-modules
+          gettext-minimal
+          itstool
+          qttools))
+   (inputs
+    (list libxtst
+          libx11
+          qtbase
+          sdl2))
+   (synopsis "Control your system with a gamepad")
+   (description
+    "AntiMicroX is a graphical program used to map gamepad keys to keyboard, mouse,
+scripts, and macros.  Useful for controlling your system with a gamepad or
+playing games that don't natively support gamepads.  It can also be used for
+generating SDL2 configuration (useful for mapping atypical gamepads to generic
+ones).  It support X.org and Wayland.")
+   (license license:gpl3+)))
+
 (define-public armagetronad
   (package
     (name "armagetronad")

base-commit: 6ea75bb9bcc52521f0bb3f121799745fdc17f1c9
-- 
2.46.0