mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-14 19:10:49 +02:00
gnu: power-profiles-daemon: Update to 0.30.
Fixing #506. * gnu/packages/freedesktop.scm (power-profiles-daemon): Update to 0.30. [#:phases]: In 'wrap-program add GI_TYPELIB_PATH to the wrapper. Change-Id: Ie5d45a8326d8925a5fb790c8effb6365a82e1b71 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
63405dce98
commit
141f96127e
1 changed files with 12 additions and 8 deletions
|
@ -1331,7 +1331,7 @@ manager for the current system.")
|
||||||
(define-public power-profiles-daemon
|
(define-public power-profiles-daemon
|
||||||
(package
|
(package
|
||||||
(name "power-profiles-daemon")
|
(name "power-profiles-daemon")
|
||||||
(version "0.23")
|
(version "0.30")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -1341,7 +1341,7 @@ manager for the current system.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"08xz38r2fv6bpmv5vyjfvizwkbflg6m504fh3qd1jpw6xxv1lzwi"))))
|
"0bp14d1bazylcpqmi26z3kq2gc33rk7w8092lzy5j4l1iq1j21c9"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(outputs '("out" "doc"))
|
(outputs '("out" "doc"))
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -1360,12 +1360,16 @@ manager for the current system.")
|
||||||
(lambda _
|
(lambda _
|
||||||
(wrap-program
|
(wrap-program
|
||||||
(string-append #$output "/bin/powerprofilesctl")
|
(string-append #$output "/bin/powerprofilesctl")
|
||||||
`("GUIX_PYTHONPATH" = (,(string-append
|
`("GUIX_PYTHONPATH" prefix
|
||||||
#$(this-package-input "python-pygobject")
|
(,(string-append
|
||||||
"/lib/python"
|
#$(this-package-input "python-pygobject")
|
||||||
#$(version-major+minor
|
"/lib/python" #$(version-major+minor
|
||||||
(package-version (this-package-input "python")))
|
(package-version
|
||||||
"/site-packages"))))))
|
(this-package-input "python")))
|
||||||
|
"/site-packages")))
|
||||||
|
`("GI_TYPELIB_PATH" prefix (,(string-append
|
||||||
|
#$(this-package-input "glib")
|
||||||
|
"/lib/girepository-1.0"))))))
|
||||||
(add-after 'install 'move-docs
|
(add-after 'install 'move-docs
|
||||||
(lambda _
|
(lambda _
|
||||||
(mkdir-p (string-append #$output:doc "/share"))
|
(mkdir-p (string-append #$output:doc "/share"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue