[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#77940: [PATCH] gnu: Add fcitx5-skk.
From: |
Z572 |
Subject: |
bug#77940: [PATCH] gnu: Add fcitx5-skk. |
Date: |
Sat, 26 Apr 2025 20:09:19 +0800 |
User-agent: |
mu4e 1.12.9; emacs 30.0.92 |
Kurome <hunt31999@gmail.com> writes:
> * gnu/packages/fcitx5.scm: Add (gnu packages dictionaries).
> (fcitx5-skk): New variable.
>
> Change-Id: I618216c604fe792d58e6b3fad0301c97ea315074
> ---
> gnu/packages/fcitx5.scm | 37 +++++++++++++++++++++++++++++++++++++
> 1 file changed, 37 insertions(+)
>
> diff --git a/gnu/packages/fcitx5.scm b/gnu/packages/fcitx5.scm
> index 99812b7556..ea7a5f5919 100644
> --- a/gnu/packages/fcitx5.scm
> +++ b/gnu/packages/fcitx5.scm
> @@ -34,6 +34,7 @@ (define-module (gnu packages fcitx5)
> #:use-module (gnu packages compression)
> #:use-module (gnu packages curl)
> #:use-module (gnu packages datastructures)
> + #:use-module (gnu packages dictionaries)
> #:use-module (gnu packages enchant)
> #:use-module (gnu packages freedesktop)
> #:use-module (gnu packages gettext)
> @@ -371,6 +372,42 @@ (define-public fcitx5-anthy
> the Anthy input method.")
> (license license:gpl2+)))
>
> +(define-public fcitx5-skk
> + (package
> + (name "fcitx5-skk")
> + (version "5.1.6")
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/fcitx/fcitx5-skk")
> + (commit version)))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32 "109fx80iaa896652lwhfdr8x9h4vmw6pc9fwns3cwp610p9x21yn"))))
> + (build-system cmake-build-system)
> + (arguments
> + (list #:tests? #f ; no tests
> + #:configure-flags
> + #~(list (string-append "-DSKK_DEFAULT_PATH="
> + #$(this-package-input "skk-jisyo")
> + "/share/skk/SKK-JISYO.L"))))
> + (inputs
> + (list libskk
> + fcitx5
> + fcitx5-qt
> + qtbase
> + skk-jisyo
> + gobject-introspection))
> + (native-inputs
> + (list extra-cmake-modules pkg-config gettext-minimal))
> + (home-page "https://github.com/fcitx/fcitx5-skk")
> + (synopsis "Input method engine for Fcitx5, which uses libskk as its
> backend")
> + (description
> + "fcitx5-skk is an input method engine for Fcitx5, which uses libskk as
> its
> +backend.")
> + (license license:gpl3+)))
> +
> (define-public fcitx5-chewing
> (package
> (name "fcitx5-chewing")
move gobject-introspection to native-inputs.
pushed, closing.
signature.asc
Description: PGP signature