app-i18n/cskk - 3.3.0 (gentoo-zh)

Search

Install

Install this version:

emerge -a =app-i18n/cskk-3.3.0

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

autounmask =app-i18n/cskk-3.3.0

Or alternatively:

emerge --autounmask-write -a =app-i18n/cskk-3.3.0

Package Information

Description:
SKK (Simple Kana Kanji henkan) library
Homepage:
https://github.com/naokiri/cskk
License:
GPL-3+ Apache-2.0 BSD MIT MPL-2.0 MPL-2.0 Unicode-DFS-2016

Ebuild Details

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

# Autogenerated by pycargoebuild 0.15.1

EAPI=8

RUST_MIN_VER="1.84"

inherit cargo edo

DESCRIPTION="SKK (Simple Kana Kanji henkan) library"
HOMEPAGE="https://github.com/naokiri/cskk"
SRC_URI="
	https://github.com/naokiri/cskk/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/gentoo-zh-drafts/cskk/releases/download/v${PV}/${P}-crates.tar.xz
"

LICENSE="GPL-3+"
# Dependent crate licenses
LICENSE+=" Apache-2.0 BSD MIT MPL-2.0 MPL-2.0 Unicode-DFS-2016"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="x11-libs/libxkbcommon"
RDEPEND="${DEPEND}"
BDEPEND="
	dev-util/cargo-c
	dev-util/cbindgen
"

QA_FLAGS_IGNORED=".*"

src_compile() {
	local cargoargs=(
		--library-type=cdylib
		--prefix=/usr
		--libdir="/usr/$(get_libdir)"
		$(usev !debug '--release')
	)

	edo cargo cbuild "${cargoargs[@]}"
}

src_install() {
	local cargoargs=(
		--library-type=cdylib
		--prefix=/usr
		--libdir="/usr/$(get_libdir)"
		--destdir="${ED}"
		$(usex debug '--debug' '--release')
	)

	edo cargo cinstall "${cargoargs[@]}"
}

Inherited Eclasses

edo

Dependencies

DEPEND

x11-libs/libxkbcommon

RDEPEND

x11-libs/libxkbcommon

BDEPEND

	dev-util/cargo-c
	dev-util/cbindgen

Manifest for 3.3.0

Type File Size Source URLs
DIST cskk-3.3.0-crates.tar.xz 30997788 bytes https://github.com/gentoo-zh-drafts/cskk/releases/download/v3.3.0/cskk-3.3.0-crates.tar.xz
DIST cskk-3.3.0.tar.gz 202171 bytes https://github.com/naokiri/cskk/archive/v3.3.0.tar.gz