diff options
Diffstat (limited to 'gnu/packages/games.scm')
-rw-r--r-- | gnu/packages/games.scm | 51 |
1 files changed, 25 insertions, 26 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index bf5c680042..a5fa19fc20 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -1160,7 +1160,7 @@ allows users to brew while offline.") (define-public corsix-th (package (name "corsix-th") - (version "0.66") + (version "0.67") (source (origin (method git-fetch) @@ -1169,29 +1169,28 @@ allows users to brew while offline.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0sgsvhqgiq6v1v5am7ghja8blhlrj0y1arvq6xq1j5fwa7c59ihs")))) + (base32 "14996kbrwdrd0gpz19il2i4p650qdhjw8v8ka3aigk6pl4kda3sq")))) (build-system cmake-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'install 'wrap-binary - (lambda _ - ;; Set Lua module paths and default MIDI soundfont on startup. - (let* ((out (assoc-ref %outputs "out")) - (fluid (assoc-ref %build-inputs "fluid-3")) - (lua-version ,(version-major+minor (package-version lua))) - (lua-cpath - (map (lambda (lib) - (string-append - (assoc-ref %build-inputs (string-append "lua-" lib)) - "/lib/lua/" lua-version "/?.so")) - '("filesystem" "lpeg")))) - (wrap-program (string-append out "/bin/corsix-th") - `("LUA_CPATH" ";" = ,lua-cpath) - `("SDL_SOUNDFONTS" ":" suffix - (,(string-append fluid "/share/soundfonts/FluidR3Mono_GM.sf3"))))) - #t))) - #:tests? #f)) ; TODO need busted package to run tests + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'wrap-binary + (lambda _ + ;; Set Lua module paths and default MIDI soundfont on startup. + (let* ((fluid #$(this-package-input "fluid-3")) + (lua-version #$(version-major+minor (package-version lua))) + (lua-cpath + (map (lambda (lib) + (string-append + (assoc-ref %build-inputs (string-append "lua-" lib)) + "/lib/lua/" lua-version "/?.so")) + '("filesystem" "lpeg")))) + (wrap-program (string-append #$output "/bin/corsix-th") + `("LUA_CPATH" ";" = ,lua-cpath) + `("SDL_SOUNDFONTS" ":" suffix + (,(string-append fluid "/share/soundfonts/FluidR3Mono_GM.sf3")))))))) + #:tests? #f)) ; TODO need busted package to run tests ;; Omit Lua-Socket dependency to disable automatic updates. (inputs (list ffmpeg @@ -3740,7 +3739,7 @@ object-oriented programming.") (assoc-ref inputs "chess") "/bin/gnuchessx")))))))) (inputs - (list alsa-utils chess gtk+-2 librsvg)) + (list alsa-utils chess gtk+-2 (librsvg-for-system))) (native-inputs (list texinfo pkg-config)) (home-page "https://www.gnu.org/software/xboard/") @@ -5166,7 +5165,7 @@ are only two levels to play with, but they are very addictive.") (("\"beep\"") (string-append "\"" (assoc-ref inputs "beep") "/bin/beep\""))) #t))))) - (inputs (list avahi beep gtk+ librsvg)) + (inputs (list avahi beep gtk+ (librsvg-for-system))) (native-inputs (list intltool itstool libxml2 pkg-config)) (synopsis "Board game inspired by The Settlers of Catan") (description "Pioneers is an emulation of the board game The Settlers of @@ -5815,7 +5814,7 @@ safety of the Chromium vessel.") ("fribidi" ,fribidi) ("gettext" ,gettext-minimal) ("libpng" ,libpng) - ("librsvg" ,librsvg) + ("librsvg" ,(librsvg-for-system)) ("libpaper" ,libpaper) ("netpbm" ,netpbm) ("sdl" ,(sdl-union (list sdl sdl-mixer sdl-ttf sdl-image))))) @@ -7755,7 +7754,7 @@ Github or Gitlab.") (base32 "1s86cd36rwkff329mb1ay1wi5qqyi35564ppgr3f4qqz9wj9vs2m")))) ("gettext" ,gettext-minimal) - ("librsvg" ,librsvg) + ("librsvg" ,(librsvg-for-system)) ("po4a" ,po4a) ("python" ,python-wrapper))) (inputs |