1 |
commit: 84dbf9fc45fd6e6eb486e844f659da9cb2f50a8a |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 1 03:58:26 2018 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 1 03:58:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84dbf9fc |
7 |
|
8 |
dev-php/ming-php: Version bump for 0.4.8 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
dev-php/ming-php/Manifest | 1 + |
13 |
dev-php/ming-php/ming-php-0.4.8.ebuild | 46 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-php/ming-php/Manifest b/dev-php/ming-php/Manifest |
17 |
index 0273343eeea..4b76d3849a3 100644 |
18 |
--- a/dev-php/ming-php/Manifest |
19 |
+++ b/dev-php/ming-php/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ming-0_4_7.tar.gz 14903570 BLAKE2B 48e7b3c2b8a81fa63da18dd140064c572efe563eb621f33b4bc57cdcad8d6cb828e8f62fc63b47144389b0eefa5b571c47e39013ec2724611d20e74928275213 SHA512 232cf45daabd7b60203c9382aa6568455a42ddcd1bd60eec9bfe3f5e80376fcc9ff6304efbafca1ac8a504e2e167bc394e4902e0d067303d9582551461e09d3c |
22 |
+DIST ming-0_4_8.tar.gz 14908459 BLAKE2B df89beab98a7fbdcbefccad3a2fb013453405a7dba757131a61f06d9e40b7e1fe7beeadab42c113b12cff24b91cb1e76e9fabee0e1b4af58e2127eba13cc27bc SHA512 e395acde9119ad32f4cedd500bcceee70bdd563222a41dda899cc318d5e34eb580abc38ac39c6dec7821913a0a70d2f953fc81f52255b623e34f7c3aaafbc9c0 |
23 |
|
24 |
diff --git a/dev-php/ming-php/ming-php-0.4.8.ebuild b/dev-php/ming-php/ming-php-0.4.8.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..12bf8ee1dcc |
27 |
--- /dev/null |
28 |
+++ b/dev-php/ming-php/ming-php-0.4.8.ebuild |
29 |
@@ -0,0 +1,46 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PHP_EXT_NAME=ming |
36 |
+MY_P="${PHP_EXT_NAME}-${PV//./_}" |
37 |
+USE_PHP="php5-6 php7-0 php7-1 php7-2" |
38 |
+PHP_EXT_S="libming-${MY_P}/php_ext" |
39 |
+inherit flag-o-matic php-ext-source-r3 |
40 |
+ |
41 |
+DESCRIPTION="PHP extension for the ming Flash movie generation library" |
42 |
+HOMEPAGE="http://ming.sourceforge.net/" |
43 |
+SRC_URI="https://github.com/libming/libming/archive/${MY_P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="LGPL-2.1" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
48 |
+IUSE="" |
49 |
+ |
50 |
+RDEPEND="media-libs/ming" |
51 |
+DEPEND="${RDEPEND}" |
52 |
+ |
53 |
+S="${WORKDIR}/libming-${MY_P}" |
54 |
+# Clear out near-empty README files which are not helpful to the user |
55 |
+DOCS=( ) |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ local slot orig_s="${PHP_EXT_S}" |
59 |
+ for slot in $(php_get_slots); do |
60 |
+ cp "${FILESDIR}/php_ext-config.m4" "${WORKDIR}/${slot}/config.m4" || \ |
61 |
+ die "Failed to copy config.m4 to target" |
62 |
+ rm "${WORKDIR}/${slot}/Makefile.am" || die "Failed to remove Makefile.am for ${slot}" |
63 |
+ php_init_slot_env ${slot} |
64 |
+ eapply_user |
65 |
+ php-ext-source-r3_phpize |
66 |
+ done |
67 |
+} |
68 |
+ |
69 |
+src_configure() { |
70 |
+ # build is sensitive to -O3 (bug #297437) |
71 |
+ replace-flags -O3 -O2 |
72 |
+ |
73 |
+ local PHP_EXT_EXTRA_ECONF="--with-ming=${S}" |
74 |
+ php-ext-source-r3_src_configure |
75 |
+} |