From 3e9d717e54c4f9ab28556eb247950dedd78bc8cf Mon Sep 17 00:00:00 2001 From: Felix Gruber Date: Sun, 12 Sep 2021 07:48:26 +0000 Subject: gnu: pioneer: Update to 20210723. * gnu/packages/games.scm (pioneer): Update to 20210723. Signed-off-by: Tobias Geerinckx-Rice --- gnu/packages/games.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/games.scm') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 79754d3185..a2f756e3a7 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -7197,7 +7197,7 @@ elements to achieve a simple goal in the most complex way possible.") (define-public pioneer (package (name "pioneer") - (version "20210203") + (version "20210723") (source (origin (method git-fetch) (uri (git-reference @@ -7206,7 +7206,7 @@ elements to achieve a simple goal in the most complex way possible.") (file-name (git-file-name name version)) (sha256 (base32 - "1zyi1xyghj99hz8fa6dywpscj6flp04fspnlgxbivf3rgmnxflg7")))) + "1hj99jxb9n3r0bkq87p1c24862xa1xyzjyfdyyx88ckszxb05qf3")))) (build-system cmake-build-system) (native-inputs `(("pkg-config" ,pkg-config))) -- cgit v1.2.3 From 157547f4a437e3d497eefe8673e816f225cb6214 Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Wed, 8 Sep 2021 12:34:21 +0300 Subject: gnu: Add fheroes2 * gnu/packages/games.scm (fheroes2): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/games.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages/games.scm') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index a2f756e3a7..d12de29ef4 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 do so you need to explore the island, find food, build a shelter and try to get attention, so you get found.") (license license:cc-by4.0)))) + +(define-public fheroes2 + (package + (name "fheroes2") + (version "0.9.7") + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags '("FHEROES2_STRICT_COMPILATION=1" + "RELEASE=1"))) + (native-inputs + `(("gettext" ,gettext-minimal))) + (inputs + `(("libpng" ,libpng) + ("sdl" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf))) + ("zlib" ,zlib))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ihhub/fheroes2") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0v3zh8a8yxfikcr5vkmy36c57l4nmwisz13mjavn5f7yrirf86fn")))) + (home-page "https://ihhub.github.io/fheroes2/") + (synopsis "Turn-based strategy game engine") + (description "@code{fheroes2} is an implementation of Heroes of Might and +Magic II (aka HOMM2) game engine. It requires assets and game resources to +play; it will look for them at @file{~/.local/share/fheroes2} folder.") + (license license:gpl2))) -- cgit v1.2.3 From a0d38c01e8434dbeb5fc1a352bbe22af5759c40d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Sep 2021 16:23:55 +0300 Subject: gnu: teeworlds: Replace bundled font. * gnu/packages/games.scm (teeworlds)[arguments]: Add phase to replace bundled font. [inputs]: Add font-dejagnu. --- gnu/packages/games.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages/games.scm') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index d12de29ef4..69d2ce792a 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -6244,9 +6244,17 @@ small robot living in the nano world, repair its maker.") (assoc-ref outputs "out") "/share/teeworlds/data" "\""))) + #t)) + (add-after 'unpack 'replace-font + (lambda* (#:key inputs #:allow-other-keys) + (delete-file "datasrc/fonts/DejaVuSans.ttf") + (symlink (string-append (assoc-ref inputs "font-dejavu") + "/share/fonts/truetype/DejaVuSans.ttf") + "datasrc/fonts/DejaVuSans.ttf") #t))))) (inputs `(("freetype" ,freetype) + ("font-dejavu" ,font-dejavu) ("glu" ,glu) ("json-parser" ,json-parser) ("mesa" ,mesa) -- cgit v1.2.3 From c38cca1e3eb92663e112902a73220a0eb8657604 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Sep 2021 16:29:16 +0300 Subject: gnu: teeworlds: Enable tests. * gnu/packages/games.scm (teeworlds)[arguments]: Enable tests. Set test-target. [native-inputs]: Add googletest. --- gnu/packages/games.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/packages/games.scm') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 69d2ce792a..c39770c260 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -6232,7 +6232,7 @@ small robot living in the nano world, repair its maker.") #t)))) (build-system cmake-build-system) (arguments - `(#:tests? #f ; no tests included + `(#:test-target "run_tests" #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-paths @@ -6266,7 +6266,8 @@ small robot living in the nano world, repair its maker.") ("openssl" ,openssl) ("zlib" ,zlib))) (native-inputs - `(("python" ,python-wrapper) + `(("googletest" ,googletest) + ("python" ,python-wrapper) ("pkg-config" ,pkg-config))) (home-page "https://www.teeworlds.com") (synopsis "2D retro multiplayer shooter game") -- cgit v1.2.3