From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 291EF138206 for ; Mon, 1 Jan 2018 03:58:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02097E087B; Mon, 1 Jan 2018 03:58:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4600E087B for ; Mon, 1 Jan 2018 03:58:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4FCE9335C0C for ; Mon, 1 Jan 2018 03:58:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D9949145 for ; Mon, 1 Jan 2018 03:58:42 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1514779106.84dbf9fc45fd6e6eb486e844f659da9cb2f50a8a.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/ming-php/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/ming-php/Manifest dev-php/ming-php/ming-php-0.4.8.ebuild X-VCS-Directories: dev-php/ming-php/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 84dbf9fc45fd6e6eb486e844f659da9cb2f50a8a X-VCS-Branch: master Date: Mon, 1 Jan 2018 03:58:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7eac6a33-7d56-4aee-80fe-f7cee3bf3e66 X-Archives-Hash: caefb089e06fb8c61167013580bcb1c1 commit: 84dbf9fc45fd6e6eb486e844f659da9cb2f50a8a Author: Brian Evans gentoo org> AuthorDate: Mon Jan 1 03:58:26 2018 +0000 Commit: Brian Evans gentoo org> CommitDate: Mon Jan 1 03:58:26 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84dbf9fc dev-php/ming-php: Version bump for 0.4.8 Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-php/ming-php/Manifest | 1 + dev-php/ming-php/ming-php-0.4.8.ebuild | 46 ++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-php/ming-php/Manifest b/dev-php/ming-php/Manifest index 0273343eeea..4b76d3849a3 100644 --- a/dev-php/ming-php/Manifest +++ b/dev-php/ming-php/Manifest @@ -1 +1,2 @@ DIST ming-0_4_7.tar.gz 14903570 BLAKE2B 48e7b3c2b8a81fa63da18dd140064c572efe563eb621f33b4bc57cdcad8d6cb828e8f62fc63b47144389b0eefa5b571c47e39013ec2724611d20e74928275213 SHA512 232cf45daabd7b60203c9382aa6568455a42ddcd1bd60eec9bfe3f5e80376fcc9ff6304efbafca1ac8a504e2e167bc394e4902e0d067303d9582551461e09d3c +DIST ming-0_4_8.tar.gz 14908459 BLAKE2B df89beab98a7fbdcbefccad3a2fb013453405a7dba757131a61f06d9e40b7e1fe7beeadab42c113b12cff24b91cb1e76e9fabee0e1b4af58e2127eba13cc27bc SHA512 e395acde9119ad32f4cedd500bcceee70bdd563222a41dda899cc318d5e34eb580abc38ac39c6dec7821913a0a70d2f953fc81f52255b623e34f7c3aaafbc9c0 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 00000000000..12bf8ee1dcc --- /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 +}