diff options
author | Vadim Misbakh-Soloviov <mva@gentoo.org> | 2021-09-26 05:19:08 +0700 |
---|---|---|
committer | Vadim Misbakh-Soloviov <mva@gentoo.org> | 2021-09-26 05:56:44 +0700 |
commit | 0b234b03472b19154e4a2893909cc85c02c557a2 (patch) | |
tree | 0b6b8afea78515a2468fac2262aa9d86de29528a /dev-libs/libutf8proc | |
parent | app-i18n/ibus: reflect new data path of app-i18n/unicode-data (diff) | |
download | gentoo-0b234b03472b19154e4a2893909cc85c02c557a2.tar.gz gentoo-0b234b03472b19154e4a2893909cc85c02c557a2.tar.bz2 gentoo-0b234b03472b19154e4a2893909cc85c02c557a2.zip |
dev-libs/libutf8proc: 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 'dev-libs/libutf8proc')
-rw-r--r-- | dev-libs/libutf8proc/libutf8proc-2.5.0.ebuild | 11 | ||||
-rw-r--r-- | dev-libs/libutf8proc/libutf8proc-2.6.1.ebuild | 11 |
2 files changed, 20 insertions, 2 deletions
diff --git a/dev-libs/libutf8proc/libutf8proc-2.5.0.ebuild b/dev-libs/libutf8proc/libutf8proc-2.5.0.ebuild index 5a659f96fa5b..0e8e2c250e3e 100644 --- a/dev-libs/libutf8proc/libutf8proc-2.5.0.ebuild +++ b/dev-libs/libutf8proc/libutf8proc-2.5.0.ebuild @@ -46,7 +46,16 @@ src_install() { } src_test() { - cp "${EPREFIX}"/usr/share/unicode-data/{Normalization,auxiliary/GraphemeBreak}Test.txt data || die + 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 + + cp "${ucddir}"/{Normalization,auxiliary/GraphemeBreak}Test.txt data || die emake CC="$(tc-getCC)" check } diff --git a/dev-libs/libutf8proc/libutf8proc-2.6.1.ebuild b/dev-libs/libutf8proc/libutf8proc-2.6.1.ebuild index 4790df370ef2..96a3fc9a1fbb 100644 --- a/dev-libs/libutf8proc/libutf8proc-2.6.1.ebuild +++ b/dev-libs/libutf8proc/libutf8proc-2.6.1.ebuild @@ -50,7 +50,16 @@ src_install() { } src_test() { - cp "${EPREFIX}"/usr/share/unicode-data/{DerivedCoreProperties,{Normalization,auxiliary/GraphemeBreak}Test}.txt data || die + 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 + + cp "${ucddir}"/{DerivedCoreProperties,{Normalization,auxiliary/GraphemeBreak}Test}.txt data || die emake CC="$(tc-getCC)" check } |