From: | "Mike Gilbert (floppym)" <floppym@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/icu: icu-49.1.2.ebuild ChangeLog |
Date: | Thu, 07 Jun 2012 00:43:06 |
Message-Id: | 20120607004254.73BA72004B@flycatcher.gentoo.org |
1 | floppym 12/06/07 00:42:54 |
2 | |
3 | Modified: ChangeLog |
4 | Added: icu-49.1.2.ebuild |
5 | Log: |
6 | Version bump. Ebuild by Arfrever. |
7 | |
8 | (Portage version: 2.2.0_alpha110/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.200 dev-libs/icu/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.200&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.200&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?r1=1.199&r2=1.200 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v |
20 | retrieving revision 1.199 |
21 | retrieving revision 1.200 |
22 | diff -u -r1.199 -r1.200 |
23 | --- ChangeLog 7 Jun 2012 00:37:18 -0000 1.199 |
24 | +++ ChangeLog 7 Jun 2012 00:42:54 -0000 1.200 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-libs/icu |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.199 2012/06/07 00:37:18 floppym Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.200 2012/06/07 00:42:54 floppym Exp $ |
30 | + |
31 | +*icu-49.1.2 (07 Jun 2012) |
32 | + |
33 | + 07 Jun 2012; Mike Gilbert <floppym@g.o> +icu-49.1.2.ebuild: |
34 | + Version bump. Ebuild by Arfrever. |
35 | |
36 | 07 Jun 2012; Mike Gilbert <floppym@g.o> -files/icu-4.8.1-fix_nan.patch, |
37 | -icu-4.8.1.1-r1.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 dev-libs/icu/icu-49.1.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-49.1.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-49.1.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: icu-49.1.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-49.1.2.ebuild,v 1.1 2012/06/07 00:42:54 floppym Exp $ |
51 | |
52 | EAPI="4" |
53 | |
54 | inherit eutils versionator |
55 | |
56 | MAJOR_VERSION="$(get_version_component_range 1)" |
57 | if [[ "${PV}" =~ ^[[:digit:]]+_rc[[:digit:]]*$ ]]; then |
58 | MINOR_VERSION="0" |
59 | else |
60 | MINOR_VERSION="$(get_version_component_range 2)" |
61 | fi |
62 | |
63 | DESCRIPTION="International Components for Unicode" |
64 | HOMEPAGE="http://www.icu-project.org/" |
65 | |
66 | BASE_URI="http://download.icu-project.org/files/icu4c/${PV/_/}" |
67 | SRC_ARCHIVE="icu4c-${PV//./_}-src.tgz" |
68 | DOCS_ARCHIVE="icu4c-${PV//./_}-docs.zip" |
69 | |
70 | SRC_URI="${BASE_URI}/${SRC_ARCHIVE} |
71 | doc? ( ${BASE_URI}/${DOCS_ARCHIVE} )" |
72 | |
73 | LICENSE="BSD" |
74 | SLOT="0" |
75 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
76 | IUSE="debug doc examples static-libs" |
77 | |
78 | DEPEND="doc? ( app-arch/unzip )" |
79 | RDEPEND="" |
80 | |
81 | S="${WORKDIR}/${PN}/source" |
82 | |
83 | QA_DT_NEEDED="/usr/lib.*/libicudata\.so\.${MAJOR_VERSION}\.${MINOR_VERSION}.*" |
84 | |
85 | src_unpack() { |
86 | unpack "${SRC_ARCHIVE}" |
87 | if use doc; then |
88 | mkdir docs |
89 | pushd docs > /dev/null |
90 | unpack "${DOCS_ARCHIVE}" |
91 | popd > /dev/null |
92 | fi |
93 | } |
94 | |
95 | src_prepare() { |
96 | # Do not hardcode flags into icu-config. |
97 | # https://ssl.icu-project.org/trac/ticket/6102 |
98 | local variable |
99 | for variable in CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do |
100 | sed -i -e "/^${variable} =.*/s:@${variable}@::" config/Makefile.inc.in || die "sed failed" |
101 | done |
102 | |
103 | epatch "${FILESDIR}/${PN}-4.8.1-fix_binformat_fonts.patch" |
104 | epatch "${FILESDIR}/${PN}-4.8.1.1-fix_ltr.patch" |
105 | epatch "${FILESDIR}/${PN}-49.1.1-bsd.patch" |
106 | } |
107 | |
108 | src_configure() { |
109 | econf \ |
110 | $(use_enable debug) \ |
111 | $(use_enable examples samples) \ |
112 | $(use_enable static-libs static) |
113 | } |
114 | |
115 | src_test() { |
116 | # INTLTEST_OPTS: intltest options |
117 | # -e: Exhaustive testing |
118 | # -l: Reporting of memory leaks |
119 | # -v: Increased verbosity |
120 | # IOTEST_OPTS: iotest options |
121 | # -e: Exhaustive testing |
122 | # -v: Increased verbosity |
123 | # CINTLTST_OPTS: cintltst options |
124 | # -e: Exhaustive testing |
125 | # -v: Increased verbosity |
126 | emake -j1 check |
127 | } |
128 | |
129 | src_install() { |
130 | emake DESTDIR="${D}" install |
131 | |
132 | dohtml ../readme.html |
133 | dodoc ../unicode-license.txt |
134 | if use doc; then |
135 | insinto /usr/share/doc/${PF}/html/api |
136 | doins -r "${WORKDIR}/docs/"* |
137 | fi |
138 | } |