diff options
author | 宋文武 <iyzsong@member.fsf.org> | 2022-11-07 16:33:26 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2022-11-07 16:46:36 +0800 |
commit | c7e4429a64131eb319cac660f7b66c89b3f1ed62 (patch) | |
tree | 713d0302ce60ed3cab061603e8e37b91d5ccb8f0 /gnu/packages/fcitx5.scm | |
parent | 38a1cf3d266efbb7d35531e8cde22a5e4836620a (diff) |
gnu: fcitx5-material-color-theme: Update to 0.2.1.
* gnu/packages/fcitx5.scm (fcitx5-material-color-theme): Update to 0.2.1.
[arguments]: Adjust 'install' phase accordingly.
Diffstat (limited to 'gnu/packages/fcitx5.scm')
-rw-r--r-- | gnu/packages/fcitx5.scm | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/gnu/packages/fcitx5.scm b/gnu/packages/fcitx5.scm index e36e0aa135..7b0bdea8af 100644 --- a/gnu/packages/fcitx5.scm +++ b/gnu/packages/fcitx5.scm @@ -472,7 +472,7 @@ to manage different input methods in Fcitx 5.") (define-public fcitx5-material-color-theme (package (name "fcitx5-material-color-theme") - (version "0.1") + (version "0.2.1") (source (origin (method git-fetch) @@ -481,7 +481,7 @@ to manage different input methods in Fcitx 5.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1mgc722521jmfx0xc3ibmiycd3q2w7xg2956xcpc07kz90gcdjaa")))) + (base32 "0drdypjf1njl7flkb5d581vchwlp4gaqyws3cp0v874wkwh4gllb")))) (build-system copy-build-system) (arguments `(#:phases @@ -497,7 +497,6 @@ to manage different input methods in Fcitx 5.") (define (install-theme-variant variant target) (let ((dir (string-append themes-prefix "/" target)) - (png (string-append "panel-" variant ".png")) (conf (string-append "theme-" variant ".conf"))) (format #t "install: Installing color variant \"~a\" to ~a~%" variant dir) @@ -505,13 +504,15 @@ to manage different input methods in Fcitx 5.") (("^Name=.*") (string-append "Name=" target "\n"))) (mkdir-p dir) - (install-file png dir) (copy-file conf (string-append dir "/theme.conf")) (symlink (string-append assets-dir "/arrow.png") - (string-append dir "/arrow.png")))) + (string-append dir "/arrow.png")) + (symlink (string-append assets-dir "/radio.png") + (string-append dir "/radio.png")))) (mkdir-p assets-dir) (install-file "arrow.png" assets-dir) + (install-file "radio.png" assets-dir) (for-each (lambda (x) (install-theme-variant @@ -520,7 +521,9 @@ to manage different input methods in Fcitx 5.") "orange" "pink" "red" "teal")) (install-theme-variant - "deepPurple" "Material-Color-DeepPurple"))))))) + "deepPurple" "Material-Color-DeepPurple") + (install-theme-variant + "sakuraPink" "Material-Color-SakuraPink"))))))) (home-page "https://github.com/hosxy/Fcitx5-Material-Color") (synopsis "Material Design for Fcitx 5") (description "Fcitx5-material-color-theme is a Material Design theme |