Diff libutf8proc-2.7.0 with a libutf8proc-2.8.0
/usr/portage/dev-libs/libutf8proc/libutf8proc-2.8.0.ebuild 2023-10-09 14:52:29.532368351 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI="8" |
... | ... | |
9 | 9 |
DESCRIPTION="A clean C Library for processing UTF-8 Unicode data" |
10 | 10 |
HOMEPAGE="https://github.com/JuliaStrings/utf8proc" |
11 | 11 |
SRC_URI="https://github.com/JuliaStrings/${PN#lib}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
12 |
cjk? ( https://dev.gentoo.org/~hattya/distfiles/${PN}-EastAsianWidth-14.0.0.xz )" |
|
12 |
cjk? ( https://dev.gentoo.org/~hattya/distfiles/${PN}-EastAsianWidth-15.0.0.xz )" |
|
13 | 13 | |
14 | 14 |
LICENSE="MIT" |
15 | 15 |
SLOT="0/${PV}" |
16 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos" |
|
16 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos" |
|
17 | 17 |
IUSE="cjk static-libs test" |
18 | 18 |
RESTRICT="!test? ( test )" |
19 | 19 | |
20 | 20 |
BDEPEND="test? ( |
21 |
=app-i18n/unicode-data-14.0* |
|
21 |
=app-i18n/unicode-data-15.0* |
|
22 | 22 |
${RUBY_DEPS} |
23 | 23 |
)" |
24 | 24 |
S="${WORKDIR}/${P#lib}" |
25 | 25 | |
26 |
QA_PKGCONFIG_VERSION="$(ver_cut 1).5.0" |
|
26 |
QA_PKGCONFIG_VERSION="$(ver_cut 1).6.0" |
|
27 | 27 | |
28 | 28 |
src_prepare() { |
29 | 29 |
if use cjk; then |
30 | 30 |
einfo "Modifying East Asian Ambiguous (A) as wide ..." |
31 |
cp "${WORKDIR}"/${PN}-EastAsianWidth-14.0.0 ${PN#lib}_data.c || die |
|
31 |
cp "${WORKDIR}"/${PN}-EastAsianWidth-15.0.0 ${PN#lib}_data.c || die |
|
32 | 32 |
fi |
33 | 33 | |
34 | 34 |
sed -i "/^libdir/s:/lib:/$(get_libdir):" Makefile |