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.
This commit is contained in:
Maxim Cournoyer 2022-08-17 22:14:16 -04:00
parent 50ece0e14c
commit 15badf7b1e
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -539,21 +539,20 @@ (define-public lxsession
(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