bump fcitx5 packages (#695)

* app-i18n/fcitx5: version bump to 5.0.4

- Use app-i18n/unicode-cldr instead of app-i18n/cldr-emoji-annotation
- remove symlink

* app-i18n/fcitx5-gtk: version bump to 5.0.3

- disalbe gtk4
- update EAPI to 7

* app-i18n/fcitx5-qt: version bump to 5.0.2

- update EAPI to 7

* app-i18n/fcitx5-rime: version bump to 5.0.3

- update EAPI to 7

* app-i18n/fcitx5-chinese-addons: version bump to 5.0.3

- update EAPI to 7

* app-i18n/fcitx5-configtool: version bump to 5.0.2

* app-i18n/libime: version bump to 1.0.3

- use cmake instead of cmake.utils
- rename 9999 ebuild
This commit is contained in:
梁永祥 2021-01-30 22:25:27 +08:00 committed by GitHub
parent cf84fa8809
commit f2ed3024d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 253 additions and 97 deletions

View File

@ -1,11 +1,17 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
EAPI=7
inherit cmake-utils gnome2-utils xdg git-r3
inherit cmake gnome2-utils xdg git-r3
EGIT_REPO_URI="https://github.com/fcitx/fcitx5-chinese-addons.git"
EGIT_COMMIT="5.0.0"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64"
EGIT_COMMIT="${PV}"
fi
SRC_URI="https://download.fcitx-im.org/data/py_stroke-20121124.tar.gz -> fcitx-data-py_stroke-20121124.tar.gz
https://download.fcitx-im.org/data/py_table-20121124.tar.gz -> fcitx-data-py_table-20121124.tar.gz
@ -16,7 +22,6 @@ HOMEPAGE="https://github.com/fcitx/fcitx5-chinese-addons"
LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT"
SLOT="5"
KEYWORDS="~amd64"
IUSE="+opencc +gui browser webkit test"
REQUIRED_USE=""
@ -40,7 +45,7 @@ DEPEND="${RDEPEND}
src_prepare() {
ln -s "${DISTDIR}/fcitx-data-py_stroke-20121124.tar.gz" modules/pinyinhelper/py_stroke-20121124.tar.gz || die
ln -s "${DISTDIR}/fcitx-data-py_table-20121124.tar.gz" modules/pinyinhelper/py_table-20121124.tar.gz || die
cmake-utils_src_prepare
cmake_src_prepare
xdg_environment_reset
}
@ -53,9 +58,9 @@ src_configure() {
-DENABLE_BROWSER=$(usex browser)
-DUSE_WEBKIT=$(usex webkit)
)
cmake-utils_src_configure
cmake_src_configure
}
src_install(){
cmake-utils_src_install
cmake_src_install
}

View File

@ -1,11 +1,18 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
EAPI=7
inherit cmake-utils gnome2-utils xdg git-r3
inherit cmake gnome2-utils xdg git-r3
EGIT_REPO_URI="https://github.com/fcitx/fcitx5-chinese-addons.git"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64"
EGIT_COMMIT="${PV}"
fi
SRC_URI="https://download.fcitx-im.org/data/py_stroke-20121124.tar.gz -> fcitx-data-py_stroke-20121124.tar.gz
https://download.fcitx-im.org/data/py_table-20121124.tar.gz -> fcitx-data-py_table-20121124.tar.gz
"
@ -38,7 +45,7 @@ DEPEND="${RDEPEND}
src_prepare() {
ln -s "${DISTDIR}/fcitx-data-py_stroke-20121124.tar.gz" modules/pinyinhelper/py_stroke-20121124.tar.gz || die
ln -s "${DISTDIR}/fcitx-data-py_table-20121124.tar.gz" modules/pinyinhelper/py_table-20121124.tar.gz || die
cmake-utils_src_prepare
cmake_src_prepare
xdg_environment_reset
}
@ -51,9 +58,9 @@ src_configure() {
-DENABLE_BROWSER=$(usex browser)
-DUSE_WEBKIT=$(usex webkit)
)
cmake-utils_src_configure
cmake_src_configure
}
src_install(){
cmake-utils_src_install
cmake_src_install
}

