Subject: [PATCH] gnu: Add xmahjongg.

From: [email-masked]
Date: Thu, 20 Feb 2025 14:53:22 +0800

From: 宋文武 <[email-masked]>

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

Change-Id: I88440563216e5927152bebd381dd3efa065fc251
---
 gnu/packages/games.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 30aaf0767a..6be197e3c5 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -12438,6 +12438,26 @@ (define-public ultrastar-deluxe
     (home-page "https://usdx.eu/")
     (license license:gpl2+)))
 
+(define-public xmahjongg
+  (package
+    (name "xmahjongg")
+    (version "3.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://www.lcdf.org/xmahjongg/xmahjongg-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "1kzz8y34q7wibcrmfb3p9rrz88qriz4slxpf1yrrfny23il66g94"))))
+    (build-system gnu-build-system)
+    (inputs (list libx11))
+    (home-page "http://www.lcdf.org/xmahjongg/")
+    (synopsis "Solitaire Mah Jongg game")
+    (description
+     "Xmahjongg is a simple solitaire game.  The object is to remove all Mah
+Jongg tiles from the playing field by taking one matching pair at a time.")
+    (license license:gpl2+)))
+
 (define-public steam-devices-udev-rules
   ;; Last release from 2019-04-10
   (let ((commit "13443480a64fe8f10676606bd57da6de89f8ccb1")

base-commit: cd20619cfcb32c2631fb602729512740bc510550
-- 
2.48.1