[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: celluloid: Do not install icon cache.
From: |
guix-commits |
Subject: |
03/03: gnu: celluloid: Do not install icon cache. |
Date: |
Thu, 6 Oct 2022 10:00:25 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit b86867417fa76384eae76fcef099cf4d133bb20d
Author: Michael Rohleder <mike@rohleder.de>
AuthorDate: Sun Oct 2 00:56:44 2022 +0200
gnu: celluloid: Do not install icon cache.
Fixes <https://issues.guix.gnu.org/58207>.
* gnu/packages/video.scm (celluloid)[arguments]: Add phase
disable-postinstall-script so postinstall-script does nothing. Build
with glib-or-gtk meson option.
[native-inputs]: Remove desktop-file-utils, gtk:bin.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/video.scm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 5568c5be8b..e6da6ce04f 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -785,12 +785,18 @@ old-fashioned output methods with powerful ascii-art
renderer.")
(sha256
(base32 "0ns9xh582c8kajw4v2x5ap5jfiba3gxywqc2klc0v6fc3id1gqii"))))
(build-system meson-build-system)
+ (arguments
+ (list
+ #:glib-or-gtk? #t
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'disable-postinstall-script
+ (lambda _
+ (setenv "DESTDIR" "/"))))))
(native-inputs
(list
- desktop-file-utils ; for update-desktop-database
intltool
`(,glib "bin") ; for glib-compile-resources
- `(,gtk "bin") ; for gtk-update-icon-cache
pkg-config
python-wrapper)) ; for generate-authors.py
(inputs