[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
263/272: gnu: raincat: Update to 1.2.1.
From: |
Ricardo Wurmus |
Subject: |
263/272: gnu: raincat: Update to 1.2.1. |
Date: |
Mon, 1 Oct 2018 06:13:58 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 86eec9cf5c564f8782d78c0b992dbca07d5d5c8d
Author: Ricardo Wurmus <address@hidden>
Date: Fri Sep 28 11:30:55 2018 +0200
gnu: raincat: Update to 1.2.1.
* gnu/packages/games.scm (raincat): Update to 1.2.1.
[arguments]: Ensure raincat can find freeglut libraries at runtime.
[inputs]: Replace ghc-sdl, ghc-sdl-image, and ghc-sdl-mixer with ghc-sdl2,
ghc-sdl2-image, and ghc-sdl2-mixer, respectively.
---
gnu/packages/games.scm | 27 ++++++++++++++++++---------
1 file changed, 18 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 1fab9fe..86d6973 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2122,27 +2122,36 @@ on the screen and keyboard to display letters.")
(define-public raincat
(package
(name "raincat")
- (version "1.2")
+ (version "1.2.1")
(source
(origin
(method url-fetch)
- (uri (string-append
- "http://hackage.haskell.org/package/Raincat/Raincat-"
- version
- ".tar.gz"))
+ (uri (string-append "http://hackage.haskell.org/package/Raincat/"
+ "Raincat-" version ".tar.gz"))
(sha256
(base32
- "1zyxkvjxkadwakg03xnjii1hx0gs45ap9rfkpi4kxipzxppq1klk"))))
+ "10y9zi22m6hf13c9h8zd9vg7mljpwbw0r3djb6r80bna701fdf6c"))))
(build-system haskell-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'wrap-executable
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (wrap-program (string-append out "/bin/raincat")
+ `("LD_LIBRARY_PATH" ":" =
+ (,(string-append (assoc-ref inputs "freeglut")
+ "/lib"))))
+ #t))))))
(inputs
`(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
("ghc-random" ,ghc-random)
("ghc-glut" ,ghc-glut)
("freeglut" ,freeglut)
("ghc-opengl" ,ghc-opengl)
- ("ghc-sdl" ,ghc-sdl)
- ("ghc-sdl-image" ,ghc-sdl-image)
- ("ghc-sdl-mixer" ,ghc-sdl-mixer)))
+ ("ghc-sdl2" ,ghc-sdl2)
+ ("ghc-sdl2-image" ,ghc-sdl2-image)
+ ("ghc-sdl2-mixer" ,ghc-sdl2-mixer)))
(home-page "http://www.bysusanlin.com/raincat/")
(synopsis "Puzzle game with a cat in lead role")
(description "Project Raincat is a game developed by Carnegie Mellon
- 200/272: gnu: raincat: Update to 1.2., (continued)
- 200/272: gnu: raincat: Update to 1.2., Ricardo Wurmus, 2018/10/01
- 196/272: gnu: ghc-semigroupoids: Update to 5.2.2., Ricardo Wurmus, 2018/10/01
- 220/272: gnu: ghc-wai-conduit: Update to 3.0.0.4., Ricardo Wurmus, 2018/10/01
- 210/272: gnu: ghc-tasty-rerun: Update to 1.1.12., Ricardo Wurmus, 2018/10/01
- 216/272: gnu: Add ghc-rerebase., Ricardo Wurmus, 2018/10/01
- 227/272: ghc: Add ghc-ed25519., Ricardo Wurmus, 2018/10/01
- 232/272: gnu: ghc-lens: Update to 4.16.1., Ricardo Wurmus, 2018/10/01
- 261/272: gnu: Add ghc-sdl2-mixer., Ricardo Wurmus, 2018/10/01
- 253/272: gnu: ghc-pandoc-citeproc: Update to 0.14.3.1., Ricardo Wurmus, 2018/10/01
- 272/272: gnu: ghc-statistics: Fix build., Ricardo Wurmus, 2018/10/01
- 263/272: gnu: raincat: Update to 1.2.1.,
Ricardo Wurmus <=
- 264/272: gnu: git-annex: Update to 6.20180926., Ricardo Wurmus, 2018/10/01
- 130/272: gnu: ghc-extra: Update to 1.6.9., Ricardo Wurmus, 2018/10/01
- 142/272: gnu: ghc-unliftio: Update to 0.2.7.0., Ricardo Wurmus, 2018/10/01
- 148/272: gnu: ghc-th-orphans: Update to 0.13.6., Ricardo Wurmus, 2018/10/01
- 162/272: gnu: ghc-bytes: Update to 0.15.5., Ricardo Wurmus, 2018/10/01
- 171/272: gnu: ghc-x509-validation: Update to 1.6.10., Ricardo Wurmus, 2018/10/01
- 174/272: gnu: ghc-bifunctors: Update to 5.5.3., Ricardo Wurmus, 2018/10/01
- 188/272: gnu: ghc-aeson-pretty: Update to 0.8.7., Ricardo Wurmus, 2018/10/01
- 239/272: gnu: Remove old versions of ghc-doctest., Ricardo Wurmus, 2018/10/01
- 256/272: gnu: ghc-base-compat: Update to 0.10.4., Ricardo Wurmus, 2018/10/01