gnu: gnome-xyz: gnome-shell-extension-clipboard-indicator: Update to 39.

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-clipboard-indicator):
Update to version 39. Also remove trailings #t.
[native-inputs]: Use new style.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Charles 2022-01-11 15:28:50 -06:00 committed by Mathieu Othacehe
parent 6af7e5da8b
commit 3cf1b0fdb4
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -246,26 +246,29 @@ (define-public gnome-shell-extension-appindicator
(define-public gnome-shell-extension-clipboard-indicator (define-public gnome-shell-extension-clipboard-indicator
(package (package
(name "gnome-shell-extension-clipboard-indicator") (name "gnome-shell-extension-clipboard-indicator")
(version "34") (version "39")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url (string-append "https://github.com/Tudmotu/" (url
"gnome-shell-extension-clipboard-indicator.git")) (string-append
"https://github.com/Tudmotu/"
"gnome-shell-extension-clipboard-indicator"))
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0i00psc1ky70zljd14jzr627y7nd8xwnwrh4xpajl1f6djabh12s")) "1kq6bzxki7lwmw690f4qml8pvfwafpqpsfnq2kyjhrp8nh39axwi"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; Remove pre-compiled settings schemas and translations from ;; Remove pre-compiled settings schemas and translations from
;; source, as they are generated as part of build. Upstream ;; source, as they are generated as part of build. Upstream
;; includes them for people who want to run the software ;; includes them for people who want to run the software
;; directly from source tree. ;; directly from source tree.
'(begin (delete-file "schemas/gschemas.compiled") '(begin
(for-each delete-file (find-files "locale" "\\.mo$")) (delete-file "schemas/gschemas.compiled")
#t)))) (for-each delete-file
(find-files "locale" "\\.mo$"))))))
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
'(#:install-plan '(#:install-plan
@ -276,14 +279,9 @@ (define-public gnome-shell-extension-clipboard-indicator
(add-before 'install 'compile-schemas (add-before 'install 'compile-schemas
(lambda _ (lambda _
(with-directory-excursion "schemas" (with-directory-excursion "schemas"
(invoke "glib-compile-schemas" ".")) (invoke "glib-compile-schemas" ".")))))))
#t))
(add-before 'install 'compile-locales
(lambda _ (invoke "./compile-locales.sh")
#t)))))
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal) (list `(,glib "bin") gettext-minimal))
("glib:bin" ,glib "bin"))) ; for glib-compile-schemas
(home-page "https://github.com/Tudmotu/gnome-shell-extension-clipboard-indicator") (home-page "https://github.com/Tudmotu/gnome-shell-extension-clipboard-indicator")
(synopsis "Clipboard manager extension for GNOME Shell") (synopsis "Clipboard manager extension for GNOME Shell")
(description "Clipboard Indicator is a clipboard manager for GNOME Shell (description "Clipboard Indicator is a clipboard manager for GNOME Shell