app-i18n/akaza - 2026.602.0 (gentoo-zh)

Search

Install

Install this version:

emerge -a =app-i18n/akaza-2026.602.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-i18n/akaza-2026.602.0

Or alternatively:

emerge --autounmask-write -a =app-i18n/akaza-2026.602.0

Package Information

Description:
Yet another Japanese IME for IBus
Homepage:
https://github.com/akaza-im/akaza
License:
MIT Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD MIT MPL-2.0 Unicode-3.0 ZLIB

Ebuild Details

Version EAPI Keywords Slot
2026.602.0 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

RUST_MIN_VER="1.92.0"

inherit cargo

DESCRIPTION="Yet another Japanese IME for IBus"
HOMEPAGE="https://github.com/akaza-im/akaza"
SRC_URI="
	https://github.com/akaza-im/akaza/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/gentoo-zh-drafts/akaza/releases/download/v${PV}/${P}-crates.tar.xz
	https://github.com/akaza-im/akaza/releases/download/v${PV}/akaza-default-model.tar.gz
		-> ${P}-default-model.tar.gz
"

LICENSE="MIT"
# Dependent crate licenses
LICENSE+="
	Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD MIT MPL-2.0
	Unicode-3.0 ZLIB
"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
	app-i18n/ibus
	gui-libs/gtk:4
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"

src_compile() {
	cargo_src_compile -p ibus-akaza -p akaza-conf -p akaza-dict -p akaza-data
}

src_install() {
	cargo_src_install --path ibus-akaza
	cargo_src_install --path akaza-conf
	cargo_src_install --path akaza-dict
	cargo_src_install --path akaza-data

	sed -e "s:@BINARY@:${EPREFIX}/usr/bin/ibus-akaza:" -e "s:@DATADIR@:${EPREFIX}/usr/share:" \
		ibus-akaza/akaza.xml.in > akaza.xml || die
	insinto /usr/share/ibus/component
	doins akaza.xml
	insinto /usr/share/ibus-akaza
	doins ibus-akaza/akaza.svg

	insinto /usr/share/akaza/romkan
	doins romkan/*.json
	insinto /usr/share/akaza/keymap
	doins keymap/*.json
	insinto /usr/share/akaza/model/default
	doins "${WORKDIR}"/akaza-default-model/*
}

Inherited Eclasses

Dependencies

DEPEND

	app-i18n/ibus
	gui-libs/gtk:4

RDEPEND

	app-i18n/ibus
	gui-libs/gtk:4

BDEPEND

virtual/pkgconfig

Manifest for 2026.602.0

Type File Size Source URLs
DIST akaza-2026.602.0-crates.tar.xz 14196408 bytes https://github.com/gentoo-zh-drafts/akaza/releases/download/v2026.602.0/akaza-2026.602.0-crates.tar.xz
DIST akaza-2026.602.0-default-model.tar.gz 165234035 bytes https://github.com/akaza-im/akaza/releases/download/v2026.602.0/akaza-default-model.tar.gz
DIST akaza-2026.602.0.tar.gz 721201 bytes https://github.com/akaza-im/akaza/archive/refs/tags/v2026.602.0.tar.gz