gnu: dmenu: Update to 4.6.

* gnu/packages/suckless.scm (dmenu): Update to 4.6.
[inputs]: Add libxft and freetype.
[arguments]: Set FREETYPEINC in #:make-flags.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
Alex Griffin 2017-01-03 09:40:33 -06:00 committed by Leo Famulari
parent f3a53f3c8f
commit bc47382a5d
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -79,23 +79,28 @@ (define-public dwm
(define-public dmenu (define-public dmenu
(package (package
(name "dmenu") (name "dmenu")
(version "4.5") (version "4.6")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "http://dl.suckless.org/tools/dmenu-" (uri (string-append "http://dl.suckless.org/tools/dmenu-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0l58jpxrr80fmyw5pgw5alm5qry49aw6y049745wl991v2cdcb08")))) "1cwnvamqqlgczvd5dv5rsgqbhv8kp0ddjnhmavb3q732i8028yja"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:tests? #f ; no tests '(#:tests? #f ; no tests
#:make-flags (list "CC=gcc" #:make-flags (list "CC=gcc"
(string-append "PREFIX=" %output)) (string-append "PREFIX=" %output)
(string-append "FREETYPEINC="
(assoc-ref %build-inputs "freetype")
"/include/freetype2"))
#:phases #:phases
(alist-delete 'configure %standard-phases))) (alist-delete 'configure %standard-phases)))
(inputs (inputs
`(("libx11" ,libx11) `(("freetype" ,freetype)
("libxft" ,libxft)
("libx11" ,libx11)
("libxinerama" ,libxinerama))) ("libxinerama" ,libxinerama)))
(home-page "http://tools.suckless.org/dmenu/") (home-page "http://tools.suckless.org/dmenu/")
(synopsis "Dynamic menu") (synopsis "Dynamic menu")