Gentoo Archives: gentoo-commits

From: "Matti Bickel (mabi)" <mabi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/ming: ChangeLog ming-0.4.3.ebuild
Date: Tue, 20 Apr 2010 22:46:58
Message-Id: 20100420224652.D7F152C04B@corvid.gentoo.org
1 mabi 10/04/20 22:46:52
2
3 Modified: ChangeLog
4 Added: ming-0.4.3.ebuild
5 Log:
6 bump
7 (Portage version: 2.1.8.3/cvs/Linux i686)
8
9 Revision Changes Path
10 1.62 media-libs/ming/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/ming/ChangeLog?rev=1.62&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/ming/ChangeLog?rev=1.62&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/ming/ChangeLog?r1=1.61&r2=1.62
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v
19 retrieving revision 1.61
20 retrieving revision 1.62
21 diff -u -r1.61 -r1.62
22 --- ChangeLog 14 Mar 2010 14:44:47 -0000 1.61
23 +++ ChangeLog 20 Apr 2010 22:46:52 -0000 1.62
24 @@ -1,12 +1,17 @@
25 # ChangeLog for media-libs/ming
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.61 2010/03/14 14:44:47 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.62 2010/04/20 22:46:52 mabi Exp $
29 +
30 +*ming-0.4.3 (20 Apr 2010)
31 +
32 + 20 Apr 2010; <mabi@g.o> +ming-0.4.3.ebuild:
33 + new upstream version; also fixes bug #296894, bug #297437
34
35 14 Mar 2010; Samuli Suominen <ssuominen@g.o>
36 +files/ming-0.4.x-libpng14.patch, ming-0.4.0_rc2.ebuild:
37 Fix building with libpng14 wrt #309309 by Peter Alfredsen.
38
39 - 31 Jan 2010; Raúl Porcel <armin76@g.o> ming-0.4.0_rc2.ebuild:
40 + 31 Jan 2010; Raúl Porcel <armin76@g.o> ming-0.4.0_rc2.ebuild:
41 ia64/s390/sh/sparc stable wrt #297476
42
43 23 Jan 2010; Tobias Klausmann <klausman@g.o> ming-0.4.0_rc2.ebuild:
44 @@ -57,7 +62,7 @@
45 29 Jul 2008; Jeroen Roovers <jer@g.o> ming-0.3.0-r1.ebuild:
46 Stable for HPPA (bug #222319).
47
48 - 28 Jul 2008; Raúl Porcel <armin76@g.o> ming-0.3.0-r1.ebuild:
49 + 28 Jul 2008; Raúl Porcel <armin76@g.o> ming-0.3.0-r1.ebuild:
50 alpha/ia64/x86 stable wrt #222319
51
52 28 Jul 2008; Ferris McCormick <fmccor@g.o> ming-0.3.0-r1.ebuild:
53 @@ -113,10 +118,10 @@
54 14 Nov 2007; Jeroen Roovers <jer@g.o> ming-0.2a-r3.ebuild:
55 Stable for HPPA (bug #198582).
56
57 - 11 Nov 2007; Raúl Porcel <armin76@g.o> ming-0.2a-r3.ebuild:
58 + 11 Nov 2007; Raúl Porcel <armin76@g.o> ming-0.2a-r3.ebuild:
59 alpha/ia64/sparc stable wrt #198582
60
61 - 11 Nov 2007; Dawid Węgliński <cla@g.o> ming-0.2a-r3.ebuild:
62 + 11 Nov 2007; Dawid Węgliński <cla@g.o> ming-0.2a-r3.ebuild:
63 Stable on x86 (bug #198582)
64
65 10 Nov 2007; Markus Rothe <corsair@g.o> ming-0.2a-r3.ebuild:
66 @@ -147,7 +152,7 @@
67 20 Aug 2006; Stephanie Lockwood-Childs <wormo@g.o> ming-0.3.0.ebuild:
68 applying java patch needs to be conditional on java useflag (Bug #144548)
69
70 - 20 Aug 2006; Bryan Østergaard <kloeri@g.o> ming-0.3.0.ebuild:
71 + 20 Aug 2006; Bryan Østergaard <kloeri@g.o> ming-0.3.0.ebuild:
72 Fix python dependency.
73
74 *ming-0.3.0 (22 Aug 2006)
75 @@ -164,7 +169,7 @@
76 Bug #123728, fix python module linking brokenness. Also fix QA issue of
77 missing SONAME.
78
79 - 07 Mar 2006; Diego Pettenò <flameeyes@g.o> +metadata.xml,
80 + 07 Mar 2006; Diego Pettenò <flameeyes@g.o> +metadata.xml,
81 ming-0.2a.ebuild, ming-0.2a-r1.ebuild:
82 Drop virtual/libc dependency. Add maintainer-needed metadata.
83
84
85
86
87 1.1 media-libs/ming/ming-0.4.3.ebuild
88
89 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/ming/ming-0.4.3.ebuild?rev=1.1&view=markup
90 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/ming/ming-0.4.3.ebuild?rev=1.1&content-type=text/plain
91
92 Index: ming-0.4.3.ebuild
93 ===================================================================
94 # Copyright 1999-2010 Gentoo Foundation
95 # Distributed under the terms of the GNU General Public License v2
96 # $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ming-0.4.3.ebuild,v 1.1 2010/04/20 22:46:52 mabi Exp $
97
98 EAPI=1
99
100 PHP_EXT_NAME=ming
101 PYTHON_DEPEND="python? 2"
102
103 inherit eutils autotools flag-o-matic multilib php-ext-source-r1 perl-module distutils python
104
105 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
106 DESCRIPTION="An Open Source library for Flash movie generation."
107 HOMEPAGE="http://ming.sourceforge.net/"
108 SRC_URI="mirror://sourceforge/ming/${P}.tar.bz2"
109 LICENSE="LGPL-2.1"
110 SLOT="0"
111 IUSE="+perl +python php"
112 RDEPEND="perl? ( dev-lang/perl )
113 python? ( virtual/python )
114 media-libs/freetype
115 media-libs/libpng
116 media-libs/giflib
117 sys-libs/zlib
118 !media-libs/libswf"
119 DEPEND="${DEPEND}
120 sys-devel/flex"
121
122 S=${WORKDIR}/${P/_/.}
123
124 #Tests only work when the package is tested on a system
125 #which does not presently have any version of ming installed.
126 RESTRICT="test"
127 RESTRICT_PYTHON_ABIS="3"
128
129 pkg_setup() {
130 use python && python_set_active_version 2
131 }
132
133 src_unpack() {
134 unpack ${A}
135 cd "${S}"
136
137 #Let's get rid of the TEXTRELS, link dynamic. Use gif.
138 sed -i \
139 -e 's/libming.a/libming.so/' \
140 -e 's/lungif/lgif/' \
141 perl_ext/Makefile.PL
142 sed -i \
143 -e 's/ungif/gif/' \
144 py_ext/setup.py.in
145
146 if use php; then
147 cd "${S}/php_ext"
148 php-ext-source-r1_phpize
149 cd "${S}"
150 fi
151
152 eautoreconf
153 }
154
155 src_compile() {
156 # build is sensitive to -O3 (bug #297437)
157 replace-flags -O3 -O2
158
159 econf $(use_enable perl) \
160 $(use_enable python) || die "econf failed"
161 emake -j1 DESTDIR="${D}" || die "emake failed"
162
163 if use php; then
164 cd "${S}"/php_ext
165 myconf="--disable-rpath
166 --disable-static
167 --with-ming"
168 php-ext-source-r1_src_compile
169 fi
170 }
171
172 src_test() {
173 make check || die "tests failed"
174 }
175
176 src_install() {
177 make DESTDIR="${D}" INSTALLDIRS="vendor" install
178
179 fixlocalpod
180
181 #Get rid of the precompiled stuff, we generate it later.
182 rm -f $(find "${D}" -name '*.pyc')
183
184 if use php; then
185 cd "${S}"/php_ext
186 php-ext-source-r1_src_install
187 fi
188 }
189
190 pkg_postinst() {
191 use perl && perl-module_pkg_postinst
192
193 if use python
194 then
195 ebegin "Compiling ming.py"
196 python_mod_compile $(python_get_sitedir)/ming.py
197 eend $?
198
199 ebegin "Compiling mingc.py"
200 python_mod_compile $(python_get_sitedir)/mingc.py || die "mingc.py failed"
201 eend $?
202 fi
203 }
204
205 pkg_prerm() {
206 use perl && perl-module_pkg_prerm
207 }
208
209 pkg_postrm() {
210 use perl && perl-module_pkg_postrm
211 use python && distutils_pkg_postrm
212 }