guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/06: gnu: dmenu: Update to 4.6.


From: Leo Famulari
Subject: 03/06: gnu: dmenu: Update to 4.6.
Date: Wed, 4 Jan 2017 04:39:29 +0000 (UTC)

lfam pushed a commit to branch master
in repository guix.

commit bc47382a5d7210154bda728d365d18645e3272d9
Author: Alex Griffin <address@hidden>
Date:   Tue Jan 3 09:40:33 2017 -0600

    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 <address@hidden>
---
 gnu/packages/suckless.scm |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index a501bb5..10785ec 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -79,23 +79,28 @@ optimising the environment for the application in use and 
the task performed.")
 (define-public dmenu
   (package
     (name "dmenu")
-    (version "4.5")
+    (version "4.6")
     (source (origin
               (method url-fetch)
               (uri (string-append "http://dl.suckless.org/tools/dmenu-";
                                   version ".tar.gz"))
               (sha256
                (base32
-                "0l58jpxrr80fmyw5pgw5alm5qry49aw6y049745wl991v2cdcb08"))))
+                "1cwnvamqqlgczvd5dv5rsgqbhv8kp0ddjnhmavb3q732i8028yja"))))
     (build-system gnu-build-system)
     (arguments
      '(#:tests? #f ; no tests
        #:make-flags (list "CC=gcc"
-                          (string-append "PREFIX=" %output))
+                          (string-append "PREFIX=" %output)
+                          (string-append "FREETYPEINC="
+                                         (assoc-ref %build-inputs "freetype")
+                                         "/include/freetype2"))
        #:phases
        (alist-delete 'configure %standard-phases)))
     (inputs
-     `(("libx11" ,libx11)
+     `(("freetype" ,freetype)
+       ("libxft" ,libxft)
+       ("libx11" ,libx11)
        ("libxinerama" ,libxinerama)))
     (home-page "http://tools.suckless.org/dmenu/";)
     (synopsis "Dynamic menu")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]