From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx/
Date: Sat, 4 Jul 2020 13:53:10 +0000 (UTC) [thread overview]
Message-ID: <1593870751.8c6f7fca9b606f8aeccda8b9df0551fe1495f88d.floppym@gentoo> (raw)
commit: 8c6f7fca9b606f8aeccda8b9df0551fe1495f88d
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Fri Jul 3 09:24:53 2020 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Jul 4 13:52:31 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c6f7fca
app-i18n/fcitx: Use EAPI="7".
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
app-i18n/fcitx/fcitx-4.2.9.6.ebuild | 60 ++++++++++++++++++-------------------
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 c2487371ddb..02f9ec2f4cd 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 ea2b7178921..8588631be12 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
next reply other threads:[~2020-07-04 13:53 UTC|newest]
Thread overview: 73+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-04 13:53 Mike Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-22 8:32 [gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx/ Sam James
2024-11-22 0:55 Sam James
2024-10-11 0:07 Yixun Lan
2024-07-26 14:12 Arthur Zamarin
2024-07-26 14:12 Arthur Zamarin
2024-06-09 18:54 Matt Turner
2024-06-02 3:25 Yixun Lan
2024-06-02 3:25 Yixun Lan
2024-04-25 0:43 Yixun Lan
2024-04-25 0:43 Yixun Lan
2024-03-08 9:12 Yixun Lan
2024-01-18 15:10 WANG Xuerui
2024-01-18 15:10 WANG Xuerui
2024-01-17 9:04 Jakov Smolić
2024-01-16 17:50 Arthur Zamarin
2024-01-11 0:22 Yixun Lan
2024-01-11 0:22 Yixun Lan
2023-12-24 15:53 WANG Xuerui
2023-12-11 13:33 Yixun Lan
2023-12-11 13:33 Yixun Lan
2022-05-19 5:08 WANG Xuerui
2021-07-27 21:54 Marek Szuba
2021-03-25 23:52 Conrad Kostecki
2021-02-05 4:40 Sam James
2021-02-05 4:40 Sam James
2021-02-05 4:38 Sam James
2021-02-02 21:00 Sam James
2020-12-07 18:14 Mike Gilbert
2020-12-03 22:58 Marek Szuba
2020-11-16 19:51 Mike Gilbert
2020-11-11 20:21 Mike Gilbert
2020-11-11 20:21 Mike Gilbert
2020-11-11 20:21 Mike Gilbert
2020-07-04 13:53 Mike Gilbert
2020-07-04 13:53 Mike Gilbert
2018-10-19 17:39 Mike Gilbert
2018-08-25 20:20 Michał Górny
2018-02-21 20:34 Mike Gilbert
2018-01-09 22:58 Sergei Trofimovich
2018-01-08 21:31 Mike Gilbert
2017-11-18 10:13 Sergei Trofimovich
2017-11-18 10:03 Sergei Trofimovich
2017-11-15 19:26 Mike Gilbert
2017-11-15 19:26 Mike Gilbert
2017-11-15 19:26 Mike Gilbert
2017-11-01 20:54 Mike Gilbert
2017-09-27 19:57 Mike Gilbert
2017-09-27 19:57 Mike Gilbert
2017-09-27 19:57 Mike Gilbert
2017-09-18 19:43 Mike Gilbert
2017-09-16 12:27 Andreas Sturmlechner
2017-09-13 19:25 Mike Gilbert
2017-09-11 18:39 Mike Gilbert
2017-09-11 18:39 Mike Gilbert
2017-09-11 18:39 Mike Gilbert
2017-09-02 15:52 Mike Gilbert
2017-08-22 14:21 Mike Gilbert
2017-08-22 14:21 Mike Gilbert
2017-07-30 15:30 David Seifert
2016-10-13 18:54 Mike Gilbert
2016-10-13 9:44 Agostino Sarubbo
2016-10-05 19:36 Mike Gilbert
2016-09-15 14:47 Mike Gilbert
2016-08-17 3:47 Jeroen Roovers
2016-07-29 2:00 Mike Gilbert
2016-07-01 6:33 Jeroen Roovers
2016-05-31 4:20 Jeroen Roovers
2016-05-30 21:01 Mike Gilbert
2016-03-24 14:43 Mike Gilbert
2015-12-22 2:32 Yixun Lan
2015-12-22 2:32 Yixun Lan
2015-11-11 10:39 Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1593870751.8c6f7fca9b606f8aeccda8b9df0551fe1495f88d.floppym@gentoo \
--to=floppym@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox