From 721254b86a09bdedd5eefd0de7899c90ea2ead1a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 1 Jan 2018 20:42:22 +0000 Subject: gentoo resync : 01.01.2018 --- dev-php/ming-php/Manifest | 2 ++ dev-php/ming-php/ming-php-0.4.8.ebuild | 46 ++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 dev-php/ming-php/ming-php-0.4.8.ebuild (limited to 'dev-php/ming-php') diff --git a/dev-php/ming-php/Manifest b/dev-php/ming-php/Manifest index a5333f09e0fa..481b44682804 100644 --- a/dev-php/ming-php/Manifest +++ b/dev-php/ming-php/Manifest @@ -1,5 +1,7 @@ AUX ming-php-54.patch 17283 BLAKE2B 9508565a0663a359bed955ecedf502df8e7c3c67afed7a94723383ce0c7cb232752ae4ef420e32fc44b488bd8f3905ee1b71a83b13f18286ec5d3de987c6ee25 SHA512 4661cc5ac6abf8bbaaf12669379c8db011c27233e2e5625d2d18ed5dd969685f6446d0d08b0a162fecbaea5a91a62c799238385d02db4c414dde1ed6b3a88643 AUX php_ext-config.m4 2939 BLAKE2B cb3e65a0397b753fb6675425e3eaab0c68349b7d14f387160133312b96f5a8101cea87125d03eafbfdef7ede77b2a85dd0b32d428e6c78019a4a3d2c84f9cd05 SHA512 88e3eb6f42c38d66c050c3e6c956e239861b8c17ed7f7c4867be00b06c9b48b806af3254bd8fbd4c7349a4ff41981bfcb1c7256d671dc5b8bf6d0089d8bf62cc DIST ming-0_4_7.tar.gz 14903570 BLAKE2B 48e7b3c2b8a81fa63da18dd140064c572efe563eb621f33b4bc57cdcad8d6cb828e8f62fc63b47144389b0eefa5b571c47e39013ec2724611d20e74928275213 SHA512 232cf45daabd7b60203c9382aa6568455a42ddcd1bd60eec9bfe3f5e80376fcc9ff6304efbafca1ac8a504e2e167bc394e4902e0d067303d9582551461e09d3c +DIST ming-0_4_8.tar.gz 14908459 BLAKE2B df89beab98a7fbdcbefccad3a2fb013453405a7dba757131a61f06d9e40b7e1fe7beeadab42c113b12cff24b91cb1e76e9fabee0e1b4af58e2127eba13cc27bc SHA512 e395acde9119ad32f4cedd500bcceee70bdd563222a41dda899cc318d5e34eb580abc38ac39c6dec7821913a0a70d2f953fc81f52255b623e34f7c3aaafbc9c0 EBUILD ming-php-0.4.7.ebuild 1231 BLAKE2B a6e7452a57bfe682e650bb38da96c950ad82e43b92e66a44e7557f42403a4fec99ab97e7569c2beca6263bf42cd6b474326f5be6970cb30b19da67679a959e37 SHA512 dde2c500e8859bbe3cbef3d4f338a0aeac424236ba895801941657eeb9d8b8c87f00cda8248b6ac8860c02e5a6b53d814ead2ad40a92c993445e8ded75d9af2d +EBUILD ming-php-0.4.8.ebuild 1295 BLAKE2B 66de643ff97a52109dab4e8893e7f36d5b05cce40e271db574d762677352480c92460674a8fe604e263fc41d662c5157f168a2a88635de2ac54b760085770ae0 SHA512 05bb434a306c29dc34a1369bc3e0455012c8381c14196ebe58742aa8e0d76049a7f97632104bfeb719b307190f302fc01dd399a8c87d7cb97018cb4fb4a5dc7e MISC metadata.xml 475 BLAKE2B 3f1db2ece7aef5e9f24e7fc1b2649422102cacb521ba830ae36a7cb7683957bcb89366d980c305fb9ad2a7fee9ecb87176e934f6ba328a6a2039d36f9c3ca207 SHA512 f5586b50f459b96dd287bb1ee2d1a166cb8086584c76f5b5b68cf1d8271afe22903f77d8641aee3c2d68ffd2b41441aed5f641a303b6f43243d67d65d41748c4 diff --git a/dev-php/ming-php/ming-php-0.4.8.ebuild b/dev-php/ming-php/ming-php-0.4.8.ebuild new file mode 100644 index 000000000000..12bf8ee1dcc3 --- /dev/null +++ b/dev-php/ming-php/ming-php-0.4.8.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_EXT_NAME=ming +MY_P="${PHP_EXT_NAME}-${PV//./_}" +USE_PHP="php5-6 php7-0 php7-1 php7-2" +PHP_EXT_S="libming-${MY_P}/php_ext" +inherit flag-o-matic php-ext-source-r3 + +DESCRIPTION="PHP extension for the ming Flash movie generation library" +HOMEPAGE="http://ming.sourceforge.net/" +SRC_URI="https://github.com/libming/libming/archive/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND="media-libs/ming" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/libming-${MY_P}" +# Clear out near-empty README files which are not helpful to the user +DOCS=( ) + +src_prepare() { + local slot orig_s="${PHP_EXT_S}" + for slot in $(php_get_slots); do + cp "${FILESDIR}/php_ext-config.m4" "${WORKDIR}/${slot}/config.m4" || \ + die "Failed to copy config.m4 to target" + rm "${WORKDIR}/${slot}/Makefile.am" || die "Failed to remove Makefile.am for ${slot}" + php_init_slot_env ${slot} + eapply_user + php-ext-source-r3_phpize + done +} + +src_configure() { + # build is sensitive to -O3 (bug #297437) + replace-flags -O3 -O2 + + local PHP_EXT_EXTRA_ECONF="--with-ming=${S}" + php-ext-source-r3_src_configure +} -- cgit v1.2.3