diff --git a/.github/workflows/overlay.toml b/.github/workflows/overlay.toml index e934a9866a..b2fc87196c 100644 --- a/.github/workflows/overlay.toml +++ b/.github/workflows/overlay.toml @@ -501,6 +501,9 @@ github_account = "Linerre" # live package only #["app-i18n/fcitx-gtk"] +# upstream has no release, 9999 only +#["app-i18n/fcitx-hallelujah"] + # live package only #["app-i18n/fcitx-hangul"] diff --git a/app-i18n/fcitx-hallelujah/fcitx-hallelujah-9999.ebuild b/app-i18n/fcitx-hallelujah/fcitx-hallelujah-9999.ebuild new file mode 100644 index 0000000000..dca9ff5cb4 --- /dev/null +++ b/app-i18n/fcitx-hallelujah/fcitx-hallelujah-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake git-r3 xdg + +MY_PN="fcitx5-hallelujah" +DESCRIPTION="English word-completion (prediction) input method for Fcitx5" +HOMEPAGE="https://github.com/fcitx-contrib/fcitx5-hallelujah" +EGIT_REPO_URI="https://github.com/fcitx-contrib/${MY_PN}.git" + +LICENSE="GPL-3" +SLOT="5" +KEYWORDS="" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + >=app-i18n/fcitx-5.1.13:5[enchant] + dev-cpp/nlohmann_json + dev-libs/libfmt:= + dev-libs/marisa +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-libs/marisa[tools(+)] + kde-frameworks/extra-cmake-modules:0 + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + # Live upstream declares cmake_minimum_required 3.6; raise it past ECM's + # compatibility threshold so it stops warning. + sed -i -e '/cmake_minimum_required/s/VERSION 3\.6/VERSION 3.16/' CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DENABLE_TEST=$(usex test) + ) + cmake_src_configure +} diff --git a/app-i18n/fcitx-hallelujah/metadata.xml b/app-i18n/fcitx-hallelujah/metadata.xml new file mode 100644 index 0000000000..05fe30b140 --- /dev/null +++ b/app-i18n/fcitx-hallelujah/metadata.xml @@ -0,0 +1,11 @@ + + + + + zakk@gentoozh.org + Zakk + + + fcitx-contrib/fcitx5-hallelujah + +