[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/12: gnu: games: Add openrct2.
From: |
Ludovic Courtès |
Subject: |
04/12: gnu: games: Add openrct2. |
Date: |
Sat, 14 Oct 2017 11:09:09 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 7aafb3b324055fab42fa28fe527f86966e85de8e
Author: Rutger Helling <address@hidden>
Date: Thu Oct 12 10:22:27 2017 +0200
gnu: games: Add openrct2.
* gnu/packages/games.scm (openrct2): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/games.scm | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index f8c971f..04b7b78 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -133,6 +133,7 @@
#:use-module (gnu packages gnuzilla)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages networking)
+ #:use-module (gnu packages web)
#:use-module (guix build-system gnu)
#:use-module (guix build-system haskell)
#:use-module (guix build-system python)
@@ -2628,6 +2629,56 @@ Transport Tycoon Deluxe.")
("opensfx" ,openttd-opensfx)
,@(package-native-inputs openttd-engine)))))
+(define-public openrct2
+ (package
+ (name "openrct2")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/OpenRCT2/OpenRCT2/archive/v"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1bahkzlf9k92cc4zs4nk4wy59323kiw8d3wm0vjps3kp7iznqyjx"))
+ (file-name (string-append name "-" version ".tar.gz"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f ;; no tests available
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'build 'fix-cmake-install-file
+ (lambda _
+ ;; The build system tries to download a file and compare hashes.
+ ;; Since we have no network, remove this so the install doesn't
fail.
+ (substitute* "cmake_install.cmake"
+ (("EXPECTED_HASH
SHA1=b587d83de508d0b104d14c599b76f8565900fce0")
+ "")))))))
+ (inputs `(("curl", curl)
+ ("fontconfig", fontconfig)
+ ("freetype", freetype)
+ ("jansson", jansson)
+ ("libpng", libpng)
+ ("libzip", libzip)
+ ("mesa", mesa)
+ ("openssl", openssl)
+ ("sdl2", sdl2)
+ ("speexdsp", speexdsp)
+ ("zlib", zlib)))
+ (native-inputs
+ `(("pkg-config", pkg-config)))
+ (home-page "https://github.com/OpenRCT2/OpenRCT2")
+ (synopsis "Free software re-implementation of RollerCoaster Tycoon 2")
+ (description "OpenRCT2 is a free software re-implementation of
+RollerCoaster Tycoon 2 (RCT2). The gameplay revolves around building and
+maintaining an amusement park containing attractions, shops and facilities.
+
+Note that this package does @emph{not} provide the game assets (sounds,
+images, etc.)")
+ ;; See <https://github.com/OpenRCT2/OpenRCT2/wiki/Required-RCT2-files>
+ ;; regarding assets.
+ (license license:gpl3+)))
+
(define-public pinball
(package
(name "pinball")
- branch master updated (31c70cc -> b359368), Ludovic Courtès, 2017/10/14
- 01/12: gnu: guile-sdl: Remove 2.0-specific bits., Ludovic Courtès, 2017/10/14
- 06/12: gnu: Add emacs-julia-mode., Ludovic Courtès, 2017/10/14
- 04/12: gnu: games: Add openrct2.,
Ludovic Courtès <=
- 07/12: gnu: emacs-ess: Update to 16.10., Ludovic Courtès, 2017/10/14
- 09/12: gnu: Add python-cbor., Ludovic Courtès, 2017/10/14
- 05/12: gnu: Add emacs-easy-kill., Ludovic Courtès, 2017/10/14
- 02/12: gnu: guile-sly: Remove 2.0-specific bits., Ludovic Courtès, 2017/10/14
- 08/12: gnu: neomutt: Update to 20171013., Ludovic Courtès, 2017/10/14
- 12/12: gnu: Add python-pyqrcode., Ludovic Courtès, 2017/10/14
- 03/12: gnu: guile-sdl, guile-sly: Switch to Guile 2.2., Ludovic Courtès, 2017/10/14
- 10/12: gnu: Add python-py-ubjson., Ludovic Courtès, 2017/10/14
- 11/12: gnu: Add python-pynacl., Ludovic Courtès, 2017/10/14