gnu: ddcutil: Install pkgconfig file.

* gnu/packages/hardware.scm (ddcutil)[arguments]: Add a phase to install
the missing pkgconfig file.

Change-Id: Icd8c6c19e10c8dc426c5cd5020f0a209f0faa452
This commit is contained in:
Efraim Flashner 2023-12-06 14:46:11 +02:00
parent cc681b5657
commit 4e7cb24118
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -490,6 +490,14 @@ (define-public ddcutil
(sha256
(base32 "17zrqdz5mzwyccvc5m166yjlbbg9k2m9cwyg0y30h3184p1b2wlq"))))
(build-system gnu-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'install-missing-pkgconfig-file
(lambda _
(install-file "ddcutil.pc"
(string-append #$output "/lib/pkgconfig")))))))
(native-inputs
(list pkg-config))
(inputs