Gentoo Archives: gentoo-commits

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.1.ebuild ChangeLog
Date: Sat, 07 Apr 2012 01:32:48
Message-Id: 20120407013233.C40772004B@flycatcher.gentoo.org
1 floppym 12/04/07 01:32:33
2
3 Modified: ChangeLog
4 Added: icu-49.1.1.ebuild
5 Log:
6 Version bump. Ebuild by Arfrever.
7
8 (Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.180 dev-libs/icu/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.180&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?rev=1.180&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/ChangeLog?r1=1.179&r2=1.180
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v
20 retrieving revision 1.179
21 retrieving revision 1.180
22 diff -u -r1.179 -r1.180
23 --- ChangeLog 1 Apr 2012 14:47:47 -0000 1.179
24 +++ ChangeLog 7 Apr 2012 01:32:33 -0000 1.180
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.179 2012/04/01 14:47:47 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.180 2012/04/07 01:32:33 floppym Exp $
30 +
31 +*icu-49.1.1 (07 Apr 2012)
32 +
33 + 07 Apr 2012; Mike Gilbert <floppym@g.o> +icu-49.1.1.ebuild:
34 + Version bump. Ebuild by Arfrever.
35
36 01 Apr 2012; Raúl Porcel <armin76@g.o> icu-4.8.1.1-r1.ebuild:
37 alpha/ia64/s390/sh/sparc stable wrt #405965
38
39
40
41 1.1 dev-libs/icu/icu-49.1.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-49.1.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/icu/icu-49.1.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: icu-49.1.1.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.1.ebuild,v 1.1 2012/04/07 01:32:33 floppym Exp $
51
52 EAPI="4"
53
54 inherit 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 ~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}/icu-4.8.1-fix_binformat_fonts.patch"
104 epatch "${FILESDIR}/icu-4.8.1.1-fix_ltr.patch"
105 }
106
107 src_configure() {
108 econf \
109 $(use_enable debug) \
110 $(use_enable examples samples) \
111 $(use_enable static-libs static)
112 }
113
114 src_test() {
115 # INTLTEST_OPTS: intltest options
116 # -e: Exhaustive testing
117 # -l: Reporting of memory leaks
118 # -v: Increased verbosity
119 # IOTEST_OPTS: iotest options
120 # -e: Exhaustive testing
121 # -v: Increased verbosity
122 # CINTLTST_OPTS: cintltst options
123 # -e: Exhaustive testing
124 # -v: Increased verbosity
125 emake -j1 check
126 }
127
128 src_install() {
129 emake DESTDIR="${D}" install
130
131 dohtml ../readme.html
132 dodoc ../unicode-license.txt
133 if use doc; then
134 insinto /usr/share/doc/${PF}/html/api
135 doins -r "${WORKDIR}/docs/"*
136 fi
137 }