From patchwork Fri Sep 20 02:05:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Eric Bavier X-Patchwork-Id: 31189 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 855B727BBE9; Fri, 20 Sep 2024 03:07:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DBBCA27BBE2 for ; Fri, 20 Sep 2024 03:07:04 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srT2r-0008Gz-6R; Thu, 19 Sep 2024 22:06:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srT2p-0008Gi-GR for guix-patches@gnu.org; Thu, 19 Sep 2024 22:06:51 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srT2p-0008Nu-6C for guix-patches@gnu.org; Thu, 19 Sep 2024 22:06:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=T9Tu29AQNx0iIW5cdozZX+yjRy5Vkn5puGNd56ttBOA=; b=Z6Cf6QZ3VpuY+1/P6+9fIhSdjfNAE9W+MWUZen65DP+4smr0TTwoAxommnUr7wTGrXYS5BQJ8kfXVcfZe7H1YJUL8ADxvsw9ESZTT4dZc2xMfqSupnJIYCphRnfvBTERDkRgpwNe/O+LzS0lre5+JBklcWPN7OXgP2zzmkXeUgS2Yiiqnr7VuAQHNaxhUV99Ulgq5/Rej2AjrTNSNHI99A55iu+iyK/TlS7a9vIRY3ZQH5xNIbPUYmKnlTTH+qqIlBYJRXawH8d0e35Yr3tHmGB0D2dDa8+N4/Hdv8Yo88Fqo7xEtxSFdKzQEGma8DfTHDPXAG5U98pNDJrmJmwb9g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srT30-0006m5-Nd; Thu, 19 Sep 2024 22:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73373] [PATCH] gnu: Add AntiMicroX. Resent-From: Eric Bavier Original-Sender: "Debbugs-submit" Resent-CC: adam.faiz@disroot.org, liliana.prikler@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Fri, 20 Sep 2024 02:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73373 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73373@debbugs.gnu.org Cc: Eric Bavier , Adam Faiz , Liliana Marie Prikler , =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Adam Faiz , Liliana Marie Prikler , =?utf-8?b?5a6L5paH5q2m?= Received: via spool by submit@debbugs.gnu.org id=B.172679802126031 (code B ref -1); Fri, 20 Sep 2024 02:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Sep 2024 02:07:01 +0000 Received: from localhost ([127.0.0.1]:33684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srT2y-0006ln-MY for submit@debbugs.gnu.org; Thu, 19 Sep 2024 22:07:01 -0400 Received: from lists.gnu.org ([209.51.188.17]:49758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srT2u-0006ld-Bz for submit@debbugs.gnu.org; Thu, 19 Sep 2024 22:06:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srT2b-0008G2-Uw for guix-patches@gnu.org; Thu, 19 Sep 2024 22:06:37 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srT2X-0008ML-W9 for guix-patches@gnu.org; Thu, 19 Sep 2024 22:06:37 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5F713240101 for ; Fri, 20 Sep 2024 04:06:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726797987; bh=nRqn8BeJyd9JD049jFlXS+PU+KLrP03sXv2c8cUOLLA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=XQKXvkkdKabUo092U3tzDG2sp/aXAUIGRPvu9P2UG4DunAlY4j17B3hZ/t0V9LY7Z tgCTHi8TFkUxhkD1Ft1BQygiH3sgx4+HBk/UJRFHORlf1yV46bG53oRJpik8IsJo/J N8wKVWB1UpEOINIFL1LMFLdPBnuVzl1vDaplUTaPEmhFf1aBKSvZGJh9wlCqbAs6aZ gofDWDkp5bgrIUVNUUXePDpWEJXKkATweSs16pFRLP331oUxX0qo7PJRgMPwp9F7eP sgPVkmf2v6nTM3b47KL2Ksh7p31q/qjmHVSL3KsErcrDsXkSRKi3pTI4brcgqMrmkb /VcF1uunLL9VQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X8wjZ3smjz9rxG; Fri, 20 Sep 2024 04:06:26 +0200 (CEST) From: Eric Bavier Date: Fri, 20 Sep 2024 02:05:07 +0000 Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.66; envelope-from=bavier@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/games.scm (antimicrox): New variable. Change-Id: Ie159edf259bba0aa06ff60c074fec4457b409d12 --- gnu/packages/games.scm | 52 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) base-commit: 6ea75bb9bcc52521f0bb3f121799745fdc17f1c9 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 ;;; Copyright © 2013 Nikita Karetnikov ;;; Copyright © 2014, 2015 David Thompson -;;; Copyright © 2014-2023 Eric Bavier +;;; Copyright © 2014-2024 Eric Bavier ;;; Copyright © 2014 Cyrill Schenkel ;;; Copyright © 2014 Sylvain Beucler ;;; Copyright © 2014, 2015, 2018, 2019, 2021 Ludovic Courtès @@ -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")