1 |
commit: 1ea3ea86a038e5e15258072da56beffb4c3f576d |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 16 18:20:26 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 16 18:21:05 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ea3ea86 |
7 |
|
8 |
dev-libs/icu-layoutex: Bump to version 62.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.43, Repoman-2.3.10 |
11 |
|
12 |
dev-libs/icu-layoutex/Manifest | 1 + |
13 |
dev-libs/icu-layoutex/icu-layoutex-62.1.ebuild | 114 +++++++++++++++++++++++++ |
14 |
2 files changed, 115 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/icu-layoutex/Manifest b/dev-libs/icu-layoutex/Manifest |
17 |
index 56b67c375a7..6a3d7eb8d01 100644 |
18 |
--- a/dev-libs/icu-layoutex/Manifest |
19 |
+++ b/dev-libs/icu-layoutex/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST icu4c-58_2-src.tgz 23369902 BLAKE2B cdd2e02c3aba050f5b7f8b38c5a3731e3e5f1cc1403ef86a50908b95560ea3cf8a2d47119fa60cf34f22a8b65eaa2392fd5bcbd3bc48b3da541fe3d9bd7392c0 SHA512 5c21af748f48b392e6c0412bd0aee92162ea931820dcbfab4ec6e0299868504b303d88f7586cc95de55c777ac0dca3a29d6c8ca0892c646ebc864c8a5b5a162a |
22 |
DIST icu4c-60_2-src.tgz 23317835 BLAKE2B dabd24a9317b44f6852c61c83e808c920d7d29f57d53a7450c68cdad5f84941f771db07fab1f5a16451d59c7aa2750e5a4d5b5fa9a904c43d131529b648263ea SHA512 8e718e66c13e7f25714404c46b91ed6305efff1df70c328be2ec743023a7719016dae72a5fa0a05d6f5599983590a2044ff72d3453a048d987ab546d0416d694 |
23 |
DIST icu4c-61_1-src.tgz 23400587 BLAKE2B 6c6c78b4169ad3e900ff8a8a8fc7286f3dfb692dc04cc88103804799d1ce1fc7d1a3a7b1fc1b379e92196dd5976cfea3fe014a09dc65d387f34f141eae5b9465 SHA512 4c37691246db802e4bae0c8c5f6ac1dac64c5753b607e539c5c1c36e361fcd9dd81bd1d3b5416c2960153b83700ccdb356412847d0506ab7782ae626ac0ffb94 |
24 |
+DIST icu4c-62_1-src.tgz 23468750 BLAKE2B c0b665af53a494fc064425e6b3e66ae11d31509f4edc42268b12b85ece5ea635ebc76a8f3ab65a49b74a849a67ffd526e15e6d1b5b07e13c7f94cc94bef1d31c SHA512 8295f2754fb6907e2cc8f515dccca05530963b544e89a2b8e323cd0ddfdbbe0c9eba8b367c1dbc04d7bb906b66b1003fd545ca05298939747c832c9d4431cf2a |
25 |
|
26 |
diff --git a/dev-libs/icu-layoutex/icu-layoutex-62.1.ebuild b/dev-libs/icu-layoutex/icu-layoutex-62.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..f0879bb2332 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/icu-layoutex/icu-layoutex-62.1.ebuild |
31 |
@@ -0,0 +1,114 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit 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="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~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}" econf "${myeconfargs[@]}" |
123 |
+} |
124 |
+ |
125 |
+multilib_src_test() { |
126 |
+ # INTLTEST_OPTS: intltest options |
127 |
+ # -e: Exhaustive testing |
128 |
+ # -l: Reporting of memory leaks |
129 |
+ # -v: Increased verbosity |
130 |
+ # IOTEST_OPTS: iotest options |
131 |
+ # -e: Exhaustive testing |
132 |
+ # -v: Increased verbosity |
133 |
+ # CINTLTST_OPTS: cintltst options |
134 |
+ # -e: Exhaustive testing |
135 |
+ # -v: Increased verbosity |
136 |
+ pushd layoutex &>/dev/null || die |
137 |
+ emake -j1 VERBOSE="1" check |
138 |
+ popd &>/dev/null || die |
139 |
+} |
140 |
+ |
141 |
+multilib_src_install() { |
142 |
+ pushd layoutex &>/dev/null || die |
143 |
+ default |
144 |
+ popd &>/dev/null || die |
145 |
+} |