diff options
author | David Thompson <dthompson2@worcester.edu> | 2020-04-07 16:57:20 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2020-04-07 16:57:20 -0400 |
commit | 6089f00259cd80cace1b567b32344d3e8c8f616c (patch) | |
tree | 9c389b704ec5d2411848438fd7d67a2a033f1253 /guix.scm | |
parent | 1c6a6250d2c1e6bfaca15058225f66ce9187ecaf (diff) |
Automagically detect SDL2_image, SDL2_ttf, SDL2_mixer library directories.
Diffstat (limited to 'guix.scm')
-rw-r--r-- | guix.scm | 15 |
1 files changed, 3 insertions, 12 deletions
@@ -68,20 +68,11 @@ (package (name "guile-sdl2") - (version "0.1.2") + (version "0.4.0") (source (local-file %source-dir #:recursive? #t #:select? git-file?)) (build-system gnu-build-system) (arguments - '(#:configure-flags - (list (string-append "--with-libsdl2-prefix=" - (assoc-ref %build-inputs "sdl2")) - (string-append "--with-libsdl2-image-prefix=" - (assoc-ref %build-inputs "sdl2-image")) - (string-append "--with-libsdl2-ttf-prefix=" - (assoc-ref %build-inputs "sdl2-ttf")) - (string-append "--with-libsdl2-mixer-prefix=" - (assoc-ref %build-inputs "sdl2-mixer"))) - #:make-flags '("GUILE_AUTO_COMPILE=0") + '(#:make-flags '("GUILE_AUTO_COMPILE=0") #:phases (modify-phases %standard-phases (add-after 'unpack 'bootstrap @@ -92,7 +83,7 @@ ("pkg-config" ,pkg-config) ("texinfo" ,texinfo))) (inputs - `(("guile" ,guile-2.2) + `(("guile" ,guile-3.0) ("sdl2" ,sdl2) ("sdl2-image" ,sdl2-image) ("sdl2-mixer" ,sdl2-mixer) |