View File

@ -1,18 +1,22 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI=7
inherit cmake git-r3
EGIT_REPO_URI="https://github.com/fcitx/fcitx5-configtool.git"
EGIT_COMMIT="5.0.0"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64 ~x86"
EGIT_COMMIT="${PV}"
fi
DESCRIPTION="Configuration module for Fcitx"
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx5-configtool"
LICENSE="GPL-2+"
SLOT="5-plasma5"
KEYWORDS="~amd64 ~x86"
IUSE="+kcm +config-qt test"
RDEPEND="app-i18n/fcitx5

View File

@ -1,17 +1,22 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI=7
inherit cmake git-r3
EGIT_REPO_URI="https://github.com/fcitx/fcitx5-configtool.git"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64 ~x86"
EGIT_COMMIT="${PV}"
fi
DESCRIPTION="Configuration module for Fcitx"
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx5-configtool"
LICENSE="GPL-2+"
SLOT="5-plasma5"
KEYWORDS=""
IUSE="+kcm +config-qt test"
RDEPEND="app-i18n/fcitx5

View File

@ -1,14 +1,17 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
EAPI=7
inherit cmake-utils git-r3 gnome2-utils xdg-utils
inherit cmake git-r3 gnome2-utils xdg-utils
EGIT_REPO_URI="https://github.com/fcitx/fcitx5-gtk.git"
if [[ ! "${PV}" =~ (^|\.)9999$ ]]; then
EGIT_COMMIT="5.0.0"
fi
if [[ "${PV}" == 9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64"
EGIT_COMMIT="${PV}"
fi
SRC_URI=""
@ -17,7 +20,6 @@ HOMEPAGE="https://github.com/fcitx/fcitx5-gtk"
LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT"
SLOT="5"
KEYWORDS="~amd64"
IUSE="+gtk2 +gtk3 +introspection +snooper"
RDEPEND="app-i18n/fcitx5
@ -29,7 +31,7 @@ DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
}
src_configure() {
@ -39,17 +41,18 @@ src_configure() {
-DCMAKE_BUILD_TYPE=Release
-DENABLE_GTK2_IM_MODULE=$(usex gtk2)
-DENABLE_GTK3_IM_MODULE=$(usex gtk3)
-DENABLE_GTK4_IM_MODULE=OFF
-DENABLE_SNOOPER=$(usex snooper)
-DENABLE_GIR=$(usex introspection)
)
cmake-utils_src_configure
cmake_src_configure
}
src_install(){
cmake-utils_src_install
cmake_src_install
}
pkg_postinst() {
gnome2_icon_cache_update
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
use gtk2 && gnome2_query_immodules_gtk2
@ -57,7 +60,7 @@ pkg_postinst() {
}
pkg_postrm() {
gnome2_icon_cache_update
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
use gtk2 && gnome2_query_immodules_gtk2

View File

@ -1,11 +1,18 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
EAPI=7
inherit cmake-utils git-r3 gnome2-utils xdg-utils
inherit cmake git-r3 gnome2-utils xdg-utils
EGIT_REPO_URI="https://github.com/fcitx/fcitx5-gtk.git"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64"
EGIT_COMMIT="${PV}"
fi
SRC_URI=""
DESCRIPTION="Gtk im module for fcitx5 and glib based dbus client library"
@ -13,8 +20,7 @@ HOMEPAGE="https://github.com/fcitx/fcitx5-gtk"
LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT"
SLOT="5"
KEYWORDS=""
IUSE="+gtk2 +gtk3 +introspection +snooper gtk4"
IUSE="+gtk2 +gtk3 +introspection +snooper"
RDEPEND="app-i18n/fcitx5
gtk2? ( x11-libs/gtk+:2 )
@ -25,7 +31,7 @@ DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
}
src_configure() {
@ -35,18 +41,18 @@ src_configure() {
-DCMAKE_BUILD_TYPE=Release
-DENABLE_GTK2_IM_MODULE=$(usex gtk2)
-DENABLE_GTK3_IM_MODULE=$(usex gtk3)
-DENABLE_GTK4_IM_MODULE=$(usex gtk4)
-DENABLE_GTK4_IM_MODULE=OFF
-DENABLE_SNOOPER=$(usex snooper)
-DENABLE_GIR=$(usex introspection)
)
cmake-utils_src_configure
cmake_src_configure
}
src_install(){
cmake-utils_src_install
cmake_src_install
}
pkg_postinst() {
gnome2_icon_cache_update
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
use gtk2 && gnome2_query_immodules_gtk2
@ -54,7 +60,7 @@ pkg_postinst() {
}
pkg_postrm() {
gnome2_icon_cache_update
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
use gtk2 && gnome2_query_immodules_gtk2

View File

@ -1,11 +1,18 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
EAPI=7
inherit cmake-utils git-r3
inherit cmake git-r3
EGIT_REPO_URI="https://github.com/fcitx/fcitx5-qt.git"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64"
EGIT_COMMIT="${PV}"
fi
SRC_URI=""
DESCRIPTION="Qt library and IM module for fcitx5"
@ -13,7 +20,6 @@ HOMEPAGE="https://github.com/fcitx/fcitx5-qt"
LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT"
SLOT="5"
KEYWORDS=""
IUSE="qt5 only_plugin"
RDEPEND="app-i18n/fcitx5
@ -21,14 +27,14 @@ RDEPEND="app-i18n/fcitx5
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtconcurrent:5
dev-qt/qtx11extras:5
dev-qt/qtconcurrent:5
kde-frameworks/extra-cmake-modules"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
}
src_configure() {
@ -40,9 +46,9 @@ src_configure() {
-DENABLE_QT5=$(usex qt5)
-DBUILD_ONLY_PLUGIN=$(usex only_plugin)
)
cmake-utils_src_configure
cmake_src_configure
}
src_install(){
cmake-utils_src_install
cmake_src_install
}

View File

@ -1,14 +1,17 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
EAPI=7
inherit cmake-utils git-r3
inherit cmake git-r3
EGIT_REPO_URI="https://github.com/fcitx/fcitx5-qt.git"
if [[ ! "${PV}" =~ (^|\.)9999$ ]]; then
EGIT_COMMIT="5.0.0"
fi
if [[ "${PV}" == 9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64"
EGIT_COMMIT="${PV}"
fi
SRC_URI=""
@ -17,7 +20,6 @@ HOMEPAGE="https://github.com/fcitx/fcitx5-qt"
LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT"
SLOT="5"
KEYWORDS="~amd64"
IUSE="qt5 only_plugin"
RDEPEND="app-i18n/fcitx5
@ -32,7 +34,7 @@ DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
}
src_configure() {
@ -44,9 +46,9 @@ src_configure() {
-DENABLE_QT5=$(usex qt5)
-DBUILD_ONLY_PLUGIN=$(usex only_plugin)
)
cmake-utils_src_configure
cmake_src_configure
}
src_install(){
cmake-utils_src_install
cmake_src_install
}

View File

@ -1,22 +1,24 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
inherit cmake-utils gnome2-utils git-r3
inherit cmake gnome2-utils git-r3
DESCRIPTION="Rime Support for Fcitx5"
HOMEPAGE="https://github.com/fcitx/fcitx5-rime"
EGIT_REPO_URI="https://github.com/fcitx/fcitx5-rime.git"
if [[ ! "${PV}" =~ (^|\.)9999$ ]]; then
EGIT_COMMIT="5.0.0"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64 ~x86"
EGIT_COMMIT="${PV}"
fi
LICENSE="GPL-2"
SLOT="5"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="app-i18n/fcitx5
@ -28,9 +30,9 @@ RDEPEND="app-i18n/fcitx5
DEPEND="${RDEPEND}"
pkg_postinst() {
gnome2_icon_cache_update
xdg_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
xdg_icon_cache_update
}

View File

@ -1,18 +1,24 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
inherit cmake-utils gnome2-utils git-r3
inherit cmake gnome2-utils git-r3
DESCRIPTION="Rime Support for Fcitx5"
HOMEPAGE="https://github.com/fcitx/fcitx5-rime"
EGIT_REPO_URI="https://github.com/fcitx/fcitx5-rime.git"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64 ~x86"
EGIT_COMMIT="${PV}"
fi
LICENSE="GPL-2"
SLOT="5"
KEYWORDS=""
IUSE=""
RDEPEND="app-i18n/fcitx5
@ -24,9 +30,9 @@ RDEPEND="app-i18n/fcitx5
DEPEND="${RDEPEND}"
pkg_postinst() {
gnome2_icon_cache_update
xdg_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
xdg_icon_cache_update
}

View File

@ -1 +0,0 @@
fcitx5-999999999.ebuild

View File

@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -7,10 +7,10 @@ inherit cmake gnome2-utils xdg-utils git-r3
EGIT_REPO_URI="https://github.com/fcitx/fcitx5.git"
KEYWORDS="~amd64"
if [[ "${PV}" != 999999999 ]]; then
EGIT_COMMIT="5.0.1"
else
if [[ "${PV}" == 9999 ]]; then
KEYWORDS=""
else
EGIT_COMMIT="${PV}"
fi
DESCRIPTION="Fcitx5 Next generation of fcitx "
@ -45,7 +45,7 @@ RDEPEND="dev-libs/glib:2
enchant? ( app-text/enchant:0= )
systemd? ( sys-apps/systemd )
app-text/iso-codes
app-i18n/cldr-emoji-annotation
app-i18n/unicode-cldr
dev-libs/libxml2
dev-libs/libevent"
DEPEND="${RDEPEND}

View File

@ -0,0 +1,97 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake gnome2-utils xdg-utils git-r3
EGIT_REPO_URI="https://github.com/fcitx/fcitx5.git"
KEYWORDS="~amd64"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS=""
else
EGIT_COMMIT="${PV}"
fi
DESCRIPTION="Fcitx5 Next generation of fcitx "
HOMEPAGE="https://fcitx-im.org/ https://gitlab.com/fcitx/fcitx"
SRC_URI="https://download.fcitx-im.org/data/en_dict-20121020.tar.gz -> fcitx-data-en_dict-20121020.tar.gz"
LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT"
SLOT="5"
IUSE="+enchant test coverage doc presage systemd wayland"
REQUIRED_USE="coverage? ( test )"
RDEPEND="dev-libs/glib:2
sys-apps/dbus
dev-libs/json-c
dev-libs/libfmt
sys-apps/util-linux
virtual/libiconv
virtual/libintl
x11-libs/libxkbcommon[X]
x11-libs/libX11
dev-libs/wayland
dev-libs/wayland-protocols
x11-libs/libXfixes
x11-libs/libXinerama
x11-libs/libXrender
x11-libs/libxkbfile
x11-libs/xcb-imdkit
x11-misc/xkeyboard-config
x11-libs/cairo[X]
x11-libs/libXext
x11-libs/pango
media-libs/fontconfig
enchant? ( app-text/enchant:0= )
systemd? ( sys-apps/systemd )
app-text/iso-codes
app-i18n/unicode-cldr
dev-libs/libxml2
dev-libs/libevent"
DEPEND="${RDEPEND}
kde-frameworks/extra-cmake-modules:5
virtual/pkgconfig"
src_prepare() {
pwd
ln -s "${DISTDIR}/fcitx-data-en_dict-20121020.tar.gz" src/modules/spell/dict/en_dict-20121020.tar.gz || die
cmake_src_prepare
xdg_environment_reset
}
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
-DENABLE_TEST=$(usex test)
-DENABLE_COVERAGE=$(usex coverage)
-DENABLE_ENCHANT=$(usex enchant)
-DENABLE_PRESAGE=$(usex presage)
-DENABLE_WAYLAND=$(usex wayland)
-DENABLE_DOC=$(usex doc)
-DUSE_SYSTEMD=$(usex systemd)
)
cmake_src_configure
}
src_install(){
cmake_src_install
}
pkg_postinst() {
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
elog
elog "Follow the instrcutions of https://wiki.gentoo.org/wiki/Fcitx#Using_Fcitx"
elog "and change the fcitx to fcitx5"
elog
}
pkg_postrm() {
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

View File

@ -1,11 +1,17 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI=7
inherit cmake-utils gnome2-utils xdg-utils git-r3
inherit cmake gnome2-utils xdg-utils git-r3
EGIT_REPO_URI="https://github.com/fcitx/libime.git"
EGIT_COMMIT="1.0.1"
if [[ "${PV}" == 9999* ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64"
EGIT_COMMIT="${PV}"
fi
_kenlmcommit="01c49fe86714276f77be9278d00906fc994256c1"
SRC_URI="https://download.fcitx-im.org/data/lm_sc.3gm.arpa-20140820.tar.bz2 -> fcitx5-lm_sc.3gm.arpa-20140820.tar.bz2
@ -19,7 +25,6 @@ HOMEPAGE="https://fcitx-im.org/ https://gitlab.com/fcitx/libime"
LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT"
SLOT="5"
KEYWORDS="~amd64"
IUSE=""
REQUIRED_USE=""
@ -34,7 +39,7 @@ src_prepare() {
ln -s "${DISTDIR}/fcitx5-dict.utf8-20200715.tar.xz" data/dict.utf8-20200715.tar.xz || die
ln -s "${DISTDIR}/fcitx5-table.tar.gz" data/table.tar.gz || die
tar -xvzf "${DISTDIR}/kenlm.tar.gz" -C src/libime/core/kenlm || die
cmake-utils_src_prepare
cmake_src_prepare
xdg_environment_reset
}
@ -43,9 +48,9 @@ src_configure() {
-DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
)
cmake-utils_src_configure
cmake_src_configure
}
src_install(){
cmake-utils_src_install
cmake_src_install
}

View File

@ -1,14 +1,23 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI=7
inherit cmake-utils gnome2-utils xdg-utils git-r3
inherit cmake gnome2-utils xdg-utils git-r3
EGIT_REPO_URI="https://github.com/fcitx/libime.git"
if [[ "${PV}" == 9999* ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64"
EGIT_COMMIT="${PV}"
fi
_kenlmcommit="01c49fe86714276f77be9278d00906fc994256c1"
SRC_URI="https://download.fcitx-im.org/data/lm_sc.3gm.arpa-20140820.tar.bz2 -> fcitx5-lm_sc.3gm.arpa-20140820.tar.bz2
https://download.fcitx-im.org/data/dict.utf8-20200715.tar.xz -> fcitx5-dict.utf8-20200715.tar.xz
https://download.fcitx-im.org/data/table.tar.gz -> fcitx5-table.tar.gz
https://github.com/kpu/kenlm/archive/${_kenlmcommit}.tar.gz -> kenlm.tar.gz
"
DESCRIPTION="Fcitx5 Next generation of fcitx "
@ -16,7 +25,6 @@ HOMEPAGE="https://fcitx-im.org/ https://gitlab.com/fcitx/libime"
LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT"
SLOT="5"
KEYWORDS=""
IUSE=""
REQUIRED_USE=""
@ -30,7 +38,8 @@ src_prepare() {
ln -s "${DISTDIR}/fcitx5-lm_sc.3gm.arpa-20140820.tar.bz2" data/lm_sc.3gm.arpa-20140820.tar.bz2 || die
ln -s "${DISTDIR}/fcitx5-dict.utf8-20200715.tar.xz" data/dict.utf8-20200715.tar.xz || die
ln -s "${DISTDIR}/fcitx5-table.tar.gz" data/table.tar.gz || die
cmake-utils_src_prepare
tar -xvzf "${DISTDIR}/kenlm.tar.gz" -C src/libime/core/kenlm || die
cmake_src_prepare
xdg_environment_reset
}
@ -39,9 +48,9 @@ src_configure() {
-DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
)
cmake-utils_src_configure
cmake_src_configure
}
src_install(){
cmake-utils_src_install
cmake_src_install
}