diff options
author | Brian Evans <grknight@gentoo.org> | 2015-01-22 17:32:30 +0000 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2015-01-22 17:32:30 +0000 |
commit | 912d8995089301b16762b2ba563d862b3cd925ed (patch) | |
tree | f9f2c8e1160c3a471b09c1bdd063e9f94258428d /media-libs/ming/ming-0.4.5.ebuild | |
parent | Initial commit split from media-libs/ming (diff) | |
download | gentoo-2-912d8995089301b16762b2ba563d862b3cd925ed.tar.gz gentoo-2-912d8995089301b16762b2ba563d862b3cd925ed.tar.bz2 gentoo-2-912d8995089301b16762b2ba563d862b3cd925ed.zip |
Split the php extension into dev-php/ming-php due to how php ext configure needs the library to exist first
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key D1F781EFF9F4A3B6)
Diffstat (limited to 'media-libs/ming/ming-0.4.5.ebuild')
-rw-r--r-- | media-libs/ming/ming-0.4.5.ebuild | 28 |
1 files changed, 6 insertions, 22 deletions
diff --git a/media-libs/ming/ming-0.4.5.ebuild b/media-libs/ming/ming-0.4.5.ebuild index ad9db81a623f..262a5031df09 100644 --- a/media-libs/ming/ming-0.4.5.ebuild +++ b/media-libs/ming/ming-0.4.5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ming-0.4.5.ebuild,v 1.6 2014/11/26 00:09:28 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ming-0.4.5.ebuild,v 1.7 2015/01/22 17:32:30 grknight Exp $ EAPI=5 @@ -9,7 +9,7 @@ PHP_EXT_NAME=ming PHP_EXT_OPTIONAL_USE=php AUTOTOOLS_AUTORECONF=yes GENTOO_DEPEND_ON_PERL=no -inherit autotools-utils flag-o-matic multilib php-ext-source-r2 perl-module distutils-r1 +inherit autotools-utils flag-o-matic multilib perl-module distutils-r1 DESCRIPTION="An Open Source library for Flash movie generation" HOMEPAGE="http://ming.sourceforge.net/" @@ -30,6 +30,7 @@ RDEPEND="perl? ( dev-lang/perl:= ) DEPEND="${RDEPEND} sys-devel/flex virtual/yacc" +PDEPEND="php? ( dev-php/ming-php )" S=${WORKDIR}/${P/_/.} PATCHES=( "${FILESDIR}"/${P}-gif-error.patch ) @@ -48,12 +49,6 @@ src_prepare() { -e 's/ungif/gif/' \ py_ext/setup.py.in - if use php; then - cd "${S}/php_ext" - php-ext-source-r2_phpize - cd "${S}" - fi - sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.in || die autotools-utils_src_prepare @@ -64,8 +59,10 @@ src_configure() { replace-flags -O3 -O2 # build python via distutils calls, disable here + # php is done in dev-php/ming-php local myeconfargs=( --disable-python + --disable-php $(use_enable static-libs static) $(use_enable perl) ) @@ -84,14 +81,6 @@ src_compile() { autotools-utils_src_compile run_distutils ${FUNCNAME} - - if use php; then - cd "${S}"/php_ext - myconf="--disable-rpath - --disable-static - --with-ming" - php-ext-source-r2_src_compile - fi } src_install() { @@ -100,11 +89,6 @@ src_install() { autotools-utils_src_install INSTALLDIRS="vendor" perl_delete_localpod - - if use php; then - cd "${S}"/php_ext - php-ext-source-r2_src_install - fi } pkg_postinst() { |