From 79b850817d0c9829a49e792a62fbb54d88acc3ee Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Mon, 25 Oct 2004 22:48:23 +0000 Subject: [PATCH] - Update to 0.4.12 PR: ports/73078 Submitted by: KATO Tsuguru --- graphics/libflash/Makefile | 20 +++++++++++--------- graphics/libflash/distinfo | 4 ++-- graphics/libflash/files/Makefile | 2 +- graphics/libflash/files/patch-ai | 24 ++++++++++++++++-------- graphics/libflash/files/patch-shape.cc | 10 ---------- graphics/libflash/pkg-descr | 2 +- 6 files changed, 31 insertions(+), 31 deletions(-) delete mode 100644 graphics/libflash/files/patch-shape.cc diff --git a/graphics/libflash/Makefile b/graphics/libflash/Makefile index e0dc47525ba7..26202a8e99c1 100644 --- a/graphics/libflash/Makefile +++ b/graphics/libflash/Makefile @@ -6,21 +6,23 @@ # PORTNAME= libflash -PORTVERSION= 0.4.10 +PORTVERSION= 0.4.12 CATEGORIES= graphics -MASTER_SITES= http://www.swift-tools.net/Flash/ -DISTNAME= flash-${PORTVERSION} -EXTRACT_SUFX= .tgz +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= gplflash +DISTNAME= gplflash-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= GPL Flash (TM) Library -LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \ + jpeg.9:${PORTSDIR}/graphics/jpeg -WRKSRC= ${WRKDIR}/${DISTNAME}/Lib +WRKSRC= ${WRKDIR}/${DISTNAME}/lib + +USE_BZIP2= yes +INSTALLS_SHLIB= yes +MAKEFILE= ${FILESDIR}/Makefile MAKE_ARGS= NOPROFILE=true -pre-build: - ${CP} ${FILESDIR}/Makefile ${WRKSRC}/ - .include diff --git a/graphics/libflash/distinfo b/graphics/libflash/distinfo index 7d51a977af73..9343a34ff8a0 100644 --- a/graphics/libflash/distinfo +++ b/graphics/libflash/distinfo @@ -1,2 +1,2 @@ -MD5 (flash-0.4.10.tgz) = 1473f085c599d8076fa866cd91e11598 -SIZE (flash-0.4.10.tgz) = 358995 +MD5 (gplflash-0.4.12.tar.bz2) = 7d53803486b255665a80cd834ee3c463 +SIZE (gplflash-0.4.12.tar.bz2) = 378727 diff --git a/graphics/libflash/files/Makefile b/graphics/libflash/files/Makefile index e758fc453271..93851f4dc06a 100644 --- a/graphics/libflash/files/Makefile +++ b/graphics/libflash/files/Makefile @@ -7,7 +7,7 @@ CXXFLAGS+= -fno-rtti -DXP_UNIX \ -I${LOCALBASE}/include \ -DCHECK_TEXT_PLAIN LDADD= -lz \ - -L${LOCALBASE}/lib -ljpeg + -L${LOCALBASE}/lib -ljpeg -lmad SRCS= adpcm.cc bitmap.cc button.cc character.cc cxform.cc \ displaylist.cc flash.cc font.cc graphic.cc graphic16.cc \ graphic24.cc graphic32.cc matrix.cc movie.cc \ diff --git a/graphics/libflash/files/patch-ai b/graphics/libflash/files/patch-ai index 70e02ad690c1..8036f800a439 100644 --- a/graphics/libflash/files/patch-ai +++ b/graphics/libflash/files/patch-ai @@ -1,15 +1,23 @@ ---- sound.cc.orig Thu Sep 2 00:10:03 1999 -+++ sound.cc Wed Jul 24 06:04:56 2002 -@@ -26,7 +26,12 @@ - #include - #include +--- sound.cc.orig Sat Oct 16 03:16:19 2004 ++++ sound.cc Sat Oct 23 17:44:05 2004 +@@ -20,7 +20,7 @@ + // Author : Olivier Debon + // + +-#if ! defined(__linux__) ++#if ! defined(__linux__) && ! defined(__FreeBSD__) + #warning no sound support for your OS in lib/sound.cc + #define NOSOUND + #endif +@@ -33,6 +33,11 @@ #ifndef NOSOUND + #ifdef __linux__ + #include ++#else +#ifdef __FreeBSD__ +#include +#include -+#else - #include +#endif #endif + #endif - #ifdef RCSID diff --git a/graphics/libflash/files/patch-shape.cc b/graphics/libflash/files/patch-shape.cc deleted file mode 100644 index 7e063c0084b1..000000000000 --- a/graphics/libflash/files/patch-shape.cc +++ /dev/null @@ -1,10 +0,0 @@ ---- shape.cc.orig Fri Jul 12 07:55:33 2002 -+++ shape.cc Fri Jul 12 07:56:13 2002 -@@ -21,6 +21,7 @@ - // - - #include "swf.h" -+#include - - #ifdef RCSID - static char *rcsid = "$Id: shape.cc,v 1.5 1999/09/10 13:08:52 ode Exp $"; diff --git a/graphics/libflash/pkg-descr b/graphics/libflash/pkg-descr index 8a227d095de9..f78e1fe5e0ed 100644 --- a/graphics/libflash/pkg-descr +++ b/graphics/libflash/pkg-descr @@ -5,4 +5,4 @@ The core of the library is a graphic renderer that is portable is to be reused in applications that need to play Flash (TM) movies. Author: Olivier Debon -WWW: http://www.swift-tools.net/Flash/ +WWW: http://gplflash.sourceforge.net/