From 321bd0c3a928c6722a9c6baa9e5fae784ac086d1 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 22 Nov 2019 19:12:36 +0100 Subject: gnu: Add kajongg. * gnu/packages/games.scm (kajongg): New variable. --- gnu/packages/games.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 00de70dfbf..e1e7a2a5f8 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -8162,3 +8162,48 @@ scrambled tiles This package is part of the KDE games module.") (license license:gpl2+))) + +(define-public kajongg + (package + (name "kajongg") + (version "19.08.3") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/applications/" + version "/src/kajongg-" version ".tar.xz")) + (sha256 + (base32 "0ql6p5zifdpdf65r7ki9ml123azpwwk9x3x8r9ij6xhjnf7p7x6w")))) + (properties `((tags . ("Desktop" "KDE" "Games")))) + (build-system qt-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ;("perl" ,perl) + ("kdoctools" ,kdoctools))) + (inputs + `(("kconfig" ,kconfig) + ("kconfigwidgets" ,kconfigwidgets) + ("kcoreaddons" ,kcoreaddons) + ("ki18n" ,ki18n) + ("libkmahjongg" ,libkmahjongg) + ("python" ,python) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg))) + (propagated-inputs + `(("python-twisted" ,python-twisted) + ("python-pyqt" ,python-pyqt))) + ;; FIXME: Need to wrap PYTHONPATH + (home-page "https://games.kde.org/") + (synopsis "Classical Mah Jongg game for 4 players") + (description "Kajongg is the ancient Chinese board game for 4 players. + +If you are looking for the Mah Jongg solitaire please use the application +kmahjongg. + +Kajongg can be used in two different ways: Scoring a manual game where you +play as always and use Kajongg for the computation of scores and for +bookkeeping. Or you can use Kajongg to play against any combination of other +human players or computer players. + +This package is part of the KDE games module.") + (license (list license:gpl2+ license:fdl1.2+)))) -- cgit v1.2.3