diff options
| author | 宋文武 <iyzsong@member.fsf.org> | 2025-03-11 21:58:37 +0800 |
|---|---|---|
| committer | 宋文武 <iyzsong@member.fsf.org> | 2025-03-15 18:16:24 +0800 |
| commit | 18903a7a570c16d8b4571b4dca4ef2cffc19b445 (patch) | |
| tree | 4ed5498912d311c73063c476cafcb79effc24152 | |
| parent | 782f3e518af4ebce6a67eaff393d1aed0a49b489 (diff) | |
gnu: Add kgames.
* gnu/packages/games.scm (kgames): New variable.
Change-Id: I5b787365c051951dbd038db0191905b4e693c978
| -rw-r--r-- | gnu/packages/games.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 89e06a3a81e..5f4cbe76b97 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -2129,6 +2129,47 @@ built-in level editor.") license:public-domain license:silofl1.1)))) +(define-public kgames + (package + (name "kgames") + (version "2.4.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/keith-packard/kgames") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "09alaszhwnzzv5b0cxv5dia9y0fm63n2igv42ydkq299h7avb5fq")))) + (build-system meson-build-system) + (arguments + (list #:configure-flags + #~'("-Duser-menu=false" + "-Dbindir=bin"))) + (native-inputs + (list bison flex pkg-config)) + (inputs + (list cairo + fontconfig + freetype + librsvg + libx11 + libxaw + libxft + libxmu + libxpm + libxrender + ncurses)) + (synopsis "Xaw based solitaire games") + (home-page "https://github.com/keith-packard/kgames") + (description + "This package provides a collection of solitaire games: kaces, kcanfield, +kcribbage, kdominos, kklondike, kmcarlo, kmontana, kslyfox, kspider, ktabby, +kthieves, ktowers, xmille and xreversi.") + ;; Code is under BSD-3 and Expat, card images are under CC0. + (license (list license:bsd-3 license:expat license:cc0)))) + (define-public knightsgame (package (name "knightsgame") |
