gnu: lxrandr: Build with GTK 3.
* gnu/packages/lxde.scm (lxrandr)[configure-flags]: New argument. [inputs]: Remove labels. Replace gtk+-2 with gtk+.
This commit is contained in:
parent
15badf7b1e
commit
e8ab1ba7c2
1 changed files with 4 additions and 4 deletions
|
@ -139,7 +139,8 @@ able to change themes, icons, and fonts used by GTK+ applications.")
|
||||||
"04n3vgh3ix12p8jfs4w0dyfq3anbjy33h7g53wbbqqc0f74xyplb"))))
|
"04n3vgh3ix12p8jfs4w0dyfq3anbjy33h7g53wbbqqc0f74xyplb"))))
|
||||||
(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 'xrandr-absolutely
|
(add-after 'unpack 'xrandr-absolutely
|
||||||
;; lxrandr is useless without xrandr and gives an unhelpful error
|
;; lxrandr is useless without xrandr and gives an unhelpful error
|
||||||
|
@ -147,9 +148,8 @@ able to change themes, icons, and fonts used by GTK+ applications.")
|
||||||
(lambda* (#:key input #:allow-other-keys)
|
(lambda* (#:key input #:allow-other-keys)
|
||||||
(substitute* "src/lxrandr.c"
|
(substitute* "src/lxrandr.c"
|
||||||
(("(\"|')xrandr\"" _ match)
|
(("(\"|')xrandr\"" _ match)
|
||||||
(string-append match (which "xrandr") "\"")))
|
(string-append match (which "xrandr") "\""))))))))
|
||||||
#t)))))
|
(inputs (list gtk+ xrandr))
|
||||||
(inputs (list gtk+-2 xrandr))
|
|
||||||
(native-inputs (list intltool pkg-config))
|
(native-inputs (list intltool pkg-config))
|
||||||
(synopsis "LXDE monitor configuration tool")
|
(synopsis "LXDE monitor configuration tool")
|
||||||
(description "LXRandR is a very basic monitor configuration tool. It
|
(description "LXRandR is a very basic monitor configuration tool. It
|
||||||
|
|
Reference in a new issue