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.
parent
50ece0e14c
commit
15badf7b1e
|
@ -539,21 +539,20 @@ in LXDE.")
|
||||||
(and (string-suffix? ".c" file)
|
(and (string-suffix? ".c" file)
|
||||||
(file-exists? (c->vala file))))))
|
(file-exists? (c->vala file))))))
|
||||||
(for-each delete-file
|
(for-each delete-file
|
||||||
(find-files "." generated-c-file?))
|
(find-files "." generated-c-file?))))))
|
||||||
#t))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:configure-flags (list "--enable-gtk3")
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'rm-stamp
|
(add-after 'unpack 'rm-stamp
|
||||||
(lambda _
|
(lambda _
|
||||||
(for-each delete-file (find-files "." "\\.stamp$"))
|
(for-each delete-file (find-files "." "\\.stamp$"))
|
||||||
;; Force regeneration of configure script.
|
;; Force regeneration of configure script.
|
||||||
(delete-file "configure")
|
(delete-file "configure"))))))
|
||||||
#t)))))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("gtk+-2" ,gtk+-2)
|
(list gtk+
|
||||||
("polkit" ,polkit)))
|
polkit))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config
|
(list pkg-config
|
||||||
intltool
|
intltool
|
||||||
|
|
Reference in New Issue