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