1 |
jlec 12/06/05 16:28:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ming-0.4.4.ebuild |
5 |
Log: |
6 |
media-libs/ming: Version Bump, moved to EAPI=4 and autotools-utils.eclass, add fix for gcc-4.7, #417499 |
7 |
|
8 |
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.84 media-libs/ming/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/ming/ChangeLog?rev=1.84&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/ming/ChangeLog?rev=1.84&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/ming/ChangeLog?r1=1.83&r2=1.84 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v |
20 |
retrieving revision 1.83 |
21 |
retrieving revision 1.84 |
22 |
diff -u -r1.83 -r1.84 |
23 |
--- ChangeLog 9 May 2012 17:27:58 -0000 1.83 |
24 |
+++ ChangeLog 5 Jun 2012 16:28:12 -0000 1.84 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for media-libs/ming |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.83 2012/05/09 17:27:58 aballier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.84 2012/06/05 16:28:12 jlec Exp $ |
30 |
+ |
31 |
+*ming-0.4.4 (05 Jun 2012) |
32 |
+ |
33 |
+ 05 Jun 2012; Justin Lecher <jlec@g.o> +ming-0.4.4.ebuild, |
34 |
+ +files/ming-0.4.4-vasprintf.patch: |
35 |
+ Version Bump, moved to EAPI=4 and autotools-utils.eclass, add fix for |
36 |
+ gcc-4.7, #417499 |
37 |
|
38 |
09 May 2012; Alexis Ballier <aballier@g.o> ming-0.4.3-r2.ebuild: |
39 |
keyword ~amd64-fbsd |
40 |
|
41 |
|
42 |
|
43 |
1.1 media-libs/ming/ming-0.4.4.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/ming/ming-0.4.4.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/ming/ming-0.4.4.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: ming-0.4.4.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ming-0.4.4.ebuild,v 1.1 2012/06/05 16:28:13 jlec Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
|
56 |
PHP_EXT_NAME=ming |
57 |
PHP_EXT_OPTIONAL_USE=php |
58 |
PYTHON_DEPEND="python? 2" |
59 |
AUTOTOOLS_AUTORECONF=yes |
60 |
|
61 |
inherit autotools-utils flag-o-matic multilib php-ext-source-r2 perl-module python |
62 |
|
63 |
DESCRIPTION="An Open Source library for Flash movie generation." |
64 |
HOMEPAGE="http://ming.sourceforge.net/" |
65 |
SRC_URI="mirror://sourceforge/ming/${P}.tar.bz2" |
66 |
|
67 |
LICENSE="LGPL-2.1" |
68 |
SLOT="0" |
69 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
70 |
IUSE="+perl +python php static-libs" |
71 |
|
72 |
RDEPEND="perl? ( dev-lang/perl ) |
73 |
python? ( dev-lang/python ) |
74 |
media-libs/freetype |
75 |
media-libs/libpng |
76 |
media-libs/giflib |
77 |
sys-libs/zlib |
78 |
!media-libs/libswf" |
79 |
DEPEND="${DEPEND} |
80 |
sys-devel/flex |
81 |
virtual/yacc" |
82 |
|
83 |
S=${WORKDIR}/${P/_/.} |
84 |
|
85 |
# Tests only work when the package is tested on a system |
86 |
# which does not presently have any version of ming installed. |
87 |
RESTRICT="test" |
88 |
|
89 |
pkg_setup() { |
90 |
use python && python_set_active_version 2 && python_pkg_setup |
91 |
} |
92 |
|
93 |
PATCHES=( |
94 |
"${FILESDIR}"/${P}-vasprintf.patch |
95 |
"${FILESDIR}"/${PN}-0.4.3-perl-5.14.patch ) |
96 |
|
97 |
src_prepare() { |
98 |
# Let's get rid of the TEXTRELS, link dynamic. Use gif. |
99 |
sed -i \ |
100 |
-e 's/libming.a/libming.so/' \ |
101 |
-e 's/lungif/lgif/' \ |
102 |
perl_ext/Makefile.PL |
103 |
sed -i \ |
104 |
-e 's/ungif/gif/' \ |
105 |
py_ext/setup.py.in |
106 |
|
107 |
if use php; then |
108 |
cd "${S}/php_ext" |
109 |
php-ext-source-r2_phpize |
110 |
cd "${S}" |
111 |
fi |
112 |
|
113 |
autotools-utils_src_prepare |
114 |
} |
115 |
|
116 |
src_configure() { |
117 |
# build is sensitive to -O3 (bug #297437) |
118 |
replace-flags -O3 -O2 |
119 |
|
120 |
local myeconfargs=( |
121 |
$(use_enable static-libs static) |
122 |
$(use_enable perl) |
123 |
$(use_enable python) |
124 |
) |
125 |
autotools-utils_src_configure |
126 |
} |
127 |
|
128 |
src_compile() { |
129 |
autotools-utils_src_compile |
130 |
|
131 |
if use php; then |
132 |
cd "${S}"/php_ext |
133 |
myconf="--disable-rpath |
134 |
--disable-static |
135 |
--with-ming" |
136 |
php-ext-source-r2_src_compile |
137 |
fi |
138 |
} |
139 |
|
140 |
src_install() { |
141 |
autotools-utils_src_install INSTALLDIRS="vendor" |
142 |
|
143 |
fixlocalpod |
144 |
|
145 |
use python && python_clean_installation_image |
146 |
|
147 |
if use php; then |
148 |
cd "${S}"/php_ext |
149 |
php-ext-source-r2_src_install |
150 |
fi |
151 |
} |
152 |
|
153 |
pkg_postinst() { |
154 |
use perl && perl-module_pkg_postinst |
155 |
use python && python_mod_optimize ming.py mingc.py |
156 |
} |
157 |
|
158 |
pkg_prerm() { |
159 |
use perl && perl-module_pkg_prerm |
160 |
} |
161 |
|
162 |
pkg_postrm() { |
163 |
use perl && perl-module_pkg_postrm |
164 |
use python && python_mod_cleanup ming.py mingc.py |
165 |
} |