From 850ea70324772bee54e632ae8cfd8b60fa3a2046 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 6 Sep 2019 09:21:36 +0200 Subject: dev-php/ming-php: Remove last-rited pkg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-php/ming-php/Manifest | 1 - dev-php/ming-php/files/php_ext-config.m4 | 112 ------------------------------- dev-php/ming-php/metadata.xml | 16 ----- dev-php/ming-php/ming-php-0.4.8.ebuild | 47 ------------- 4 files changed, 176 deletions(-) delete mode 100644 dev-php/ming-php/Manifest delete mode 100644 dev-php/ming-php/files/php_ext-config.m4 delete mode 100644 dev-php/ming-php/metadata.xml delete mode 100644 dev-php/ming-php/ming-php-0.4.8.ebuild (limited to 'dev-php') diff --git a/dev-php/ming-php/Manifest b/dev-php/ming-php/Manifest deleted file mode 100644 index 7bbefc2b77ed..000000000000 --- a/dev-php/ming-php/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ming-0_4_8.tar.gz 14908459 BLAKE2B df89beab98a7fbdcbefccad3a2fb013453405a7dba757131a61f06d9e40b7e1fe7beeadab42c113b12cff24b91cb1e76e9fabee0e1b4af58e2127eba13cc27bc SHA512 e395acde9119ad32f4cedd500bcceee70bdd563222a41dda899cc318d5e34eb580abc38ac39c6dec7821913a0a70d2f953fc81f52255b623e34f7c3aaafbc9c0 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 -#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 - ], [ -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 - ], [ -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 - ], [ -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 - ], [ -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 @@ - - - - - grknight@gentoo.org - Brian Evans - - - php-bugs@gentoo.org - PHP - - - ming - libming/libming - - 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 -} -- cgit v1.2.3-65-gdbad