summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-06-25 17:25:37 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-06-25 17:25:37 +0000
commitf830b0a9aad772a248650c9c9d2b333a17646c6c (patch)
tree12ed25ad9a4221b1cc439304bd8013e0270c350a /media-libs/ming
parentStable on ppc64; bug #228961 (diff)
downloadhistorical-f830b0a9aad772a248650c9c9d2b333a17646c6c.tar.gz
historical-f830b0a9aad772a248650c9c9d2b333a17646c6c.tar.bz2
historical-f830b0a9aad772a248650c9c9d2b333a17646c6c.zip
Bump, solving 222321. This version radically improves Flash compilation. Dropped keywords for arm, mips, sh and s390 due to new swig dep, see bug 229423.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25.8 i686
Diffstat (limited to 'media-libs/ming')
-rw-r--r--media-libs/ming/ChangeLog10
-rw-r--r--media-libs/ming/Manifest4
-rw-r--r--media-libs/ming/ming-0.4.0_beta5.ebuild115
3 files changed, 127 insertions, 2 deletions
diff --git a/media-libs/ming/ChangeLog b/media-libs/ming/ChangeLog
index ae948a5f66d8..0c6313f28a1c 100644
--- a/media-libs/ming/ChangeLog
+++ b/media-libs/ming/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-libs/ming
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.35 2008/06/09 07:32:07 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.36 2008/06/25 17:25:37 loki_val Exp $
+
+*ming-0.4.0_beta5 (25 Jun 2008)
+
+ 25 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +ming-0.4.0_beta5.ebuild:
+ Bump, solving 222321. This version radically improves Flash compilation.
+ Dropped keywords for arm, mips, sh and s390 due to new swig dep, see bug
+ 229423.
*ming-0.3.0-r1 (09 Jun 2008)
diff --git a/media-libs/ming/Manifest b/media-libs/ming/Manifest
index d52e6c1a61f3..611ade8c455d 100644
--- a/media-libs/ming/Manifest
+++ b/media-libs/ming/Manifest
@@ -4,10 +4,12 @@ AUX ming-0.2a-linking.patch 1115 RMD160 4857939ffbb2fd852f866e5135ac762d9d8a383a
AUX ming-0.2a-make.patch 2243 RMD160 658072052ecc9c33f693f191419b2ecf90ad6815 SHA1 34059195be138931509a44d0a3166c97b3bc40ed SHA256 ac6c74ca729e4678e5dc7cee245bef0d33568e8cb063fdc65d81399a1fb62d84
AUX ming-0.3.0--as-needed.patch 7840 RMD160 6104616ba1ab6cecf824d3167e4455bad7d633a8 SHA1 dfb11d85fba618779d2c8e5e50565edb96d50e0c SHA256 336c3ceeb7a5e9de4e5a97ac544af1d65376ca8007fddbed4d77f6f715a9a068
DIST ming-0.2a.tgz 316447 RMD160 2dc888ca8ffda1e219002081973de8855b3faf61 SHA1 9f8b4d9afcee51351b326e6f072352cc8ac013f5 SHA256 b986908e72228574efcc7d4a196ae4edf9a276399a1ada6aaf66aafe6142e744
+DIST ming-0.4.0.beta5.tar.bz2 9091831 RMD160 11ebba6cf8cecb374a7e36b04543520047dbb14d SHA1 253c1dabc8418919c253aec22ccc0eed33dcc0fa SHA256 c2a6cca736c34e34739ef117c915a09d0df601694420c577d3ecdf98d3be0f88
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-r3.ebuild 2793 RMD160 92aff3879884c2abc88d68a48023b2bd0ea93770 SHA1 f11d1ac62f8e3b08dd5dc14120b2511427af7721 SHA256 158c17c81faec3f3949d8dd3f3c8a4015e41c4f2fdac89cac52897e6977e17a9
EBUILD ming-0.2a.ebuild 1289 RMD160 094a3f91eee05e49aeeae13a54c4287bafbbfb8a SHA1 550c3808962dbdc3aec9ce1c89d769ca2cbb5a9b SHA256 f793a025fdd657f1b0eed2bcb6c67e32f745c574dd58c0895270e3cf6f15dfd4
EBUILD ming-0.3.0-r1.ebuild 3012 RMD160 73fadc1d693d61b722ae8fb0cac352cdd5c243e7 SHA1 71fb70d826527e5fde42830cf8e7785f8ea7d2bb SHA256 8421b73e2076f9bb349588d0094ab943394765e86d97da9686dd53b3146fa29e
-MISC ChangeLog 4592 RMD160 d298781400cd3f6746cc0f6e09fbd9c5effc2218 SHA1 8f4b4566d52e32c77941d419fc58716916409aeb SHA256 8e23cacea32473078fb7a45123dde063a3e12313947a78ed9bd3c5c349f49cc7
+EBUILD ming-0.4.0_beta5.ebuild 2339 RMD160 49a31b8e576d81cbddf2ac3c04d292e995b39db8 SHA1 244d9cb9fd67a170a2b2ea9ce1c9b8db8c9f4aeb SHA256 13c45cd37282938801f2f14c787aa7db02c7428eeb6fd45a54ee9107d5a6a87a
+MISC ChangeLog 4867 RMD160 93fe92db2f23b1bb9be9a473ee2c6490e9e2d566 SHA1 8d67a7ccb439dd42e3cc2a3bb9ec6c35da677be0 SHA256 f9c268701eb1ba3eacd01eca1eec102d30e3bbd1d6464e9b63fa926cad4dbebc
MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1
diff --git a/media-libs/ming/ming-0.4.0_beta5.ebuild b/media-libs/ming/ming-0.4.0_beta5.ebuild
new file mode 100644
index 000000000000..6c1f0102f5c6
--- /dev/null
+++ b/media-libs/ming/ming-0.4.0_beta5.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ming-0.4.0_beta5.ebuild,v 1.1 2008/06/25 17:25:37 loki_val Exp $
+
+EAPI=1
+
+PHP_EXT_NAME=ming
+
+inherit eutils multilib php-ext-source-r1 perl-module distutils python
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~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}
+ >=dev-lang/swig-1.3.35
+ sys-devel/flex"
+
+S=${WORKDIR}/${P/_/.}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ #We need to do this with Swig >=1.3.35, or the tests will
+ #fail for the python extension using gcc-4.3.
+ #probably some aliasing issue with gcc-4.3*
+
+ pushd py_ext &> /dev/null
+ swig -I.. -python ming.i
+ popd &> /dev/null
+
+ #Let's get rid of the TEXTRELS, link dynamic.
+ sed -i \
+ -e 's/libming.a/libming.so/' \
+ perl_ext/Makefile.PL
+}
+
+src_compile() {
+ 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}" 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() {
+ if use perl
+ then
+ perl-module_pkg_postinst
+ fi
+ if use python
+ then
+ ebegin "Compiling ming.py"
+ python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/ming.py || die "ming.py failed"
+ eend $?
+ ebegin "Compiling mingc.py"
+ python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/mingc.py || die "mingc.py failed"
+ eend $?
+ fi
+}
+
+pkg_prerm() {
+ if use perl
+ then
+ perl-module_pkg_prerm
+ fi
+}
+
+pkg_postrm() {
+ if use perl
+ then
+ perl-module_pkg_postrm
+ fi
+ if use python
+ then
+ distutils_pkg_postrm
+ fi
+}