# Copyright 2013-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cmake xdg DESCRIPTION="Japanese Anthy input methods for Fcitx5" HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx5-anthy" MY_PN="fcitx5-anthy" S="${WORKDIR}/${MY_PN}-${PV}" SRC_URI="https://download.fcitx-im.org/fcitx5/${MY_PN}/${MY_PN}-${PV}.tar.xz" LICENSE="GPL-2+" SLOT="5" KEYWORDS="~amd64 ~arm64 ~riscv ~x86" IUSE="test coverage" RESTRICT="!test? ( test )" RDEPEND=" >=app-i18n/fcitx-5.1.5:5 app-i18n/anthy " DEPEND="${RDEPEND}" BDEPEND=" test? ( coverage? ( dev-util/lcov ) ) kde-frameworks/extra-cmake-modules:0 virtual/pkgconfig " DOCS=(AUTHORS) src_configure() { local mycmakeargs=( -DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)" ) cmake_src_configure }