summaryrefslogtreecommitdiff
path: root/dev-php/ming-php
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-09-06 10:28:05 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-09-06 10:28:05 +0100
commitf1af93971b7490792d8541bc790e0d8c6d787059 (patch)
treea38046712bbc3a3844d77452d16c84e716caa3d4 /dev-php/ming-php
parentfc637fb28da700da71ec2064d65ca5a7a31b9c6c (diff)
gentoo resync : 06.08.2019
Diffstat (limited to 'dev-php/ming-php')
-rw-r--r--dev-php/ming-php/Manifest4
-rw-r--r--dev-php/ming-php/files/php_ext-config.m4112
-rw-r--r--dev-php/ming-php/metadata.xml16
-rw-r--r--dev-php/ming-php/ming-php-0.4.8.ebuild47
4 files changed, 0 insertions, 179 deletions
diff --git a/dev-php/ming-php/Manifest b/dev-php/ming-php/Manifest
deleted file mode 100644
index 86e926c9e6dc..000000000000
--- a/dev-php/ming-php/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX php_ext-config.m4 2939 BLAKE2B cb3e65a0397b753fb6675425e3eaab0c68349b7d14f387160133312b96f5a8101cea87125d03eafbfdef7ede77b2a85dd0b32d428e6c78019a4a3d2c84f9cd05 SHA512 88e3eb6f42c38d66c050c3e6c956e239861b8c17ed7f7c4867be00b06c9b48b806af3254bd8fbd4c7349a4ff41981bfcb1c7256d671dc5b8bf6d0089d8bf62cc
-DIST ming-0_4_8.tar.gz 14908459 BLAKE2B df89beab98a7fbdcbefccad3a2fb013453405a7dba757131a61f06d9e40b7e1fe7beeadab42c113b12cff24b91cb1e76e9fabee0e1b4af58e2127eba13cc27bc SHA512 e395acde9119ad32f4cedd500bcceee70bdd563222a41dda899cc318d5e34eb580abc38ac39c6dec7821913a0a70d2f953fc81f52255b623e34f7c3aaafbc9c0
-EBUILD ming-php-0.4.8.ebuild 1392 BLAKE2B fbb2e06a7b56daf644275d3bd1bb22a87ae9fb96ee74b4f66136221559b92b1853cf43a9091d6e7aa1617b7399226c71ac575814bf7d575d6e802f337abf39a3 SHA512 0374a19eb15598b2c9a2e753f3b1b59431de81a0137554bcef45d180e45df98646bafe134ab5fba5f4e2ea356f7783d5d03188636fb31e2593459aea8afba1c8
-MISC metadata.xml 475 BLAKE2B 3f1db2ece7aef5e9f24e7fc1b2649422102cacb521ba830ae36a7cb7683957bcb89366d980c305fb9ad2a7fee9ecb87176e934f6ba328a6a2039d36f9c3ca207 SHA512 f5586b50f459b96dd287bb1ee2d1a166cb8086584c76f5b5b68cf1d8271afe22903f77d8641aee3c2d68ffd2b41441aed5f641a303b6f43243d67d65d41748c4
diff --git a/dev-php/ming-php/files/php_ext-config.m4 b/dev-php/ming-php/files/php_ext-config.m4
deleted file mode 100644
index 9f4cd19790b0..000000000000
--- a/dev-php/ming-php/files/php_ext-config.m4
+++ /dev/null
@@ -1,112 +0,0 @@
-PHP_LIBDIR=lib
-
-PHP_ARG_WITH(ming, for MING support,
-[ --with-ming[=DIR] Include MING support])
-
-if test "$PHP_MING" != "no"; then
- AC_CHECK_LIB(m, sin)
-
- for i in $PHP_MING ../../src /usr/local /usr; do
- if test -f $i/$PHP_LIBDIR/libming.$SHLIB_SUFFIX_NAME || test -f $i/$PHP_LIBDIR/libming.a; then
- MING_DIR=$i
- break
- fi
- done
-
- if test -z "$MING_DIR"; then
- AC_MSG_ERROR(Please reinstall ming distribution. libming.(a|so) not found.)
- fi
-
- for i in ../../src $MING_DIR/include $MING_DIR/include/ming $MING_DIR/ming/include; do
- if test -f $i/ming.h; then
- MING_INC_DIR=$i
- fi
- done
-
- if test -z "$MING_INC_DIR"; then
- AC_MSG_ERROR(Please reinstall ming distribution. ming.h not found.)
- fi
-
- PHP_CHECK_LIBRARY(ming, Ming_useSWFVersion, [
- AC_DEFINE(HAVE_MING,1,[ ])
- ],[
- AC_MSG_ERROR([Ming library 0.2a or greater required.])
- ],[
- -L$MING_DIR/$PHP_LIBDIR
- ])
-
- PHP_ADD_INCLUDE($MING_INC_DIR)
- PHP_ADD_LIBRARY_WITH_PATH(ming, $MING_DIR/$PHP_LIBDIR, MING_SHARED_LIBADD)
-
- old_CPPFLAGS=$CPPFLAGS
- CPPFLAGS=-I$MING_INC_DIR
- AC_MSG_CHECKING([for destroySWFBlock])
- AC_TRY_RUN([
-#include "ming.h"
-int destroySWFBlock(int a, int b) {
- return a+b;
-}
-int main() {
- return destroySWFBlock(-1,1); /* returns 0 only if function is not yet defined */
-}
- ],[
- AC_MSG_RESULT([missing])
- ],[
- AC_DEFINE(HAVE_DESTROY_SWF_BLOCK,1,[ ])
- AC_MSG_RESULT([ok])
- ],[
- AC_MSG_RESULT([unknown])
- ])
-
-dnl Check Ming version (FIXME: if/when ming has some better way to detect the version..)
- AC_EGREP_CPP(yes, [
-#include <ming.h>
-#ifdef SWF_SOUND_COMPRESSION
-yes
-#endif
- ], [
- AC_DEFINE(HAVE_NEW_MING, 1, [ ])
- dnl FIXME: This is now unconditional..better check coming later.
- ])
-
- dnl Check if SWFVideoStream_setFrameMode() is available
- AC_TRY_COMPILE([
-#include <ming.h>
- ], [
-int main(void) { SWFVideoStream_setFrameMode(0, 0); return 0; }
- ], [
- AC_DEFINE(HAVE_SWFVIDEOSTREAM_SETFRAMEMODE, 1, [Have SWFVideoStream_setFrameMode(SWFVideoStream, int)])
- ], [])
-
- dnl Check if SWFVideoStream_nextFrame() is available
- AC_TRY_COMPILE([
-#include <ming.h>
- ], [
-int main(void) { SWFVideoStream_nextFrame(0); return 0; }
- ], [
- AC_DEFINE(HAVE_SWFVIDEOSTREAM_NEXTFRAME, 1, [Have SWFVideoStream_nextFrame(SWFVideoStream)])
- ], [])
-
- dnl Check if SWFVideoStream_seek() is available
- AC_TRY_COMPILE([
-#include <ming.h>
- ], [
-int main(void) { SWFVideoStream_seek(0, 0, 0); return 0; }
- ], [
- AC_DEFINE(HAVE_SWFVIDEOSTREAM_SEEK, 1, [Have SWFVideoStream_seek(SWFVideoStream, int frame, int whence)])
- ], [])
-
-
- dnl Check if SWFMovie_output() accepts the 4th parameter
- AC_TRY_COMPILE([
-#include <ming.h>
- ], [
-int main(void) { SWFMovie_output(NULL, NULL, NULL, 0); return 0; }
- ], [
- AC_DEFINE(HAVE_MING_MOVIE_LEVEL, 1, [ ])
- ], [])
- CPPFLAGS=$old_CPPFLAGS
-
- PHP_NEW_EXTENSION(ming, ming.c, $ext_shared)
- PHP_SUBST(MING_SHARED_LIBADD)
-fi
diff --git a/dev-php/ming-php/metadata.xml b/dev-php/ming-php/metadata.xml
deleted file mode 100644
index 50367ee577fa..000000000000
--- a/dev-php/ming-php/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>grknight@gentoo.org</email>
- <name>Brian Evans</name>
- </maintainer>
- <maintainer type="project">
- <email>php-bugs@gentoo.org</email>
- <name>PHP</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">ming</remote-id>
- <remote-id type="github">libming/libming</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-php/ming-php/ming-php-0.4.8.ebuild b/dev-php/ming-php/ming-php-0.4.8.ebuild
deleted file mode 100644
index 91e42cafa688..000000000000
--- a/dev-php/ming-php/ming-php-0.4.8.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# 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 php7-3"
-PHP_EXT_S="${WORKDIR}/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 libdir=$(get_libdir)
- cp "${FILESDIR}/php_ext-config.m4" "${PHP_EXT_S}/config.m4" || \
- die "Failed to copy config.m4 to target"
- rm "${PHP_EXT_S}/Makefile.am" || die "Failed to remove Makefile.am for ${slot}"
- # Fix for SYMYLINK_LIB=no
- if [[ ${libdir} != 'lib' ]] ; then
- sed -i -e "s~PHP_LIBDIR=lib~PHP_LIBDIR=${libdir}~" "${PHP_EXT_S}/config.m4" \
- || die "Failed to update lib directory"
- fi
- php-ext-source-r3_src_prepare
-}
-
-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
-}