Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/icu: icu-4.8.1.1.ebuild ChangeLog
Date: Sun, 30 Oct 2011 12:03:04
Message-Id: 20111030120254.860C92004B@flycatcher.gentoo.org
1 hwoarang 11/10/30 12:02:54
2
3 Modified: ChangeLog
4 Added: icu-4.8.1.1.ebuild
5 Log:
6 Version bump. Ebuild by Arfrever.
7
8 (Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.165 dev-libs/icu/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.165&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.165&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?r1=1.164&r2=1.165
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v
20 retrieving revision 1.164
21 retrieving revision 1.165
22 diff -u -r1.164 -r1.165
23 --- ChangeLog 29 Oct 2011 19:21:24 -0000 1.164
24 +++ ChangeLog 30 Oct 2011 12:02:54 -0000 1.165
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/icu
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.164 2011/10/29 19:21:24 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.165 2011/10/30 12:02:54 hwoarang Exp $
30 +
31 +*icu-4.8.1.1 (30 Oct 2011)
32 +
33 + 30 Oct 2011; Markos Chandras <hwoarang@g.o> +icu-4.8.1.1.ebuild:
34 + Version bump. Ebuild by Arfrever.
35
36 29 Oct 2011; Markus Meier <maekke@g.o> icu-4.8.1-r2.ebuild:
37 arm stable, bug #387259
38
39
40
41 1.1 dev-libs/icu/icu-4.8.1.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-4.8.1.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-4.8.1.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: icu-4.8.1.1.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-4.8.1.1.ebuild,v 1.1 2011/10/30 12:02:54 hwoarang Exp $
51
52 EAPI="4"
53
54 inherit versionator
55
56 MAJOR_VERSION="$(get_version_component_range 1)"
57 MINOR_VERSION="$(get_version_component_range 2)"
58 if [[ "${PV}" =~ ^[[:digit:]]+\.[[:digit:]]+(_rc[[:digit:]]*)?$ ]]; then
59 MICRO_VERSION="0"
60 else
61 MICRO_VERSION="$(get_version_component_range 3)"
62 fi
63
64 DESCRIPTION="International Components for Unicode"
65 HOMEPAGE="http://www.icu-project.org/"
66
67 BASE_URI="http://download.icu-project.org/files/icu4c/${PV/_/}"
68 SRC_ARCHIVE="icu4c-${PV//./_}-src.tgz"
69 DOCS_ARCHIVE="icu4c-${PV//./_}-docs.zip"
70
71 SRC_URI="${BASE_URI}/${SRC_ARCHIVE}
72 doc? ( ${BASE_URI}/${DOCS_ARCHIVE} )"
73
74 LICENSE="BSD"
75 SLOT="0"
76 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
77 IUSE="debug doc examples static-libs"
78
79 DEPEND="doc? ( app-arch/unzip )"
80 RDEPEND=""
81
82 S="${WORKDIR}/${PN}/source"
83
84 QA_DT_NEEDED="/usr/lib.*/libicudata\.so\.${MAJOR_VERSION}${MINOR_VERSION}\.${MICRO_VERSION}.*"
85
86 src_unpack() {
87 unpack "${SRC_ARCHIVE}"
88 if use doc; then
89 mkdir docs
90 pushd docs > /dev/null
91 unpack "${DOCS_ARCHIVE}"
92 popd > /dev/null
93 fi
94 }
95
96 src_prepare() {
97 # Do not hardcode flags into icu-config.
98 # https://ssl.icu-project.org/trac/ticket/6102
99 local variable
100 for variable in CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do
101 sed -i -e "/^${variable} =.*/s:@${variable}@::" config/Makefile.inc.in || die "sed failed"
102 done
103
104 epatch "${FILESDIR}/${PN}-4.8.1-fix_binformat_fonts.patch"
105 epatch "${FILESDIR}/${PN}-4.8.1-fix_nan.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 }