mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-14 23:20:29 -05:00
gnu: sdbus-c++: Fix generated sdbus-c++.pc.
* gnu/packages/glib.scm (sdbus-c++) [#:phases]: Add ‘fix-elogind-requirement’. Change-Id: Id29369178f164fc60e6882aa664556924cf4bfa7 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
49897f2dde
commit
2e7d78b1f0
1 changed files with 14 additions and 5 deletions
|
@ -1289,11 +1289,20 @@ (define-public sdbus-c++
|
|||
;; Do not install tests.
|
||||
"-DTESTS_INSTALL_PATH=/tmp"
|
||||
"-DCMAKE_VERBOSE_MAKEFILE=ON")
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'do-not-install-tests
|
||||
(lambda _
|
||||
(substitute* "tests/CMakeLists.txt"
|
||||
(("/etc/dbus-1/system.d") "/tmp")))))))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'do-not-install-tests
|
||||
(lambda _
|
||||
(substitute* "tests/CMakeLists.txt"
|
||||
(("/etc/dbus-1/system.d") "/tmp"))))
|
||||
(add-after 'unpack 'fix-elogind-requirement
|
||||
(lambda _
|
||||
;; sdbus-c++.pc requires 'elogind', but it should
|
||||
;; require 'libelogind'. Fixed after 1.4.0 with
|
||||
;; fb9e4ae37152648a67814458d3ff673b1d3ca089
|
||||
(substitute* "pkgconfig/sdbus-c++.pc.in"
|
||||
(("@LIBSYSTEMD@")
|
||||
"libelogind")))))))
|
||||
(native-inputs (list googletest pkg-config))
|
||||
(inputs (list expat))
|
||||
(propagated-inputs (list elogind)) ;required by sdbus-c++.pc
|
||||
|
|
Loading…
Reference in a new issue