gnu: spectrwm: Update to 3.2.0.

* gnu/packages/wm.scm (spectrwm): Update to 3.2.0.
[arguments]: Remove 'fix-freetype-include' phase.
This commit is contained in:
Tobias Geerinckx-Rice 2018-09-09 21:45:48 +02:00
parent 57d70dbabc
commit f6c8a97a04
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 4 additions and 10 deletions

View File

@ -848,7 +848,7 @@ Keybinder works with GTK-based applications using the X Window System.")
(define-public spectrwm (define-public spectrwm
(package (package
(name "spectrwm") (name "spectrwm")
(version "3.1.0") (version "3.2.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -859,7 +859,7 @@ Keybinder works with GTK-based applications using the X Window System.")
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"16lxcharxslf9rc39wxa3mr2nx5d8kzm9ls7p7dal8yrwr7y59dp")))) "0z7gjmp1x6y8q3dnw6swvbv8x2wd4ykzjvi3ibk2sxhgc910907v"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:make-flags (let ((pkg-config (lambda (flag) `(#:make-flags (let ((pkg-config (lambda (flag)
@ -871,7 +871,7 @@ Keybinder works with GTK-based applications using the X Window System.")
(string-append "PREFIX=" %output) (string-append "PREFIX=" %output)
(string-append "INCS=-I. " (pkg-config "--cflags")) (string-append "INCS=-I. " (pkg-config "--cflags"))
(string-append "LIBS=" (pkg-config "--libs") " -lm"))) (string-append "LIBS=" (pkg-config "--libs") " -lm")))
#:tests? #f ;No test suite #:tests? #f ;no test suite
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'build 'change-dir (add-before 'build 'change-dir
@ -881,13 +881,7 @@ Keybinder works with GTK-based applications using the X Window System.")
(lambda _ (lambda _
(substitute* "Makefile" (substitute* "Makefile"
(("-g") "")))) (("-g") ""))))
(add-after 'change-dir 'fix-freetype-include (delete 'configure)))) ;no 'configure' exists
(lambda _
(substitute* "Makefile"
(("/usr/include/freetype2")
(string-append (assoc-ref %build-inputs "freetype")
"/include/freetype2")))))
(delete 'configure)))) ;no 'configure' exists
(inputs (inputs
`(("freetype" ,freetype) `(("freetype" ,freetype)
("fontconfig" ,fontconfig) ("fontconfig" ,fontconfig)