1 |
commit: 04c8be79a25503f2226a171cfa30a456ff0feee1 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 21 11:32:33 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 21 11:35:19 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04c8be79 |
7 |
|
8 |
dev-libs/icu-layoutex: Bump to version 64.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.64, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-libs/icu-layoutex/Manifest | 1 + |
14 |
dev-libs/icu-layoutex/icu-layoutex-64.2.ebuild | 109 +++++++++++++++++++++++++ |
15 |
2 files changed, 110 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/icu-layoutex/Manifest b/dev-libs/icu-layoutex/Manifest |
18 |
index f77c1e6b6c9..8ebb1161a08 100644 |
19 |
--- a/dev-libs/icu-layoutex/Manifest |
20 |
+++ b/dev-libs/icu-layoutex/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST icu4c-58_2-src.tgz 23369902 BLAKE2B cdd2e02c3aba050f5b7f8b38c5a3731e3e5f1cc1403ef86a50908b95560ea3cf8a2d47119fa60cf34f22a8b65eaa2392fd5bcbd3bc48b3da541fe3d9bd7392c0 SHA512 5c21af748f48b392e6c0412bd0aee92162ea931820dcbfab4ec6e0299868504b303d88f7586cc95de55c777ac0dca3a29d6c8ca0892c646ebc864c8a5b5a162a |
23 |
DIST icu4c-63_1-src.tgz 23746939 BLAKE2B 5a665554506ff705c83c7a03a1b5598b1a48afbe1c6caaccd5a2d7d5aae16b3e18d7bc65ed552fc4df86248a2f13962438f19bca6c2a579843204c7dc52e6278 SHA512 9ab407ed840a00cdda7470dcc4c40299a125ad246ae4d019c4b1ede54781157fd63af015a8228cd95dbc47e4d15a0932b2c657489046a19788e5e8266eac079c |
24 |
DIST icu4c-64_1-src.tgz 24013136 BLAKE2B e577bd4c9b822e5ef3a101b3ef46b7b42ca18077d6e05fca543ff1eb702261f017981fb22dd3970662397530b390f648d4417c84dcf3d6ed0d298dd7a8c38897 SHA512 5eca8342d8bdf902689243506643e04512744b33962687e118f6810af6f7fd073678f67b991d2ae9139d257713b63abb4222b96687234df01ad5ff62df16ede0 |
25 |
+DIST icu4c-64_2-src.tgz 24013250 BLAKE2B 4a286e7a952f5faa74d942f6b6a73147a46aa10fe6d54d024e2d18d1e01056444d56118ded04b4fe084d6a0f9058d7d9e76973960ac8fe5bd9ee105d9e214318 SHA512 5ecb4c230ba45918747a1cf9aef86f555aa07d5b29b1d07ab674e8013f46dfb907a0e9d6945db41155f9dc3012fd94e1152ffc19f61a68b6dfcbabdcb8ae9d78 |
26 |
|
27 |
diff --git a/dev-libs/icu-layoutex/icu-layoutex-64.2.ebuild b/dev-libs/icu-layoutex/icu-layoutex-64.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..9f738852cf9 |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/icu-layoutex/icu-layoutex-64.2.ebuild |
32 |
@@ -0,0 +1,109 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit autotools flag-o-matic multilib-minimal toolchain-funcs |
39 |
+ |
40 |
+DESCRIPTION="External layout part of International Components for Unicode" |
41 |
+HOMEPAGE="http://www.icu-project.org/" |
42 |
+SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0/${PV}" |
46 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
47 |
+IUSE="debug static-libs" |
48 |
+ |
49 |
+BDEPEND=" |
50 |
+ virtual/pkgconfig[${MULTILIB_USEDEP}] |
51 |
+" |
52 |
+DEPEND=" |
53 |
+ ~dev-libs/icu-${PV}[${MULTILIB_USEDEP}] |
54 |
+ dev-libs/icu-le-hb[${MULTILIB_USEDEP}] |
55 |
+" |
56 |
+RDEPEND="${DEPEND}" |
57 |
+ |
58 |
+S="${WORKDIR}/${PN/-layoutex}/source" |
59 |
+ |
60 |
+PATCHES=( |
61 |
+ "${FILESDIR}/${PN}-58.1-remove-bashisms.patch" |
62 |
+) |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ # apply patches |
66 |
+ default |
67 |
+ |
68 |
+ # Disable renaming as it is stupid thing to do |
69 |
+ sed -i \ |
70 |
+ -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \ |
71 |
+ common/unicode/uconfig.h || die |
72 |
+ |
73 |
+ # Fix linking of icudata |
74 |
+ sed -i \ |
75 |
+ -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \ |
76 |
+ config/mh-linux || die |
77 |
+ |
78 |
+ eautoreconf |
79 |
+} |
80 |
+ |
81 |
+src_configure() { |
82 |
+ # Use C++14 |
83 |
+ append-cxxflags -std=c++14 |
84 |
+ |
85 |
+ if tc-is-cross-compiler; then |
86 |
+ mkdir "${WORKDIR}"/host || die |
87 |
+ pushd "${WORKDIR}"/host >/dev/null || die |
88 |
+ |
89 |
+ CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \ |
90 |
+ CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \ |
91 |
+ RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \ |
92 |
+ "${S}"/configure --disable-renaming --disable-debug \ |
93 |
+ --disable-samples --enable-static || die |
94 |
+ emake |
95 |
+ |
96 |
+ popd >/dev/null || die |
97 |
+ fi |
98 |
+ |
99 |
+ multilib-minimal_src_configure |
100 |
+} |
101 |
+ |
102 |
+multilib_src_configure() { |
103 |
+ local myeconfargs=( |
104 |
+ --disable-renaming |
105 |
+ --disable-samples |
106 |
+ --enable-layoutex |
107 |
+ $(use_enable debug) |
108 |
+ $(use_enable static-libs static) |
109 |
+ ) |
110 |
+ |
111 |
+ tc-is-cross-compiler && myeconfargs+=( |
112 |
+ --with-cross-build="${WORKDIR}"/host |
113 |
+ ) |
114 |
+ |
115 |
+ # icu tries to use clang by default |
116 |
+ tc-export CC CXX |
117 |
+ |
118 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
119 |
+} |
120 |
+ |
121 |
+multilib_src_test() { |
122 |
+ # INTLTEST_OPTS: intltest options |
123 |
+ # -e: Exhaustive testing |
124 |
+ # -l: Reporting of memory leaks |
125 |
+ # -v: Increased verbosity |
126 |
+ # IOTEST_OPTS: iotest options |
127 |
+ # -e: Exhaustive testing |
128 |
+ # -v: Increased verbosity |
129 |
+ # CINTLTST_OPTS: cintltst options |
130 |
+ # -e: Exhaustive testing |
131 |
+ # -v: Increased verbosity |
132 |
+ pushd layoutex &>/dev/null || die |
133 |
+ emake -j1 VERBOSE="1" check |
134 |
+ popd &>/dev/null || die |
135 |
+} |
136 |
+ |
137 |
+multilib_src_install() { |
138 |
+ pushd layoutex &>/dev/null || die |
139 |
+ default |
140 |
+ popd &>/dev/null || die |
141 |
+} |