summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Misbakh-Soloviov <mva@gentoo.org>2021-09-26 05:20:01 +0700
committerVadim Misbakh-Soloviov <mva@gentoo.org>2021-09-26 05:56:45 +0700
commit3538e7f797505382af591d9b6cc39866bfef6c65 (patch)
tree21282ae00b07e1bea139e1a45fe1b8f1545662e0 /gnome-extra/gucharmap
parentdev-libs/libutf8proc: reflect new data path of app-i18n/unicode-data (diff)
downloadgentoo-3538e7f797505382af591d9b6cc39866bfef6c65.tar.gz
gentoo-3538e7f797505382af591d9b6cc39866bfef6c65.tar.bz2
gentoo-3538e7f797505382af591d9b6cc39866bfef6c65.zip
gnome-extra/gucharmap: 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 'gnome-extra/gucharmap')
-rw-r--r--gnome-extra/gucharmap/gucharmap-13.0.8.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnome-extra/gucharmap/gucharmap-13.0.8.ebuild b/gnome-extra/gucharmap/gucharmap-13.0.8.ebuild
index c5ddaa9831f1..2ba14ea53a69 100644
--- a/gnome-extra/gucharmap/gucharmap-13.0.8.ebuild
+++ b/gnome-extra/gucharmap/gucharmap-13.0.8.ebuild
@@ -43,8 +43,17 @@ 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 emesonargs=(
- -Ducd_path="${EPREFIX}/usr/share/unicode-data"
+ -Ducd_path="${ucddir}"
$(meson_use debug dbg)
$(meson_use gtk-doc docs)
$(meson_use introspection gir)