diff options
author | Vadim Misbakh-Soloviov <mva@gentoo.org> | 2021-09-26 05:21:05 +0700 |
---|---|---|
committer | Vadim Misbakh-Soloviov <mva@gentoo.org> | 2021-09-26 05:56:46 +0700 |
commit | 72b9db2b3011cbeecaf804b31f973201bfd8e60c (patch) | |
tree | 788b6e70d34548fa4d54b62836d46218e56114d7 /media-fonts | |
parent | gnome-extra/gucharmap: reflect new data path of app-i18n/unicode-data (diff) | |
download | gentoo-72b9db2b3011cbeecaf804b31f973201bfd8e60c.tar.gz gentoo-72b9db2b3011cbeecaf804b31f973201bfd8e60c.tar.bz2 gentoo-72b9db2b3011cbeecaf804b31f973201bfd8e60c.zip |
media-fonts/dejavu: 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 'media-fonts')
-rw-r--r-- | media-fonts/dejavu/dejavu-2.37.ebuild | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/media-fonts/dejavu/dejavu-2.37.ebuild b/media-fonts/dejavu/dejavu-2.37.ebuild index 3ed26ced4094..871e75a1dcf2 100644 --- a/media-fonts/dejavu/dejavu-2.37.ebuild +++ b/media-fonts/dejavu/dejavu-2.37.ebuild @@ -67,11 +67,20 @@ src_prepare() { } src_compile() { + 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 + if use fontforge; then emake \ BUILDDIR=ttf \ - BLOCKS=/usr/share/unicode-data/Blocks.txt \ - UNICODEDATA=/usr/share/unicode-data/UnicodeData.txt \ + BLOCKS=${ucddir}/Blocks.txt \ + UNICODEDATA=${ucddir}/UnicodeData.txt \ FC-LANG=/usr/share/fc-lang \ full sans fi |