From: | "Naohiro Aota (naota)" <naota@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-i18n/zinnia: zinnia-0.06-r3.ebuild ChangeLog |
Date: | Sun, 05 Jan 2014 14:01:41 |
Message-Id: | 20140105140135.3E8182004C@flycatcher.gentoo.org |
1 | naota 14/01/05 14:01:35 |
2 | |
3 | Modified: ChangeLog |
4 | Added: zinnia-0.06-r3.ebuild |
5 | Log: |
6 | Drop *.a files; Rewrite using autotools-utils.eclass #483248 |
7 | |
8 | (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key F8551514) |
9 | |
10 | Revision Changes Path |
11 | 1.9 app-i18n/zinnia/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/zinnia/ChangeLog?rev=1.9&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/zinnia/ChangeLog?rev=1.9&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/zinnia/ChangeLog?r1=1.8&r2=1.9 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-i18n/zinnia/ChangeLog,v |
20 | retrieving revision 1.8 |
21 | retrieving revision 1.9 |
22 | diff -u -r1.8 -r1.9 |
23 | --- ChangeLog 10 Sep 2013 08:31:38 -0000 1.8 |
24 | +++ ChangeLog 5 Jan 2014 14:01:35 -0000 1.9 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for app-i18n/zinnia |
27 | -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-i18n/zinnia/ChangeLog,v 1.8 2013/09/10 08:31:38 idella4 Exp $ |
29 | +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/app-i18n/zinnia/ChangeLog,v 1.9 2014/01/05 14:01:35 naota Exp $ |
31 | + |
32 | +*zinnia-0.06-r3 (05 Jan 2014) |
33 | + |
34 | + 05 Jan 2014; Naohiro Aota <naota@g.o> +zinnia-0.06-r3.ebuild: |
35 | + Drop *.a files; Rewrite using autotools-utils.eclass #483248 |
36 | |
37 | *zinnia-0.06-r2 (10 Sep 2013) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 app-i18n/zinnia/zinnia-0.06-r3.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/zinnia/zinnia-0.06-r3.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/zinnia/zinnia-0.06-r3.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: zinnia-0.06-r3.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2014 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/app-i18n/zinnia/zinnia-0.06-r3.ebuild,v 1.1 2014/01/05 14:01:35 naota Exp $ |
52 | |
53 | EAPI=5 |
54 | PERL_EXPORT_PHASE_FUNCTIONS=no |
55 | inherit perl-module eutils flag-o-matic toolchain-funcs autotools-utils |
56 | |
57 | DESCRIPTION="Online hand recognition system with machine learning" |
58 | HOMEPAGE="http://zinnia.sourceforge.net/" |
59 | SRC_URI="mirror://sourceforge/zinnia/${P}.tar.gz" |
60 | |
61 | LICENSE="BSD" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~x86" |
64 | # Package warrants IUSE doc |
65 | IUSE="perl static-libs" |
66 | DOCS=( AUTHORS ChangeLog NEWS README ) |
67 | PATCHES=( |
68 | "${FILESDIR}/${P}-ricedown.patch" |
69 | "${FILESDIR}/${P}-perl.patch" |
70 | ) |
71 | AUTOTOOLS_AUTORECONF=yes |
72 | |
73 | src_prepare() { |
74 | autotools-utils_src_prepare |
75 | if use perl ; then |
76 | pushd "${S}/perl" >/dev/null |
77 | PATCHES=( ) perl-module_src_prepare |
78 | popd >/dev/null |
79 | fi |
80 | } |
81 | |
82 | src_compile() { |
83 | autotools-utils_src_compile |
84 | if use perl ; then |
85 | pushd "${S}"/perl >/dev/null |
86 | |
87 | # We need to run this here as otherwise it won't pick up the |
88 | # just-built -lzinnia and cause the extension to have |
89 | # undefined symbols. |
90 | perl-module_src_configure |
91 | |
92 | append-cppflags "-I${S}" |
93 | append-ldflags "-L${S}/.libs" |
94 | |
95 | emake \ |
96 | LDDLFLAGS="-shared" \ |
97 | OTHERLDFLAGS="${LDFLAGS}" \ |
98 | CC="$(tc-getCXX)" LD="$(tc-getCXX)" \ |
99 | OPTIMIZE="${CPPFLAGS} ${CXXFLAGS}" |
100 | popd >/dev/null |
101 | fi |
102 | } |
103 | |
104 | src_install() { |
105 | autotools-utils_src_install |
106 | |
107 | if use perl ; then |
108 | pushd "${S}/perl" >/dev/null |
109 | perl-module_src_install |
110 | popd >/dev/null |
111 | fi |
112 | |
113 | # Curiously ChangeLog & NEWS are left uncompressed |
114 | dohtml doc/*.html doc/*.css |
115 | } |