mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 14:47:20 +01:00
gnu: Add gnome-shell-extension-just-perfection.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-just-perfection): New variable.
This commit is contained in:
parent
cefcddf9ef
commit
60661adfb8
1 changed files with 51 additions and 0 deletions
|
@ -537,6 +537,57 @@ (define-public gnome-shell-extension-hide-app-icon
|
|||
(list license:gpl2
|
||||
license:gpl3)))))
|
||||
|
||||
(define-public gnome-shell-extension-just-perfection
|
||||
(package
|
||||
(name "gnome-shell-extension-just-perfection")
|
||||
(version "16.0")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://gitlab.gnome.org/jrahmatzadeh/just-perfection/")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"05zbzgs92zqlmjq4h2q2gggrf1qiz8l6739zzg1x5090gvk4iak3"))))
|
||||
(build-system copy-build-system)
|
||||
(arguments
|
||||
`(#:install-plan
|
||||
'(("src"
|
||||
"share/gnome-shell/extensions/just-perfection-desktop@just-perfection"
|
||||
#:include-regexp ("\\.css$" "\\.compiled$" "\\.js(on)?$" "\\.ui$"))
|
||||
("locale"
|
||||
"share/gnome-shell/extensions/just-perfection-desktop@just-perfection/"))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'drop-executable-bits
|
||||
(lambda _
|
||||
(for-each
|
||||
(lambda (file)
|
||||
(let ((stat (lstat file)))
|
||||
(chmod file (logand (stat:mode stat) (lognot #o111)))))
|
||||
(find-files "." #:directories? #f))))
|
||||
(add-before 'install 'build
|
||||
(lambda _
|
||||
(invoke "glib-compile-schemas" "src/schemas")
|
||||
(for-each
|
||||
(lambda (file)
|
||||
(let* ((base (basename file))
|
||||
(noext (substring base 0 (- (string-length base) 3)))
|
||||
(dest (string-append "locale/" noext "/LC_MESSAGES/"))
|
||||
(out (string-append dest "just-perfection.mo")))
|
||||
(mkdir-p dest)
|
||||
(invoke "msgfmt" "-c" file "-o" out)))
|
||||
(find-files "po" "\\.po$")))))))
|
||||
(native-inputs
|
||||
(list `(,glib "bin") gettext-minimal))
|
||||
(home-page "https://gitlab.gnome.org/jrahmatzadeh/just-perfection")
|
||||
(synopsis "Customize GNOME Shell behaviour")
|
||||
(description "Just Perfection allows you to change various settings, that
|
||||
GNOME Shell itself does not provide out of the box, such as the ability to hide
|
||||
certain elements or change animation speeds.")
|
||||
(license license:gpl3)))
|
||||
|
||||
(define-public gnome-shell-extension-dash-to-panel
|
||||
(package
|
||||
(name "gnome-shell-extension-dash-to-panel")
|
||||
|
|
Loading…
Reference in a new issue