From 6089f00259cd80cace1b567b32344d3e8c8f616c Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 7 Apr 2020 16:57:20 -0400 Subject: Automagically detect SDL2_image, SDL2_ttf, SDL2_mixer library directories. --- guix.scm | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'guix.scm') diff --git a/guix.scm b/guix.scm index 6fa780e..4f131f7 100644 --- a/guix.scm +++ b/guix.scm @@ -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) -- cgit v1.2.3