summaryrefslogtreecommitdiff
path: root/multimedia/ming/Makefile
diff options
context:
space:
mode:
authorobache <obache>2010-04-09 01:33:43 +0000
committerobache <obache>2010-04-09 01:33:43 +0000
commit69def8379a0e2569d5d2223f5bb87b71f6bb1127 (patch)
treee27a280af35455e4b1f8fe86d5988c5ae2e201e2 /multimedia/ming/Makefile
parent2cb0b8de96ad4fc2f75d1cfa2c55c013c1a1773d (diff)
downloadpkgsrc-69def8379a0e2569d5d2223f5bb87b71f6bb1127.tar.gz
Update ming to 0.4.3.
0.4.3 - 2010-02-06 * Fixed SWFMatrix scaling if scale = 0.0 * Added delete and delete2 support in asm blocks * A lot of updates and improvements in the Perl interface * A lot of documentation (pod) was added to Perl files * Support for manually specifying MP3 delaySeek for SWFSound and SWFSoundStream * Fix sharing of fonts between static and dynamic texts * Fix support for movie-bound init actions 0.4.0.rc2 - 2008-09-17 * SWFVideoStream allow manual frame control * Autoconf perl version * MSVC compile fixes * removed src/test.c * Embedded video in movie clips * Seek in Embedded video streams * Gradient / Fill fixes * Sound / Soundstream fixes 0.4.0.rc1 - 2008-07-05 * Perl extension updates * Python extension updates * Do not force bgColor * Redirect SWF_warn and SWF_error to stderr * Propper checks for YACC and LEX * Complete Bitmap fillstyles * Font fixes * Actioncompiler fixes (delete, built-in functions, callFrame -> call()) * Fixed tag order issues * Ming defaults now to local-with-filesystem sandbox for SWF>=8 * Add support for init actions in makeswf * SWF8 / 9 support for fromswf / prebuiltclip * implements ASM op * ASFunction() * AS Class support * Removed SWFFontCharacter destructor from PHP wrapper * py_ext update * Class members * outputBlock() usese length and offset from SWF_Parserstruct * SWFDisplayItem_flush(): immediately write display items. * Removed ttftofft * Improved ButtonRecord handling * SWFSound_fromSoundStream() * Many improvements in decompiler and swftoXXX tools * C++ might throw a SWFException * Support for embedded Nellymoser sound * AS: in with-blocks legacy functions o not work * Compiles again with MSVC * simplified SWFSound usage with mp3 files * SWFSoundStream_getDuration replaces SWFSoundStream_getFrames() * perl_ext build changes (build out of tree) * API float->double transition * php_ext: SWFInput can wrap raw byte-streams * php_ext: API: external data can be passed as file-resource, SWFInput or filename * removed newSWFFont() as public function (causes various crashes) * removed new SWFFont(...) usage with browserfonts in script languages. Use SWFBrowserFont class. 0.4.0.beta5 - 2007-09-18 * Add support for targetPath asm opcode. * Flash 8: filter and blend modes for buttons * Flash 8: SWF_DEFINEMORPHSHAPE2 * Flash 8: SWFShape rendering hints * Flash 8: new gradient features * SWFFillStyle is reusable now and calculates propper GradientMatrix * setLeft/RightFillStyle adds fill to the shape if necessary * Handling fonts as shapes * Basic ttf font support * Typesafe SWFMovie_add / replace * Add Envelopes to SoundInstance * ABC (AS3) parser and output * Parse SWF_SERIALNUMBER * Parse SWF9 tags * SWF9: DefineBinaryData * SWF9: SymbolClass * SWF9: DefineSceneData 0.4.0.beta4 - 2007-03-27 * Fix handling of the special 'undefined' value. * Fix 'delete' syntax in action compiler. * makeswf now handles bitmaps. * Many improvements in decompiler. * Build scripts cleanup (including check rule). * Add support for 'extends' and proper 'push' asm opcodes in ActionScript compiler. * Generate DefineFunction2 when target version > 6. * Use GOTOFRAME, GOTOFRAME2 and GOTOLABEL when using gotoAndPlay() or gotoAndStop() w/out an object. * Video updates: added Flash8 codecs, generic flv parser * Soundstream: accept flv audio streams (mp3 only for now) * Flash 8: PlaceObject3 * Flash 8: Filter and Blendmode * Write proper Flash 8 files * Added movie control tags: FileAttributes, Metadata, ScriptLimits, ImportAssets2, SetTabIndex * Flash 8: ScalingGrid * Parser / listswf updates * PHP / Perl bindings update * Flash 8: DefineShape4 / Linestyle2 * SWFAction cleanup and API cleanup * SWF_warnOnce() * SWFInitAction 0.4.0.beta3 - 2006-12-10 * Fix version to not use dashes to make rpmbuild happy * autotool tcl extension * coalesce multiple ming.i files into a single file at the top * swig output updated for python & tcl * Misc decompiler fixes * makeswf now handles precompiled clips * Make sure the extension source show up in the dist tarballs * compiler fix for asm {} blocks 0.4.0-beta2 - 2006-11-21 * Preliminary support for building RPM packages * New PHP code that builds for PHP$ and PHP5 * Added missing SWFMovieClip class in PHP * New tool, ttftofft, for producing ming formast fonts * Allow output of SWF version 8 * Better SWF parser (utilities). * NEW function: SWFMovie_protectWithPassword() * preprocessor products of 'makeswf' are now named after output filename and frame# (ie: "out.swf.frame0.pp") * Automake-based build, for portability's sake (libtool) * Ming_setWarnFunction and Ming_setErrorFunction now return the previously-set value. * More documentation ! * Start of a test suite! * makeswf now provides an __SWF_VERSION__ macro for use in cross-version ActionScript code. * NEW functions: SWFDisplayItem_getMatrix(), SWFPosition_getMatrix(), SWFMatrix_getScaleX(), SWFMatrix_getRotate0(), SWFMatrix_getRotate1(), SWFMatrix_getScaleY(), SWFMatrix_getTranslateX(), SWFMatrix_getTranslateY(), SWFShape_moveScaledPenTo(). 0.3.1 - ? * Fixed libpng-less builds * Fixed default error handler to exit with a FAILURE code
Diffstat (limited to 'multimedia/ming/Makefile')
-rw-r--r--multimedia/ming/Makefile44
1 files changed, 30 insertions, 14 deletions
diff --git a/multimedia/ming/Makefile b/multimedia/ming/Makefile
index 43c6eb7234e..b226eb93ee6 100644
--- a/multimedia/ming/Makefile
+++ b/multimedia/ming/Makefile
@@ -1,26 +1,42 @@
-# $NetBSD: Makefile,v 1.6 2009/03/12 09:21:01 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2010/04/09 01:33:43 obache Exp $
#
-DISTNAME= ming-0.3.0
-PKGREVISION= 1
-CATEGORIES= multimedia
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ming/}
+.include "Makefile.common"
-MAINTAINER= obache@NetBSD.org
-HOMEPAGE= http://ming.sourceforge.net/
-COMMENT= Create SWF (Macromedia Flash) files with this library
+CATEGORIES= multimedia
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://www.libming.org/
+COMMENT= SWF output library
+LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config bison flex
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
PKG_DESTDIR_SUPPORT= user-destdir
-MAKE_JOBS_SAFE= no
-USE_LANGUAGES= c c++
-USE_TOOLS+= bison flex
-GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --disable-python
+CONFIGURE_ARGS+= --disable-perl
+CONFIGURE_ARGS+= --disable-php
+CONFIGURE_ARGS+= --disable-tcl
+
+PKGCONFIG_OVERRIDE+= src/libming.pc.in
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !defined(PKGSRC_RUN_TEST) && !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
+# Test require perl
+USE_TOOLS+= perl
+TEST_TARGET= check
+.endif
-INSTALL_MAKE_FLAGS+= prefix=${DESTDIR:Q}${PREFIX:Q}
-INSTALL_MAKE_FLAGS+= mandir=${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR:Q}
+# XXX: "man" is not in SUBDIRS of "docs"
+INSTALL_DIRS= . docs/man
.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/libungif/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"