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

Search

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.2.1 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[@]}"
}

Dependencies

DEPEND

x11-libs/libxkbcommon

RDEPEND

x11-libs/libxkbcommon

BDEPEND

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

Manifest for 3.2.1

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