aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorKei Kebreau <kkebreau@posteo.net>2019-02-15 01:16:44 -0500
committerKei Kebreau <kkebreau@posteo.net>2019-02-22 20:38:48 -0500
commita9249f58c761469bc10b01be9d89dd83921b3256 (patch)
tree788afeb6e1f73f61e89227928c9140920a2cd6dc /gnu
parent8e91cecd7d56b56ae18498996b4f462add77fb60 (diff)
downloadpatches-a9249f58c761469bc10b01be9d89dd83921b3256.tar
patches-a9249f58c761469bc10b01be9d89dd83921b3256.tar.gz
gnu: freedink-engine: Update to 109.4.
* gnu/packages/games.scm (freedink-engine): Update to 109.4. [arguments]: Add 'disable-graphical-tests' phase. [native-inputs]: Add autoconf, automake, cxxtest and help2man. Remove check. [inputs]: Add glm and sdl-union of sdl2, sdl2-image, sdl2-mixer, sdl2-ttf and sdl2-gfx. Remove sdl, sdl-image, sdl-mixer, sdl-ttf and sdl-gfx.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/games.scm32
1 files changed, 22 insertions, 10 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 0832b1ef63..ac53979af4 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -112,6 +112,8 @@
#:use-module (gnu packages linux)
#:use-module (gnu packages lua)
#:use-module (gnu packages haskell)
+ #:use-module (gnu packages man)
+ #:use-module (gnu packages maths)
#:use-module (gnu packages mp3)
#:use-module (gnu packages music)
#:use-module (gnu packages multiprecision)
@@ -1401,25 +1403,35 @@ interface or via an external visual interface such as GNU XBoard.")
(define freedink-engine
(package
(name "freedink-engine")
- (version "108.4")
+ (version "109.4")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/freedink/freedink-" version
".tar.gz"))
(sha256
(base32
- "08c51imfjfcydm7h0va09z8qfw5nc837bi2x754ni2z737hb5kw2"))))
+ "0iaagwnyfgm3mqzkj550q60hrsjr13gykg5vfn2nz2ia520bb52g"))))
(build-system gnu-build-system)
- (arguments `(#:configure-flags '("--disable-embedded-resources")))
- (native-inputs `(("gettext" ,gettext-minimal)
+ (arguments
+ `(#:configure-flags '("--disable-embedded-resources")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'disable-graphical-tests
+ (lambda _
+ ;; These tests require a graphical interface.
+ (substitute* "src/Makefile.am"
+ (("test_gfx_fonts TestIOGfxDisplay") ""))
+ #t)))))
+ (native-inputs `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("cxxtest" ,cxxtest)
+ ("gettext" ,gettext-minimal)
+ ("help2man" ,help2man)
("pkg-config" ,pkg-config)))
- (inputs `(("sdl" ,sdl)
- ("sdl-image" ,sdl-image)
- ("sdl-mixer" ,sdl-mixer)
- ("sdl-ttf" ,sdl-ttf)
- ("sdl-gfx" ,sdl-gfx)
+ (inputs `(("sdl-union" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer
+ sdl2-ttf sdl2-gfx)))
("fontconfig" ,fontconfig)
- ("check" ,check)))
+ ("glm" ,glm)))
(properties '((ftp-directory . "/freedink")
(upstream-name . "freedink")))
(home-page "https://www.gnu.org/software/freedink/")