[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: gnome-music: Replace custom typelib and python wraps.
From: |
guix-commits |
Subject: |
02/02: gnu: gnome-music: Replace custom typelib and python wraps. |
Date: |
Mon, 17 Aug 2020 07:41:42 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit f3b49c40499bf3f4491aec403bcb5dad98d51b70
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Mon Aug 17 04:43:32 2020 -0400
gnu: gnome-music: Replace custom typelib and python wraps.
* gnu/packages/gnome.scm (gnome-music) [arguments]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 92bf110..b51d371 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -890,6 +890,7 @@ cloud integration is offered through GNOME Online
Accounts.")
(outputs '("out" "help"))
(arguments
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:python? #t ; To wrap binaries
#:tests? #f ; Tests require networking
#:phases
(modify-phases %standard-phases
@@ -910,15 +911,9 @@ cloud integration is offered through GNOME Online
Accounts.")
#t)))
(add-after 'move-help 'wrap-gnome-music
(lambda* (#:key inputs outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (pylib (string-append out "/lib/python"
- ,(version-major+minor
- (package-version python))
- "/site-packages")))
+ (let* ((out (assoc-ref outputs "out")))
(wrap-program (string-append out "/bin/gnome-music")
- `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
- `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
- `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
+ `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
#t)))))
(native-inputs
`(("desktop-file-utils" ,desktop-file-utils)