summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2021-09-08 12:34:21 +0300
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-09-13 22:24:35 +0200
commit157547f4a437e3d497eefe8673e816f225cb6214 (patch)
treee19c51bee0e30c2bb2d5bf125db9c82060175fa1 /gnu
parent4dee15e456e121fc3dffc2466d3af610a45af188 (diff)
gnu: Add fheroes2
* gnu/packages/games.scm (fheroes2): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/games.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index a2f756e3a73..d12de29ef45 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -12470,3 +12470,35 @@ wreckage. You're stranded on a desert island and have to survive. In order to
12470do so you need to explore the island, find food, build a shelter and try to 12470do so you need to explore the island, find food, build a shelter and try to
12471get attention, so you get found.") 12471get attention, so you get found.")
12472 (license license:cc-by4.0)))) 12472 (license license:cc-by4.0))))
12473
12474(define-public fheroes2
12475 (package
12476 (name "fheroes2")
12477 (version "0.9.7")
12478 (build-system cmake-build-system)
12479 (arguments
12480 `(#:tests? #f ; no tests
12481 #:make-flags '("FHEROES2_STRICT_COMPILATION=1"
12482 "RELEASE=1")))
12483 (native-inputs
12484 `(("gettext" ,gettext-minimal)))
12485 (inputs
12486 `(("libpng" ,libpng)
12487 ("sdl" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))
12488 ("zlib" ,zlib)))
12489 (source
12490 (origin
12491 (method git-fetch)
12492 (uri (git-reference
12493 (url "https://github.com/ihhub/fheroes2")
12494 (commit version)))
12495 (file-name (git-file-name name version))
12496 (sha256
12497 (base32
12498 "0v3zh8a8yxfikcr5vkmy36c57l4nmwisz13mjavn5f7yrirf86fn"))))
12499 (home-page "https://ihhub.github.io/fheroes2/")
12500 (synopsis "Turn-based strategy game engine")
12501 (description "@code{fheroes2} is an implementation of Heroes of Might and
12502Magic II (aka HOMM2) game engine. It requires assets and game resources to
12503play; it will look for them at @file{~/.local/share/fheroes2} folder.")
12504 (license license:gpl2)))