summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Misbakh-Soloviov <mva@gentoo.org>2021-09-26 05:17:33 +0700
committerVadim Misbakh-Soloviov <mva@gentoo.org>2021-09-26 05:56:44 +0700
commit734c98e2aea8d8b92e09a623c44ff0eafad719e8 (patch)
tree6f0986a68d39e3fed40d01a044938695f611ff16 /app-i18n/ibus/ibus-1.5.22.ebuild
parentapp-i18n/unicode-data: move data to common path (diff)
downloadgentoo-734c98e2aea8d8b92e09a623c44ff0eafad719e8.tar.gz
gentoo-734c98e2aea8d8b92e09a623c44ff0eafad719e8.tar.bz2
gentoo-734c98e2aea8d8b92e09a623c44ff0eafad719e8.zip
app-i18n/ibus: reflect new data path of app-i18n/unicode-data
Package-Manager: Portage-3.0.23, Repoman-3.0.1 Signed-off-by: Vadim Misbakh-Soloviov <mva@gentoo.org>
Diffstat (limited to 'app-i18n/ibus/ibus-1.5.22.ebuild')
-rw-r--r--app-i18n/ibus/ibus-1.5.22.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/app-i18n/ibus/ibus-1.5.22.ebuild b/app-i18n/ibus/ibus-1.5.22.ebuild
index 27e19d610f9f..3fecbfced783 100644
--- a/app-i18n/ibus/ibus-1.5.22.ebuild
+++ b/app-i18n/ibus/ibus-1.5.22.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -102,6 +102,14 @@ src_prepare() {
src_configure() {
local unicodedir="${EPREFIX}"/usr/share/unicode
+ local ucddir
+
+ if has_verson '<app-i18n/unicode-data-14.0.0-r1'; then
+ ucddir="${unicodedir}-data"
+ else
+ ucddir=${unicodedir}
+ fi
+
local python_conf=()
if use python; then
python_setup
@@ -126,7 +134,7 @@ src_configure() {
$(use_enable nls) \
$(use_enable test tests) \
$(use_enable unicode unicode-dict) \
- $(use_with unicode ucd-dir "${EPREFIX}/usr/share/unicode-data") \
+ $(use_with unicode ucd-dir "${ucddir}") \
$(use_enable vala) \
$(use_enable wayland) \
"${python_conf[@]}"