summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-10-16 22:41:19 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-10-16 22:41:19 +0900
commit30982c1cdaf829165bd3edfe02a082e04899e3c7 (patch)
treeb9ad61bf53d18bc888e1f367b3321389475000eb /app-i18n
parentapp-i18n/ibus-chewing: drop old (diff)
downloadgentoo-30982c1cdaf829165bd3edfe02a082e04899e3c7.tar.gz
gentoo-30982c1cdaf829165bd3edfe02a082e04899e3c7.tar.bz2
gentoo-30982c1cdaf829165bd3edfe02a082e04899e3c7.zip
app-i18n/ibus-chewing: update to EAPI 7
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/ibus-chewing/ibus-chewing-1.6.1.ebuild14
-rw-r--r--app-i18n/ibus-chewing/metadata.xml20
2 files changed, 17 insertions, 17 deletions
diff --git a/app-i18n/ibus-chewing/ibus-chewing-1.6.1.ebuild b/app-i18n/ibus-chewing/ibus-chewing-1.6.1.ebuild
index 94525afb3ed4..1eee6e7ecd2a 100644
--- a/app-i18n/ibus-chewing/ibus-chewing-1.6.1.ebuild
+++ b/app-i18n/ibus-chewing/ibus-chewing-1.6.1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI="7"
CMAKE_MAKEFILE_GENERATOR="emake"
-inherit cmake-utils gnome2-utils virtualx
+inherit cmake gnome2-utils virtualx
DESCRIPTION="Chinese Chewing engine for IBus"
HOMEPAGE="https://github.com/ibus/ibus/wiki"
@@ -23,8 +23,8 @@ RDEPEND="app-i18n/ibus
x11-libs/libX11
gconf? ( gnome-base/gconf )
nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}
- dev-util/cmake-fedora
+DEPEND="${RDEPEND}"
+BDEPEND="dev-util/cmake-fedora
virtual/pkgconfig
nls? ( sys-devel/gettext )"
@@ -37,15 +37,15 @@ src_configure() {
-DPRJ_DOC_DIR="${EPREFIX}"/usr/share/doc/${PF}
)
use nls || mycmakeargs+=( -DMANAGE_GETTEXT_SUPPORT=0 )
- cmake-utils_src_configure
+ cmake_src_configure
}
src_test() {
- "${EPREFIX%/}/"${GLIB_COMPILE_SCHEMAS} --allow-any-name "${BUILD_DIR}"/bin || die
+ "${BROOT}"${GLIB_COMPILE_SCHEMAS} --allow-any-name "${BUILD_DIR}"/bin || die
export GSETTINGS_BACKEND="memory"
export GSETTINGS_SCHEMA_DIR="${BUILD_DIR}/bin"
- virtx cmake-utils_src_test
+ virtx cmake_src_test
}
pkg_preinst() {
diff --git a/app-i18n/ibus-chewing/metadata.xml b/app-i18n/ibus-chewing/metadata.xml
index 0889e6335dbe..cf7f054fe39e 100644
--- a/app-i18n/ibus-chewing/metadata.xml
+++ b/app-i18n/ibus-chewing/metadata.xml
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>cjk@gentoo.org</email>
- <name>Cjk</name>
- </maintainer>
- <use>
- <flag name="gconf">Enable support for <pkg>gnome-base/gconf</pkg></flag>
- </use>
- <upstream>
- <remote-id type="github">definite/ibus-chewing</remote-id>
- </upstream>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
+ <use>
+ <flag name="gconf">Enable support for <pkg>gnome-base/gconf</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="github">definite/ibus-chewing</remote-id>
+ </upstream>
</pkgmetadata>