diff options
author | Matti Bickel <mabi@gentoo.org> | 2010-04-20 22:46:52 +0000 |
---|---|---|
committer | Matti Bickel <mabi@gentoo.org> | 2010-04-20 22:46:52 +0000 |
commit | eeccb72054a33feb31dde7c5cfb86928f25d1702 (patch) | |
tree | ddfaf7bb43be11aad15d21bb1d25f52f927d47c6 /media-libs/ming | |
parent | And forgotten Manifest (diff) | |
download | historical-eeccb72054a33feb31dde7c5cfb86928f25d1702.tar.gz historical-eeccb72054a33feb31dde7c5cfb86928f25d1702.tar.bz2 historical-eeccb72054a33feb31dde7c5cfb86928f25d1702.zip |
bump
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'media-libs/ming')
-rw-r--r-- | media-libs/ming/ChangeLog | 19 | ||||
-rw-r--r-- | media-libs/ming/Manifest | 4 | ||||
-rw-r--r-- | media-libs/ming/ming-0.4.3.ebuild | 119 |
3 files changed, 134 insertions, 8 deletions
diff --git a/media-libs/ming/ChangeLog b/media-libs/ming/ChangeLog index 6e78213c2e93..c22cd2d2ae41 100644 --- a/media-libs/ming/ChangeLog +++ b/media-libs/ming/ChangeLog @@ -1,12 +1,17 @@ # ChangeLog for media-libs/ming # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.61 2010/03/14 14:44:47 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.62 2010/04/20 22:46:52 mabi Exp $ + +*ming-0.4.3 (20 Apr 2010) + + 20 Apr 2010; <mabi@gentoo.org> +ming-0.4.3.ebuild: + new upstream version; also fixes bug #296894, bug #297437 14 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> +files/ming-0.4.x-libpng14.patch, ming-0.4.0_rc2.ebuild: Fix building with libpng14 wrt #309309 by Peter Alfredsen. - 31 Jan 2010; Raúl Porcel <armin76@gentoo.org> ming-0.4.0_rc2.ebuild: + 31 Jan 2010; Raúl Porcel <armin76@gentoo.org> ming-0.4.0_rc2.ebuild: ia64/s390/sh/sparc stable wrt #297476 23 Jan 2010; Tobias Klausmann <klausman@gentoo.org> ming-0.4.0_rc2.ebuild: @@ -57,7 +62,7 @@ 29 Jul 2008; Jeroen Roovers <jer@gentoo.org> ming-0.3.0-r1.ebuild: Stable for HPPA (bug #222319). - 28 Jul 2008; Raúl Porcel <armin76@gentoo.org> ming-0.3.0-r1.ebuild: + 28 Jul 2008; Raúl Porcel <armin76@gentoo.org> ming-0.3.0-r1.ebuild: alpha/ia64/x86 stable wrt #222319 28 Jul 2008; Ferris McCormick <fmccor@gentoo.org> ming-0.3.0-r1.ebuild: @@ -113,10 +118,10 @@ 14 Nov 2007; Jeroen Roovers <jer@gentoo.org> ming-0.2a-r3.ebuild: Stable for HPPA (bug #198582). - 11 Nov 2007; Raúl Porcel <armin76@gentoo.org> ming-0.2a-r3.ebuild: + 11 Nov 2007; Raúl Porcel <armin76@gentoo.org> ming-0.2a-r3.ebuild: alpha/ia64/sparc stable wrt #198582 - 11 Nov 2007; Dawid Węgliński <cla@gentoo.org> ming-0.2a-r3.ebuild: + 11 Nov 2007; Dawid WÄgliÅski <cla@gentoo.org> ming-0.2a-r3.ebuild: Stable on x86 (bug #198582) 10 Nov 2007; Markus Rothe <corsair@gentoo.org> ming-0.2a-r3.ebuild: @@ -147,7 +152,7 @@ 20 Aug 2006; Stephanie Lockwood-Childs <wormo@gentoo.org> ming-0.3.0.ebuild: applying java patch needs to be conditional on java useflag (Bug #144548) - 20 Aug 2006; Bryan Østergaard <kloeri@gentoo.org> ming-0.3.0.ebuild: + 20 Aug 2006; Bryan Ãstergaard <kloeri@gentoo.org> ming-0.3.0.ebuild: Fix python dependency. *ming-0.3.0 (22 Aug 2006) @@ -164,7 +169,7 @@ Bug #123728, fix python module linking brokenness. Also fix QA issue of missing SONAME. - 07 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> +metadata.xml, + 07 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> +metadata.xml, ming-0.2a.ebuild, ming-0.2a-r1.ebuild: Drop virtual/libc dependency. Add maintainer-needed metadata. diff --git a/media-libs/ming/Manifest b/media-libs/ming/Manifest index 14ed9a915559..0d241dc114a6 100644 --- a/media-libs/ming/Manifest +++ b/media-libs/ming/Manifest @@ -6,10 +6,12 @@ AUX ming-0.3.0--as-needed.patch 7840 RMD160 6104616ba1ab6cecf824d3167e4455bad7d6 AUX ming-0.4.x-libpng14.patch 539 RMD160 2bf1b3204ec8cfae1a084c846b3179b84f2670d9 SHA1 63ec02405840056876f25961d6f69a3f289b3e35 SHA256 bd8b84ca82228e57832aaae6cb4058e0c52981bbf12912fd9093bd64c6ebe727 DIST ming-0.2a.tgz 316447 RMD160 2dc888ca8ffda1e219002081973de8855b3faf61 SHA1 9f8b4d9afcee51351b326e6f072352cc8ac013f5 SHA256 b986908e72228574efcc7d4a196ae4edf9a276399a1ada6aaf66aafe6142e744 DIST ming-0.4.2.tar.bz2 14482816 RMD160 84386bcece2b77658f66bce64906f9484cdcd247 SHA1 5e9ac6607ae6f03c2957f7c27b7c593c8b2f625d SHA256 b8f599ea8b5cb5051a558c3cdffe5ac1badf8331e574f92d3c0f12fe25e9ddfb +DIST ming-0.4.3.tar.bz2 14098671 RMD160 38a495250c7f4ff3335ebd08df2984719a2f046b SHA1 e51a1c9de7efcd6b20f727a824cfbf323b6f5e6f SHA256 61480ef0bd911639ac0538bf59d4d5052a1380192d145e922720c33c40693bf0 DIST ming_0.3.0-13.diff.gz 44050 RMD160 391c3ebeae85e93523c32d93cd99913cd405335d SHA1 61cf3e77b3589e27dc981cb5f1ce9b7e0a908127 SHA256 b510902798378a05d63eff457cad2a17cfb03aad878136354175fcc3b633f594 DIST ming_0.3.0.orig.tar.gz 369259 RMD160 d1484c8ed5442f82d3311fe6164beb5dc9ce2ad9 SHA1 e9231132cca3a6e46d8d7988a490871c5c3fa112 SHA256 1eec7136f2b8548476f79335e2dc9cea78f31a0c09a1cccd07782ee4d74959d9 EBUILD ming-0.2a.ebuild 1293 RMD160 619c26d4cedd0f9e062bb254439f634cd0933874 SHA1 6ddea2de2db5bea7463c1d2452a71888361358e4 SHA256 e57465bb88206976f6a3d5ff47230bdf1230d17e21f684f88bf67c0d39e08ce7 EBUILD ming-0.3.0-r1.ebuild 3029 RMD160 c418cecf4606f9dc6f45fabfb20a67e40d7872b6 SHA1 e7b8dbe4d40fd7c3429d173853d30e6671a42a8c SHA256 c28729e015182580230a84df67f7c633005186d972f3372e1451642ea84c5d3b EBUILD ming-0.4.0_rc2.ebuild 2446 RMD160 6b1aa265865f7b651274a75b7169d7b471340353 SHA1 54e114276899b66df07d7fbdaece111ef7ed4185 SHA256 719c5518613baccfaedff17359c10db74667e5543fe075411505dc4a168570b5 -MISC ChangeLog 7995 RMD160 59b0e78d70544f0ebf4a01fc65e6707a8b199d37 SHA1 09e18f09dc9964a2c46e794c7e719e3768290638 SHA256 5add2faad3eb45bd1a4d2e5310470448a83a0da2deeeebe658f2376a61adaf13 +EBUILD ming-0.4.3.ebuild 2514 RMD160 f66f9d3eeeee6cb1bdaed6fa4ec3b0cae86454c5 SHA1 9622e8524629c6cba814c97bf50edc38034976da SHA256 585221713935903167dac7caff4a30ae0c1842b36426e77ebf5d92379cad1e00 +MISC ChangeLog 8145 RMD160 b840b50337058f565561ac968c403fe2c8463656 SHA1 4ad3d63be3e30181131211870d962aee26a36725 SHA256 3e857f862297b35e345dac6de449e8b0e039768cc1cf8e9e993f7e58d3b11589 MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 diff --git a/media-libs/ming/ming-0.4.3.ebuild b/media-libs/ming/ming-0.4.3.ebuild new file mode 100644 index 000000000000..bcf221a518d7 --- /dev/null +++ b/media-libs/ming/ming-0.4.3.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ming-0.4.3.ebuild,v 1.1 2010/04/20 22:46:52 mabi Exp $ + +EAPI=1 + +PHP_EXT_NAME=ming +PYTHON_DEPEND="python? 2" + +inherit eutils autotools flag-o-matic multilib php-ext-source-r1 perl-module distutils python + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +DESCRIPTION="An Open Source library for Flash movie generation." +HOMEPAGE="http://ming.sourceforge.net/" +SRC_URI="mirror://sourceforge/ming/${P}.tar.bz2" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="+perl +python php" +RDEPEND="perl? ( dev-lang/perl ) + python? ( virtual/python ) + media-libs/freetype + media-libs/libpng + media-libs/giflib + sys-libs/zlib + !media-libs/libswf" +DEPEND="${DEPEND} + sys-devel/flex" + +S=${WORKDIR}/${P/_/.} + +#Tests only work when the package is tested on a system +#which does not presently have any version of ming installed. +RESTRICT="test" +RESTRICT_PYTHON_ABIS="3" + +pkg_setup() { + use python && python_set_active_version 2 +} + +src_unpack() { + unpack ${A} + cd "${S}" + + #Let's get rid of the TEXTRELS, link dynamic. Use gif. + sed -i \ + -e 's/libming.a/libming.so/' \ + -e 's/lungif/lgif/' \ + perl_ext/Makefile.PL + sed -i \ + -e 's/ungif/gif/' \ + py_ext/setup.py.in + + if use php; then + cd "${S}/php_ext" + php-ext-source-r1_phpize + cd "${S}" + fi + + eautoreconf +} + +src_compile() { + # build is sensitive to -O3 (bug #297437) + replace-flags -O3 -O2 + + econf $(use_enable perl) \ + $(use_enable python) || die "econf failed" + emake -j1 DESTDIR="${D}" || die "emake failed" + + if use php; then + cd "${S}"/php_ext + myconf="--disable-rpath + --disable-static + --with-ming" + php-ext-source-r1_src_compile + fi +} + +src_test() { + make check || die "tests failed" +} + +src_install() { + make DESTDIR="${D}" INSTALLDIRS="vendor" install + + fixlocalpod + + #Get rid of the precompiled stuff, we generate it later. + rm -f $(find "${D}" -name '*.pyc') + + if use php; then + cd "${S}"/php_ext + php-ext-source-r1_src_install + fi +} + +pkg_postinst() { + use perl && perl-module_pkg_postinst + + if use python + then + ebegin "Compiling ming.py" + python_mod_compile $(python_get_sitedir)/ming.py + eend $? + + ebegin "Compiling mingc.py" + python_mod_compile $(python_get_sitedir)/mingc.py || die "mingc.py failed" + eend $? + fi +} + +pkg_prerm() { + use perl && perl-module_pkg_prerm +} + +pkg_postrm() { + use perl && perl-module_pkg_postrm + use python && distutils_pkg_postrm +} |