summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-08-17 22:14:16 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-08-17 22:55:04 -0400
commit15badf7b1eb7b9bf44977d07845154bc3baaeb2c (patch)
tree0b5ef5f6a10e524df148b80a16c2c9996ae7fdfe
parent50ece0e14c4f7101cebb116b4d9a8a038b8d9edd (diff)
downloadguix-15badf7b1eb7b9bf44977d07845154bc3baaeb2c.tar.gz
gnu: lxsession: Build with GTK 3.
* gnu/packages/lxde.scm (lxsession)[snippet]: Delete trailing #t.
[configure-flags]: New argument.
[phases]: Delete trailing #t.
[inputs]: Remove labels.
-rw-r--r--gnu/packages/lxde.scm13
1 files changed, 6 insertions, 7 deletions
diff --git a/gnu/packages/lxde.scm b/gnu/packages/lxde.scm
index dee8a5aa5e..9fcd6e1414 100644
--- a/gnu/packages/lxde.scm
+++ b/gnu/packages/lxde.scm
@@ -539,21 +539,20 @@ in LXDE.")
                    (and (string-suffix? ".c" file)
                         (file-exists? (c->vala file))))))
            (for-each delete-file
-                     (find-files "." generated-c-file?))
-           #t))))
+                     (find-files "." generated-c-file?))))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases
+     `(#:configure-flags (list "--enable-gtk3")
+       #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'rm-stamp
            (lambda _
              (for-each delete-file (find-files "." "\\.stamp$"))
              ;; Force regeneration of configure script.
-             (delete-file "configure")
-             #t)))))
+             (delete-file "configure"))))))
     (inputs
-     `(("gtk+-2" ,gtk+-2)
-       ("polkit" ,polkit)))
+     (list gtk+
+           polkit))
     (native-inputs
      (list pkg-config
            intltool