1 |
loki_val 08/06/09 07:32:08 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ming-0.3.0-r1.ebuild |
5 |
Removed: ming-0.3.0.ebuild |
6 |
Log: |
7 |
Revision bump to get this updated to something approaching acceptable state. Dropped java, added php use flags. |
8 |
(Portage version: 2.1.5.4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.35 media-libs/ming/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/ming/ChangeLog?rev=1.35&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/ming/ChangeLog?rev=1.35&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/ming/ChangeLog?r1=1.34&r2=1.35 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v |
20 |
retrieving revision 1.34 |
21 |
retrieving revision 1.35 |
22 |
diff -u -r1.34 -r1.35 |
23 |
--- ChangeLog 22 Nov 2007 19:06:31 -0000 1.34 |
24 |
+++ ChangeLog 9 Jun 2008 07:32:07 -0000 1.35 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for media-libs/ming |
27 |
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.34 2007/11/22 19:06:31 drac Exp $ |
29 |
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.35 2008/06/09 07:32:07 loki_val Exp $ |
31 |
+ |
32 |
+*ming-0.3.0-r1 (09 Jun 2008) |
33 |
+ |
34 |
+ 09 Jun 2008; Peter Alfredsen <loki_val@g.o> |
35 |
+ +files/ming-0.3.0--as-needed.patch, -files/ming-0.3.0-java-compiler.patch, |
36 |
+ -ming-0.3.0.ebuild, +ming-0.3.0-r1.ebuild: |
37 |
+ Revision bump to get this updated to something approaching acceptable |
38 |
+ state. Dropped java, added php use flags. |
39 |
|
40 |
22 Nov 2007; Samuli Suominen <drac@g.o> ming-0.2a-r3.ebuild: |
41 |
amd64 stable wrt #198582 |
42 |
|
43 |
|
44 |
|
45 |
1.1 media-libs/ming/ming-0.3.0-r1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/ming/ming-0.3.0-r1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/ming/ming-0.3.0-r1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: ming-0.3.0-r1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2008 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ming-0.3.0-r1.ebuild,v 1.1 2008/06/09 07:32:07 loki_val Exp $ |
55 |
|
56 |
EAPI=1 |
57 |
|
58 |
PHP_EXT_NAME=ming |
59 |
|
60 |
inherit eutils multilib autotools libtool perl-module distutils python php-ext-source-r1 |
61 |
|
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
63 |
DESCRIPTION="An Open Source library for Flash movie generation." |
64 |
HOMEPAGE="http://ming.sourceforge.net/" |
65 |
SRC_URI="mirror://debian/pool/main/m/ming/ming_0.3.0.orig.tar.gz |
66 |
mirror://debian/pool/main/m/ming/ming_0.3.0-13.diff.gz" |
67 |
LICENSE="LGPL-2.1" |
68 |
SLOT="0" |
69 |
IUSE="+perl +python php" |
70 |
RDEPEND="perl? ( dev-lang/perl ) |
71 |
python? ( virtual/python ) |
72 |
media-libs/freetype |
73 |
media-libs/libpng |
74 |
media-libs/giflib |
75 |
sys-libs/zlib |
76 |
!media-libs/libswf" |
77 |
DEPEND="${DEPEND} |
78 |
sys-devel/flex" |
79 |
|
80 |
pkg_setup() { |
81 |
if use perl |
82 |
then |
83 |
perl-module_pkg_setup |
84 |
fi |
85 |
} |
86 |
|
87 |
src_unpack() { |
88 |
unpack ${A} |
89 |
cd "${S}" |
90 |
epatch ../ming_0.3.0-13.diff |
91 |
epatch "${FILESDIR}"/${P}--as-needed.patch |
92 |
elibtoolize |
93 |
eautoreconf |
94 |
if use php |
95 |
then |
96 |
cd "${S}"/php_ext |
97 |
php-ext-source-r1_phpize |
98 |
fi |
99 |
} |
100 |
|
101 |
src_compile() { |
102 |
econf || die "econf failed" |
103 |
emake -j1 DESTDIR="${D}" || die "emake failed" |
104 |
|
105 |
if use perl |
106 |
then |
107 |
cd "${S}/perl_ext" |
108 |
perl-module_src_compile || "perl make failed" |
109 |
fi |
110 |
|
111 |
if use python |
112 |
then |
113 |
cd "${S}/py_ext" |
114 |
python_version |
115 |
distutils_src_compile || "python make failed" |
116 |
fi |
117 |
if use php |
118 |
then |
119 |
cd "${S}"/php_ext |
120 |
myconf="--disable-rpath |
121 |
--disable-static |
122 |
--with-ming" |
123 |
php-ext-source-r1_src_compile |
124 |
fi |
125 |
} |
126 |
|
127 |
pkg_preinst() { |
128 |
if use perl |
129 |
then |
130 |
cd "${S}/perl_ext" |
131 |
perl-module_pkg_preinst |
132 |
fi |
133 |
} |
134 |
|
135 |
src_install() { |
136 |
insopts -m0644 |
137 |
insinto /usr/include |
138 |
doins src/ming.h src/ming_config.h mingpp.h |
139 |
|
140 |
dolib libming.so libming.so.0 libming.so.${PV} libming.a || die "dolib failed" |
141 |
|
142 |
dodoc ChangeLog CREDITS HISTORY NEWS README TODO |
143 |
doman man/makeswf.1 |
144 |
|
145 |
cd "${S}"/util |
146 |
dobin listswf listswf_d swftoperl swftophp swftopython makeswf listaction listaction_d listfdb makefdb listjpeg \ |
147 |
raw2adpcm listmp3 gif2dbl gif2mask png2dbl png2swf ming-config dbl2png ttftofft || die "dobin failed" |
148 |
|
149 |
if use perl |
150 |
then |
151 |
cd "${S}"/perl_ext |
152 |
perl-module_src_install |
153 |
dodoc CREDITS README SUPPORT TODO |
154 |
fi |
155 |
|
156 |
if use python |
157 |
then |
158 |
cd "${S}"/py_ext |
159 |
distutils_src_install |
160 |
fi |
161 |
if use php |
162 |
then |
163 |
cd "${S}"/php_ext |
164 |
php-ext-source-r1_src_install |
165 |
fi |
166 |
} |
167 |
|
168 |
pkg_postinst() { |
169 |
if use perl |
170 |
then |
171 |
perl-module_pkg_postinst |
172 |
fi |
173 |
if use python |
174 |
then |
175 |
ebegin "Compiling ming.py" |
176 |
python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/ming.py || die "ming.py failed" |
177 |
eend $? |
178 |
ebegin "Compiling mingc.py" |
179 |
python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/mingc.py || die "mingc.py failed" |
180 |
eend $? |
181 |
fi |
182 |
} |
183 |
|
184 |
pkg_prerm() { |
185 |
if use perl |
186 |
then |
187 |
perl-module_pkg_prerm |
188 |
fi |
189 |
} |
190 |
|
191 |
pkg_postrm() { |
192 |
if use perl |
193 |
then |
194 |
perl-module_pkg_postrm |
195 |
fi |
196 |
if use python |
197 |
then |
198 |
distutils_pkg_postrm |
199 |
fi |
200 |
} |
201 |
|
202 |
|
203 |
|
204 |
|
205 |
-- |
206 |
gentoo-commits@l.g.o mailing list |