From 63a209b0ceb0c80f7a8af7fd8b6fa56687bf1d0b Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 17 Jul 2022 10:43:49 -0400 Subject: fcitx5 --- app-i18n/fcitx5-gtk/Manifest | 4 +- app-i18n/fcitx5-gtk/fcitx5-gtk-5.0.16.ebuild | 60 ++++++++++++++++++++++++++++ app-i18n/fcitx5-gtk/fcitx5-gtk-5.0.8.ebuild | 60 ---------------------------- 3 files changed, 62 insertions(+), 62 deletions(-) create mode 100644 app-i18n/fcitx5-gtk/fcitx5-gtk-5.0.16.ebuild delete mode 100644 app-i18n/fcitx5-gtk/fcitx5-gtk-5.0.8.ebuild (limited to 'app-i18n/fcitx5-gtk') diff --git a/app-i18n/fcitx5-gtk/Manifest b/app-i18n/fcitx5-gtk/Manifest index 718c0a4..380f5cf 100644 --- a/app-i18n/fcitx5-gtk/Manifest +++ b/app-i18n/fcitx5-gtk/Manifest @@ -1,2 +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 +DIST fcitx5-gtk-5.0.16.tar.gz 79214 BLAKE2B 5d2d338c2e5f73de4427a6ab60856172984c0617c18ee9cc30ee11ddfe070a8f19c7c54d6035dc98c8f1abc9e400e5c44e166345c00980444f47f7a750cc5bfd SHA512 93bb111e8e3818651ad8319b23e90d299e668fa49cc55b7e4a84b76afe2f5693068f8a7778d19d557187fb2e2c0f58d3dc3102d4eca2c5a034b0b79955c81f00 +EBUILD fcitx5-gtk-5.0.16.ebuild 1454 BLAKE2B 4357523a3934e3c1dd4b252c77e040427adcb89d31f74ba2a7908a38e65c6144115759d47ffa1fae01cdab937c79b552ce3a4e8f31330be76447d31784c2c815 SHA512 542472fddfae169bba97b69479e0dae316b69524a71e649dffedb4aad354a500ec354ca7b038e3c7cbfd99cf071e9d1da87bee791498366fa9a97a4618c0775c diff --git a/app-i18n/fcitx5-gtk/fcitx5-gtk-5.0.16.ebuild b/app-i18n/fcitx5-gtk/fcitx5-gtk-5.0.16.ebuild new file mode 100644 index 0000000..bb89967 --- /dev/null +++ b/app-i18n/fcitx5-gtk/fcitx5-gtk-5.0.16.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-gtk/fcitx5-gtk-5.0.8.ebuild b/app-i18n/fcitx5-gtk/fcitx5-gtk-5.0.8.ebuild deleted file mode 100644 index bb89967..0000000 --- a/app-i18n/fcitx5-gtk/fcitx5-gtk-5.0.8.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# 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 -- cgit v1.2.3