diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2020-07-03 09:24:53 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2020-07-04 09:52:31 -0400 |
commit | 8c6f7fca9b606f8aeccda8b9df0551fe1495f88d (patch) | |
tree | 08abf1383f779d4438e3be19502b97ac868800d5 /app-i18n | |
parent | app-i18n/*fcitx*, app-i18n/mozc: Update URIs. (diff) | |
download | gentoo-8c6f7fca9b606f8aeccda8b9df0551fe1495f88d.tar.gz gentoo-8c6f7fca9b606f8aeccda8b9df0551fe1495f88d.tar.bz2 gentoo-8c6f7fca9b606f8aeccda8b9df0551fe1495f88d.zip |
app-i18n/fcitx: Use EAPI="7".
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/fcitx/fcitx-4.2.9.6.ebuild | 60 | ||||
-rw-r--r-- | app-i18n/fcitx/fcitx-4.9999.ebuild | 60 |
2 files changed, 60 insertions, 60 deletions
diff --git a/app-i18n/fcitx/fcitx-4.2.9.6.ebuild b/app-i18n/fcitx/fcitx-4.2.9.6.ebuild index c2487371ddb3..02f9ec2f4cd0 100644 --- a/app-i18n/fcitx/fcitx-4.2.9.6.ebuild +++ b/app-i18n/fcitx/fcitx-4.2.9.6.ebuild @@ -1,7 +1,7 @@ # Copyright 2003-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI="7" inherit cmake-utils gnome2-utils xdg-utils @@ -27,10 +27,15 @@ LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT" SLOT="4" KEYWORDS="amd64 ~arm64 ~hppa ppc ppc64 x86" IUSE="+X +autostart +cairo debug +enchant gtk2 +gtk3 +introspection lua nls opencc +pango static-libs +table test +xml" -RESTRICT="!test? ( test )" REQUIRED_USE="cairo? ( X ) pango? ( cairo )" +RESTRICT="!test? ( test )" -RDEPEND="dev-libs/glib:2 +BDEPEND="dev-util/glib-utils + kde-frameworks/extra-cmake-modules:5 + virtual/pkgconfig + introspection? ( dev-libs/gobject-introspection ) + nls? ( sys-devel/gettext )" +DEPEND="dev-libs/glib:2 sys-apps/dbus sys-apps/util-linux virtual/libiconv @@ -55,18 +60,14 @@ RDEPEND="dev-libs/glib:2 enchant? ( app-text/enchant:0= ) gtk2? ( x11-libs/gtk+:2 ) gtk3? ( x11-libs/gtk+:3 ) - introspection? ( dev-libs/gobject-introspection ) lua? ( dev-lang/lua:= ) nls? ( sys-devel/gettext ) - opencc? ( app-i18n/opencc:= ) + opencc? ( app-i18n/opencc:0= ) xml? ( app-text/iso-codes dev-libs/libxml2 )" -DEPEND="${RDEPEND} - dev-util/glib-utils - kde-frameworks/extra-cmake-modules:5 - virtual/pkgconfig" +RDEPEND="${DEPEND}" DOCS=(AUTHORS ChangeLog THANKS) @@ -88,33 +89,32 @@ src_prepare() { -i CMakeLists.txt cmake-utils_src_prepare - xdg_environment_reset } src_configure() { local mycmakeargs=( -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" -DSYSCONFDIR="${EPREFIX}/etc" - -DENABLE_CAIRO=$(usex cairo) - -DENABLE_DEBUG=$(usex debug) - -DENABLE_ENCHANT=$(usex enchant) - -DENABLE_GETTEXT=$(usex nls) - -DENABLE_GIR=$(usex introspection) - -DENABLE_GTK2_IM_MODULE=$(usex gtk2) - -DENABLE_GTK3_IM_MODULE=$(usex gtk3) - -DENABLE_LIBXML2=$(usex xml) - -DENABLE_LUA=$(usex lua) - -DENABLE_OPENCC=$(usex opencc) - -DENABLE_PANGO=$(usex pango) + -DENABLE_CAIRO=$(usex cairo ON OFF) + -DENABLE_DEBUG=$(usex debug ON OFF) + -DENABLE_ENCHANT=$(usex enchant ON OFF) + -DENABLE_GETTEXT=$(usex nls ON OFF) + -DENABLE_GIR=$(usex introspection ON OFF) + -DENABLE_GTK2_IM_MODULE=$(usex gtk2 ON OFF) + -DENABLE_GTK3_IM_MODULE=$(usex gtk3 ON OFF) + -DENABLE_LIBXML2=$(usex xml ON OFF) + -DENABLE_LUA=$(usex lua ON OFF) + -DENABLE_OPENCC=$(usex opencc ON OFF) + -DENABLE_PANGO=$(usex pango ON OFF) -DENABLE_QT=OFF -DENABLE_QT_GUI=OFF -DENABLE_QT_IM_MODULE=OFF - -DENABLE_SNOOPER=$(if use gtk2 || use gtk3; then echo yes; else echo no; fi) - -DENABLE_STATIC=$(usex static-libs) - -DENABLE_TABLE=$(usex table) - -DENABLE_TEST=$(usex test) - -DENABLE_X11=$(usex X) - -DENABLE_XDGAUTOSTART=$(usex autostart) + -DENABLE_SNOOPER=$(if use gtk2 || use gtk3; then echo ON; else echo OFF; fi) + -DENABLE_STATIC=$(usex static-libs ON OFF) + -DENABLE_TABLE=$(usex table ON OFF) + -DENABLE_TEST=$(usex test ON OFF) + -DENABLE_X11=$(usex X ON OFF) + -DENABLE_XDGAUTOSTART=$(usex autostart ON OFF) ) cmake-utils_src_configure @@ -122,12 +122,12 @@ src_configure() { src_install() { cmake-utils_src_install - rm -r "${ED}usr/share/doc/${PN}" + rm -r "${ED}/usr/share/doc/${PN}" } pkg_postinst() { - gnome2_icon_cache_update xdg_desktop_database_update + xdg_icon_cache_update xdg_mimeinfo_database_update use gtk2 && gnome2_query_immodules_gtk2 use gtk3 && gnome2_query_immodules_gtk3 @@ -139,8 +139,8 @@ pkg_postinst() { } pkg_postrm() { - gnome2_icon_cache_update xdg_desktop_database_update + xdg_icon_cache_update xdg_mimeinfo_database_update use gtk2 && gnome2_query_immodules_gtk2 use gtk3 && gnome2_query_immodules_gtk3 diff --git a/app-i18n/fcitx/fcitx-4.9999.ebuild b/app-i18n/fcitx/fcitx-4.9999.ebuild index ea2b71789213..8588631be12a 100644 --- a/app-i18n/fcitx/fcitx-4.9999.ebuild +++ b/app-i18n/fcitx/fcitx-4.9999.ebuild @@ -1,7 +1,7 @@ # Copyright 2003-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI="7" inherit cmake-utils gnome2-utils xdg-utils @@ -27,10 +27,15 @@ LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT" SLOT="4" KEYWORDS="" IUSE="+X +autostart +cairo debug +enchant gtk2 +gtk3 +introspection lua nls opencc +pango static-libs +table test +xml" -RESTRICT="!test? ( test )" REQUIRED_USE="cairo? ( X ) pango? ( cairo )" +RESTRICT="!test? ( test )" -RDEPEND="dev-libs/glib:2 +BDEPEND="dev-util/glib-utils + kde-frameworks/extra-cmake-modules:5 + virtual/pkgconfig + introspection? ( dev-libs/gobject-introspection ) + nls? ( sys-devel/gettext )" +DEPEND="dev-libs/glib:2 sys-apps/dbus sys-apps/util-linux virtual/libiconv @@ -55,18 +60,14 @@ RDEPEND="dev-libs/glib:2 enchant? ( app-text/enchant:0= ) gtk2? ( x11-libs/gtk+:2 ) gtk3? ( x11-libs/gtk+:3 ) - introspection? ( dev-libs/gobject-introspection ) lua? ( dev-lang/lua:= ) nls? ( sys-devel/gettext ) - opencc? ( app-i18n/opencc:= ) + opencc? ( app-i18n/opencc:0= ) xml? ( app-text/iso-codes dev-libs/libxml2 )" -DEPEND="${RDEPEND} - dev-util/glib-utils - kde-frameworks/extra-cmake-modules:5 - virtual/pkgconfig" +RDEPEND="${DEPEND}" DOCS=(AUTHORS ChangeLog THANKS) @@ -88,33 +89,32 @@ src_prepare() { -i CMakeLists.txt cmake-utils_src_prepare - xdg_environment_reset } src_configure() { local mycmakeargs=( -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" -DSYSCONFDIR="${EPREFIX}/etc" - -DENABLE_CAIRO=$(usex cairo) - -DENABLE_DEBUG=$(usex debug) - -DENABLE_ENCHANT=$(usex enchant) - -DENABLE_GETTEXT=$(usex nls) - -DENABLE_GIR=$(usex introspection) - -DENABLE_GTK2_IM_MODULE=$(usex gtk2) - -DENABLE_GTK3_IM_MODULE=$(usex gtk3) - -DENABLE_LIBXML2=$(usex xml) - -DENABLE_LUA=$(usex lua) - -DENABLE_OPENCC=$(usex opencc) - -DENABLE_PANGO=$(usex pango) + -DENABLE_CAIRO=$(usex cairo ON OFF) + -DENABLE_DEBUG=$(usex debug ON OFF) + -DENABLE_ENCHANT=$(usex enchant ON OFF) + -DENABLE_GETTEXT=$(usex nls ON OFF) + -DENABLE_GIR=$(usex introspection ON OFF) + -DENABLE_GTK2_IM_MODULE=$(usex gtk2 ON OFF) + -DENABLE_GTK3_IM_MODULE=$(usex gtk3 ON OFF) + -DENABLE_LIBXML2=$(usex xml ON OFF) + -DENABLE_LUA=$(usex lua ON OFF) + -DENABLE_OPENCC=$(usex opencc ON OFF) + -DENABLE_PANGO=$(usex pango ON OFF) -DENABLE_QT=OFF -DENABLE_QT_GUI=OFF -DENABLE_QT_IM_MODULE=OFF - -DENABLE_SNOOPER=$(if use gtk2 || use gtk3; then echo yes; else echo no; fi) - -DENABLE_STATIC=$(usex static-libs) - -DENABLE_TABLE=$(usex table) - -DENABLE_TEST=$(usex test) - -DENABLE_X11=$(usex X) - -DENABLE_XDGAUTOSTART=$(usex autostart) + -DENABLE_SNOOPER=$(if use gtk2 || use gtk3; then echo ON; else echo OFF; fi) + -DENABLE_STATIC=$(usex static-libs ON OFF) + -DENABLE_TABLE=$(usex table ON OFF) + -DENABLE_TEST=$(usex test ON OFF) + -DENABLE_X11=$(usex X ON OFF) + -DENABLE_XDGAUTOSTART=$(usex autostart ON OFF) ) cmake-utils_src_configure @@ -122,12 +122,12 @@ src_configure() { src_install() { cmake-utils_src_install - rm -r "${ED}usr/share/doc/${PN}" + rm -r "${ED}/usr/share/doc/${PN}" } pkg_postinst() { - gnome2_icon_cache_update xdg_desktop_database_update + xdg_icon_cache_update xdg_mimeinfo_database_update use gtk2 && gnome2_query_immodules_gtk2 use gtk3 && gnome2_query_immodules_gtk3 @@ -139,8 +139,8 @@ pkg_postinst() { } pkg_postrm() { - gnome2_icon_cache_update xdg_desktop_database_update + xdg_icon_cache_update xdg_mimeinfo_database_update use gtk2 && gnome2_query_immodules_gtk2 use gtk3 && gnome2_query_immodules_gtk3 |