gnu: lxqt-build-tools: Define LXQT_DATA_DIR and LXQT_ETC_XDG_DIR.

* gnu/packages/lxqt.scm (lxqt-build-tools)[arguments]: Define LXQT_DATA_DIR
and LXQT_ETC_XDG_DIR in the configure flags.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Meiyo Peng 2018-10-19 22:16:38 +08:00 committed by 宋文武
parent 6f00fb75ca
commit cbea1e8dd2
No known key found for this signature in database
GPG key ID: 26525665AE727D37

View file

@ -131,7 +131,13 @@ (define-public lxqt-build-tools
(base32 "13b5x26p6ycnwzlgg1cgvlc88wjrjmlb3snrrmzh0xgh9h6hhvd6"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f)) ; no tests
`(#:tests? #f ; no tests
#:configure-flags
;; 'startlxqt' will add LXQT_DATA_DIR to XDG_DATA_DIRS,
;; LXQT_ETC_XDG_DIR to XDG_CONFIG_DIRS, and 'lxqt-about' will report
;; LXQT_ETC_XDG_DIR in its "Technical Info".
'("-DLXQT_DATA_DIR=/run/current-system/profile/share"
"-DLXQT_ETC_XDG_DIR=/run/current-system/profile/etc/xdg")))
(native-inputs
`(("pkg-config" ,pkg-config)
("glib" ,glib)))