From 34a838e32a5d8f7f4447f454c102d414999a665e Mon Sep 17 00:00:00 2001 From: Peter Alfredsen Date: Wed, 15 Oct 2008 12:34:14 +0000 Subject: Bump. Has a fix for bug 230507. (Portage version: 2.2_rc12/cvs/Linux 2.6.27-rc8 x86_64) --- media-libs/ming/ChangeLog | 8 ++- media-libs/ming/ming-0.4.0_rc1.ebuild | 120 --------------------------------- media-libs/ming/ming-0.4.0_rc2.ebuild | 123 ++++++++++++++++++++++++++++++++++ 3 files changed, 130 insertions(+), 121 deletions(-) delete mode 100644 media-libs/ming/ming-0.4.0_rc1.ebuild create mode 100644 media-libs/ming/ming-0.4.0_rc2.ebuild (limited to 'media-libs/ming') diff --git a/media-libs/ming/ChangeLog b/media-libs/ming/ChangeLog index e7d58efcc131..72405ff27384 100644 --- a/media-libs/ming/ChangeLog +++ b/media-libs/ming/ChangeLog @@ -1,6 +1,12 @@ # 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.48 2008/08/09 16:47:42 coldwind Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ChangeLog,v 1.49 2008/10/15 12:34:14 loki_val Exp $ + +*ming-0.4.0_rc2 (15 Oct 2008) + + 15 Oct 2008; Peter Alfredsen -ming-0.4.0_rc1.ebuild, + +ming-0.4.0_rc2.ebuild: + Bump. Has a fix for bug 230507. 09 Aug 2008; Santiago M. Mola ming-0.3.0-r1.ebuild: amd64 stable wrt bug #222319 diff --git a/media-libs/ming/ming-0.4.0_rc1.ebuild b/media-libs/ming/ming-0.4.0_rc1.ebuild deleted file mode 100644 index 2894362cac7a..000000000000 --- a/media-libs/ming/ming-0.4.0_rc1.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# 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_rc1.ebuild,v 1.2 2008/07/27 21:57:38 loki_val Exp $ - -EAPI=1 - -PHP_EXT_NAME=ming - -inherit eutils autotools 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 installed onto a system -#which does not presently have any version of ming installed. - -RESTRICT="test" - -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 - - rm macros/libtool.m4 - eautoreconf -} - -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 - python_version - ebegin "Compiling ming.py" - python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/ming.py - 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 -} diff --git a/media-libs/ming/ming-0.4.0_rc2.ebuild b/media-libs/ming/ming-0.4.0_rc2.ebuild new file mode 100644 index 000000000000..5b65ca536fd1 --- /dev/null +++ b/media-libs/ming/ming-0.4.0_rc2.ebuild @@ -0,0 +1,123 @@ +# 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_rc2.ebuild,v 1.1 2008/10/15 12:34:14 loki_val Exp $ + +EAPI=1 + +PHP_EXT_NAME=ming + +inherit eutils autotools multilib php-ext-source-r1 perl-module distutils python + +MY_PV=0.4.2 +MY_P=${PN}-${MY_PV} + +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/${MY_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}/${MY_P/_/.} + +#Tests only work when the package is tested on a system +#which does not presently have any version of ming installed. + +RESTRICT="test" + +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 + + rm macros/libtool.m4 + eautoreconf +} + +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 + python_version + ebegin "Compiling ming.py" + python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/ming.py + 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 +} -- cgit v1.2.3-65-gdbad