summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2021-10-17 20:34:28 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2021-10-17 20:34:28 -0400
commit5fbb34e4230bd9cc5fb263acdefaac3f762ded97 (patch)
tree3fc7c4bc43a173580615e695638e555a55c9da16
parent5f77935b49faa1d996b0814e4a8d5099c24aea70 (diff)
downloadppo-5fbb34e4230bd9cc5fb263acdefaac3f762ded97.tar.xz
Rip fcitx5 from gentoo-zh.
-rw-r--r--app-i18n/fcitx5-configtool/Manifest2
-rw-r--r--app-i18n/fcitx5-configtool/fcitx5-configtool-5.0.6.ebuild65
-rw-r--r--app-i18n/fcitx5-gtk/Manifest2
-rw-r--r--app-i18n/fcitx5-gtk/fcitx5-gtk-5.0.8.ebuild60
-rw-r--r--app-i18n/fcitx5-qt/Manifest2
-rw-r--r--app-i18n/fcitx5-qt/fcitx5-qt-5.0.7-r1.ebuild45
-rw-r--r--app-i18n/fcitx5-rime/Manifest2
-rw-r--r--app-i18n/fcitx5-rime/fcitx5-rime-5.0.7.ebuild30
-rw-r--r--app-i18n/fcitx5/Manifest3
-rw-r--r--app-i18n/fcitx5/fcitx5-5.0.9-r1.ebuild94
10 files changed, 305 insertions, 0 deletions
diff --git a/app-i18n/fcitx5-configtool/Manifest b/app-i18n/fcitx5-configtool/Manifest
new file mode 100644
index 0000000..f7333b3
--- /dev/null
+++ b/app-i18n/fcitx5-configtool/Manifest
@@ -0,0 +1,2 @@
+DIST fcitx5-configtool-5.0.6.tar.gz 138510 BLAKE2B f0915b643d8e222d94afaf0c3da362626c77d8005dc971cd17e348ad3f214408b1828657882161633034cc29f5a893e9433d1c92099627b4f7f75f83cc976fa3 SHA512 572b63c099b831d5aa1b6cb8082a013047182348a0c8eaf5412ece5b08f6a2d97a76b8241b8da6dbada407bdc0229e2b91421855af761af5b41cd0d210d289ef
+EBUILD fcitx5-configtool-5.0.6.ebuild 1416 BLAKE2B 61084a56431dae20c40f32742b5b16e2e8dde9359e97c572d42dd0aa01947be22e9d8b45a7b4cfa73280d3a67488d99c8a74a252e1963f59152ccf9dfad58305 SHA512 c7ddcfa373fb3970c4c34e571f92ede517a91c4df04a7439487299024310240476bd0c857510bd9a8eb176cf7459785269be0a662c6440703a1cdb04dd1b0be7
diff --git a/app-i18n/fcitx5-configtool/fcitx5-configtool-5.0.6.ebuild b/app-i18n/fcitx5-configtool/fcitx5-configtool-5.0.6.ebuild
new file mode 100644
index 0000000..eb56f64
--- /dev/null
+++ b/app-i18n/fcitx5-configtool/fcitx5-configtool-5.0.6.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+if [[ "${PV}" == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/fcitx/fcitx5-configtool.git"
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/fcitx/fcitx5-configtool/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Configuration module for Fcitx"
+HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx5-configtool"
+
+LICENSE="GPL-2+"
+SLOT="5-plasma5"
+IUSE="+kcm +config-qt test"
+
+RDEPEND="app-i18n/fcitx5
+ app-i18n/fcitx5-qt[qt5,-only_plugin]
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ kde-frameworks/kitemviews:5
+ kde-frameworks/kwidgetsaddons:5
+ virtual/libintl
+ x11-libs/libX11
+ x11-libs/libxkbfile
+ kcm? (
+ kde-frameworks/kconfigwidgets:5
+ kde-frameworks/kcoreaddons:5
+ kde-frameworks/ki18n:5
+ kde-frameworks/kirigami:5
+ kde-frameworks/kdeclarative:5
+ )
+ !kcm? (
+ dev-qt/qtdeclarative
+ )
+ config-qt? (
+ kde-frameworks/kitemviews:5
+ )
+ !${CATEGORY}/${PN}:4[-minimal(-)]"
+
+DEPEND="${RDEPEND}
+ kde-frameworks/extra-cmake-modules:5
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+src_configure() {
+ local mycmakeargs=(
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=yes
+ -DENABLE_KCM=$(usex kcm)
+ -DENABLE_CONFIG_QT=$(usex config-qt)
+ -DENABLE_TEST=$(usex test)
+ )
+
+ cmake_src_configure
+} \ No newline at end of file
diff --git a/app-i18n/fcitx5-gtk/Manifest b/app-i18n/fcitx5-gtk/Manifest
new file mode 100644
index 0000000..718c0a4
--- /dev/null
+++ b/app-i18n/fcitx5-gtk/Manifest
@@ -0,0 +1,2 @@
+DIST fcitx5-gtk-5.0.8.tar.gz 75818 BLAKE2B bf1ddc4d19de0784b29419aa14186d5fd6d93ed12e01cd0ea0dc687c3c38198cdfb396b06fdac2e48dce2374ec96953618dae8f645a2b84eabea56fc152b1dd2 SHA512 99c1972bfc109ff65f80a009aed92780e457e5730a9f3bdab460fafe71bbe76538b1f49378116be09deccc74ace016737e145229390c5cb6126ec08a7cb02cbd
+EBUILD fcitx5-gtk-5.0.8.ebuild 1454 BLAKE2B 4357523a3934e3c1dd4b252c77e040427adcb89d31f74ba2a7908a38e65c6144115759d47ffa1fae01cdab937c79b552ce3a4e8f31330be76447d31784c2c815 SHA512 542472fddfae169bba97b69479e0dae316b69524a71e649dffedb4aad354a500ec354ca7b038e3c7cbfd99cf071e9d1da87bee791498366fa9a97a4618c0775c
diff --git a/app-i18n/fcitx5-gtk/fcitx5-gtk-5.0.8.ebuild b/app-i18n/fcitx5-gtk/fcitx5-gtk-5.0.8.ebuild
new file mode 100644
index 0000000..bb89967
--- /dev/null
+++ b/app-i18n/fcitx5-gtk/fcitx5-gtk-5.0.8.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake gnome2-utils xdg
+
+if [[ "${PV}" == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/fcitx/fcitx5-gtk.git"
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/fcitx/fcitx5-gtk/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Gtk im module for fcitx5 and glib based dbus client library"
+HOMEPAGE="https://github.com/fcitx/fcitx5-gtk"
+
+LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT"
+SLOT="5"
+IUSE="+gtk2 +gtk3 +introspection +snooper"
+
+RDEPEND="app-i18n/fcitx5
+ gtk2? ( x11-libs/gtk+:2 )
+ gtk3? ( x11-libs/gtk+:3 )
+ introspection? ( dev-libs/gobject-introspection )
+ kde-frameworks/extra-cmake-modules"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+ -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
+ -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_src_configure
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ use gtk2 && gnome2_query_immodules_gtk2
+ use gtk3 && gnome2_query_immodules_gtk3
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ use gtk2 && gnome2_query_immodules_gtk2
+ use gtk3 && gnome2_query_immodules_gtk3
+} \ No newline at end of file
diff --git a/app-i18n/fcitx5-qt/Manifest b/app-i18n/fcitx5-qt/Manifest
new file mode 100644
index 0000000..be9f75d
--- /dev/null
+++ b/app-i18n/fcitx5-qt/Manifest
@@ -0,0 +1,2 @@
+DIST fcitx5-qt-5.0.7.tar.gz 125327 BLAKE2B 4e9c0ca07351ea53eaeb278ce62d80ae70c4571bc9851215dc5ec23b6ea8c7a6f308b5d4c0fa6c4deb288239c974ded043dc3b04d9ddaadc9c844cf640606434 SHA512 894d14814f46a2abcbcb2238f71b7a821ac43652a85d5e108b04c85edd3791739034f09c1ae254ac49dc4e47656346b1d06093f83df762b8b8f63d66a818a66c
+EBUILD fcitx5-qt-5.0.7-r1.ebuild 1028 BLAKE2B de9c4e96f1d26afcdaed12460783941025e4b69dbb31923056b09000d11061a0e4927e439723365024ade6368bb9a87da727ddda8e3677a3689bad987a11f439 SHA512 2a13a47bb8dceff494c690579dd26d03f7456e70961622ef23f513b4117a464d5fba4f1bd1ab45885c9ff72ec03be335ebf15d704535d997407589d8bcaef656
diff --git a/app-i18n/fcitx5-qt/fcitx5-qt-5.0.7-r1.ebuild b/app-i18n/fcitx5-qt/fcitx5-qt-5.0.7-r1.ebuild
new file mode 100644
index 0000000..b551ecb
--- /dev/null
+++ b/app-i18n/fcitx5-qt/fcitx5-qt-5.0.7-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+if [[ "${PV}" == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/fcitx/fcitx5-qt.git"
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/fcitx/fcitx5-qt/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Qt library and IM module for fcitx5"
+HOMEPAGE="https://github.com/fcitx/fcitx5-qt"
+
+LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT"
+SLOT="5"
+IUSE="qt5 only_plugin"
+
+RDEPEND="app-i18n/fcitx5
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ x11-libs/libX11
+ dev-qt/qtconcurrent:5
+ kde-frameworks/extra-cmake-modules"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
+ -DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+ -DCMAKE_BUILD_TYPE=Release
+ -DENABLE_QT4=no
+ -DENABLE_QT5=$(usex qt5)
+ -DBUILD_ONLY_PLUGIN=$(usex only_plugin)
+ )
+ cmake_src_configure
+} \ No newline at end of file
diff --git a/app-i18n/fcitx5-rime/Manifest b/app-i18n/fcitx5-rime/Manifest
new file mode 100644
index 0000000..154ef4f
--- /dev/null
+++ b/app-i18n/fcitx5-rime/Manifest
@@ -0,0 +1,2 @@
+DIST fcitx5-rime-5.0.7.tar.gz 46583 BLAKE2B b42e3105fc63f41b9706aff74a1f4ed7a178cb89a200bf1f4559328ca129ff2badc3a3ee955bd395698469c2752951a7a9e97b55ab59582ad4706088043c426d SHA512 88e58faa52d0cb57feb5cf13000417438d317b2ad5bdb5162714edee80f9d4df1e6662bbcbe6c67721bc7f2fc188a4564a8bcfc42e7ebe681aa486a497eaeeb1
+EBUILD fcitx5-rime-5.0.7.ebuild 638 BLAKE2B 6304acb281a6a9aa715bf1ff7f7b33008189517d3007845860801a3f8118a568e9e1883b25d676b3bc7e5446159003d5988df71e276e610554edad6b0e777ab1 SHA512 c849d06ccc6e343257853cf250180f70317f080c3c8f872d258aefdda85e014ca0461e4c8ca2d94aeaf165d7fa9dd92d1d620363436a9a8bb438022f8c54e734
diff --git a/app-i18n/fcitx5-rime/fcitx5-rime-5.0.7.ebuild b/app-i18n/fcitx5-rime/fcitx5-rime-5.0.7.ebuild
new file mode 100644
index 0000000..d46c1f3
--- /dev/null
+++ b/app-i18n/fcitx5-rime/fcitx5-rime-5.0.7.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit xdg cmake
+
+DESCRIPTION="Rime Support for Fcitx5"
+HOMEPAGE="https://github.com/fcitx/fcitx5-rime"
+
+if [[ "${PV}" == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/fcitx/fcitx5-rime.git"
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/fcitx/fcitx5-rime/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="5"
+IUSE=""
+
+RDEPEND="app-i18n/fcitx5
+ >=app-i18n/librime-1.0
+ >=app-i18n/rime-data-0.3.0
+ x11-libs/libnotify
+ !app-i18n/fcitx-rime"
+
+DEPEND="${RDEPEND}" \ No newline at end of file
diff --git a/app-i18n/fcitx5/Manifest b/app-i18n/fcitx5/Manifest
new file mode 100644
index 0000000..45e948d
--- /dev/null
+++ b/app-i18n/fcitx5/Manifest
@@ -0,0 +1,3 @@
+DIST fcitx-data-en_dict-20121020.tar.gz 630491 BLAKE2B 2df897b1c9fb3a2ce186ee590e5f3ccbc7930f047218bf0fefa317f74b3287fc0be9c393d3310fe07208379118ec4c46608a1c703ef37b3aee65b2d790cb7f0d SHA512 8418bd02492bfd786c0fab93be4400ef027ec8e9fac02220cc1f653f5eb67f54573a6a84a15baba19bb34ab892745c87df16499d6304ea75009131e2ab3b97f2
+DIST fcitx5-5.0.9.tar.gz 1933309 BLAKE2B 303bf50cdb94bbcbf66b3b03c8ded75a67b81136b0d899722bd348cfad9c0a21fcb00f7d71f16045e355c8e2a71b6465effb69f0c04c1757f5cca4d815bb3511 SHA512 4be699178fa3852d10c9336fdaca30dde6b4de657fd8640de284af99aac2bc0cf88e213154de17fda6ee8edbe83129f5cc1bfb3b76fcad0469e0c17263c6791f
+EBUILD fcitx5-5.0.9-r1.ebuild 2181 BLAKE2B 0d373b1d54edef7376f4c8ee6a00cf01927b7e72d682ae5c2269e371fbdcf15cf9eeba92a70fdad40edb5e2c2f48ddcc9a2f3bd7c6c02da9c458e0be90a7b638 SHA512 2630369377300304034c607fde44bb0bc769c4d40872e2c966a605d1fdf68d680ee5fc2dbbf8b73a65d937533c3567f2dffb87ea759690684c44c699b41c7fe3
diff --git a/app-i18n/fcitx5/fcitx5-5.0.9-r1.ebuild b/app-i18n/fcitx5/fcitx5-5.0.9-r1.ebuild
new file mode 100644
index 0000000..0c63274
--- /dev/null
+++ b/app-i18n/fcitx5/fcitx5-5.0.9-r1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake xdg
+
+if [[ "${PV}" == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/fcitx/fcitx5.git"
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/fcitx/fcitx5/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Fcitx5 Next generation of fcitx "
+HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx5"
+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 +X"
+REQUIRED_USE="
+ || ( wayland X )
+ 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?]
+ wayland? (
+ dev-libs/wayland
+ dev-libs/wayland-protocols
+ )
+ X? (
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrender
+ x11-libs/libXinerama
+ x11-libs/libxkbfile
+ x11-libs/xcb-imdkit
+ )
+ x11-misc/xkeyboard-config
+ x11-libs/cairo[X?]
+ x11-libs/pango
+ media-libs/fontconfig
+ enchant? ( app-text/enchant:= )
+ 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
+}
+
+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_X11=$(usex X)
+ -DENABLE_DOC=$(usex doc)
+ -DUSE_SYSTEMD=$(usex systemd)
+ )
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ elog
+ elog "Follow the instrcutions of https://wiki.gentoo.org/wiki/Fcitx#Using_Fcitx"
+ elog "and change the fcitx to fcitx5"
+ elog
+} \ No newline at end of file