mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-18 23:38:57 -04:00
fix QA: app-i18n/libime MultipleKeywordsLines: version 1.0.13: KEYWORDS specified on lines 16, 18 VisibleVcsPkg: version 1.0.13: VCS version visible for KEYWORDS="~amd64", profile default/linux/amd64/17.0/x32 (68 total) MultipleKeywordsLines: version 9999: KEYWORDS specified on lines 16, 18 Signed-off-by: liuyujielol <2073201758GD@gmail.com>
47 lines
961 B
Bash
47 lines
961 B
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake xdg-utils
|
|
|
|
if [[ "${PV}" == 9999* ]]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/fcitx/libime.git"
|
|
EGIT_SUBMODULES=(src/libime/core/kenlm)
|
|
else
|
|
KEYWORDS="~amd64 ~x86"
|
|
SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.xz"
|
|
fi
|
|
|
|
DESCRIPTION="Fcitx5 Next generation of fcitx "
|
|
HOMEPAGE="https://fcitx-im.org/ https://gitlab.com/fcitx/libime"
|
|
|
|
LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT"
|
|
SLOT="5"
|
|
IUSE=""
|
|
REQUIRED_USE=""
|
|
|
|
RDEPEND="app-i18n/fcitx:5"
|
|
DEPEND="${RDEPEND}
|
|
dev-libs/boost
|
|
kde-frameworks/extra-cmake-modules:5
|
|
virtual/pkgconfig"
|
|
|
|
src_prepare() {
|
|
cmake_src_prepare
|
|
xdg_environment_reset
|
|
}
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
|
-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
|
|
)
|
|
cmake_src_configure
|
|
}
|
|
|
|
src_install(){
|
|
cmake_src_install
|
|
}
|