diff options
author | marcus <marcus@FreeBSD.org> | 2004-03-05 15:27:02 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-03-05 15:27:02 +0800 |
commit | 2c7918b0f966390a6910b33a68c4cc6c57c100e6 (patch) | |
tree | 7fc8c668c5de0e9351d53187b4965cb3a9e361a0 /audio | |
parent | afde4516544173ed451a68742098bd3a82e73399 (diff) | |
download | freebsd-ports-gnome-2c7918b0f966390a6910b33a68c4cc6c57c100e6.tar.gz freebsd-ports-gnome-2c7918b0f966390a6910b33a68c4cc6c57c100e6.tar.zst freebsd-ports-gnome-2c7918b0f966390a6910b33a68c4cc6c57c100e6.zip |
Update to 2.0.
Submitted by: Simon Barner <barner@in.tum.de>
Approved by: maintainer
Diffstat (limited to 'audio')
-rw-r--r-- | audio/faad/Makefile | 8 | ||||
-rw-r--r-- | audio/faad/distinfo | 2 | ||||
-rw-r--r-- | audio/faad/files/patch-common-mp4v2-configure.in | 16 | ||||
-rw-r--r-- | audio/faad/files/patch-configure.in | 26 | ||||
-rw-r--r-- | audio/faad/files/patch-frontend-Makefile.am | 14 | ||||
-rw-r--r-- | audio/faad/files/patch-frontend-audio.c | 11 | ||||
-rw-r--r-- | audio/faad/files/patch-frontend_main_c | 47 | ||||
-rw-r--r-- | audio/faad/pkg-plist | 8 |
8 files changed, 36 insertions, 96 deletions
diff --git a/audio/faad/Makefile b/audio/faad/Makefile index 52e23f745f41..0ac042ed904d 100644 --- a/audio/faad/Makefile +++ b/audio/faad/Makefile @@ -6,11 +6,11 @@ # PORTNAME= faad2 -PORTVERSION= 1.1 -PORTREVISION= 2 +PORTVERSION= 2.0 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= faac +DISTNAME= ${PORTNAME}-${PORTVERSION}-rc3 MAINTAINER= sean@sfarc.net COMMENT= A LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder @@ -20,6 +20,8 @@ LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile WRKSRC= ${WRKDIR}/${PORTNAME} USE_AUTOMAKE_VER= 15 +USE_AUTOHEADER= yes +USE_AUTOHEADER= yes AUTOMAKE_ARGS= --add-missing USE_GETOPT_LONG= yes @@ -28,7 +30,7 @@ USE_GMAKE= yes USE_LIBTOOL= yes USE_REINPLACE= yes -CONFIGURE_ARGS= --program-transform-name='' +CONFIGURE_ARGS= --program-transform-name='' --with-mp4v2 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ diff --git a/audio/faad/distinfo b/audio/faad/distinfo index fb5e2fafd81d..32b3c0c4be5e 100644 --- a/audio/faad/distinfo +++ b/audio/faad/distinfo @@ -1 +1 @@ -MD5 (faad2-1.1.tar.gz) = 5a20a6268484dea0e080df47f64b9075 +MD5 (faad2-2.0-rc3.tar.gz) = 0080076438655ed7facf1089a9805aff diff --git a/audio/faad/files/patch-common-mp4v2-configure.in b/audio/faad/files/patch-common-mp4v2-configure.in deleted file mode 100644 index c0c163e070d5..000000000000 --- a/audio/faad/files/patch-common-mp4v2-configure.in +++ /dev/null @@ -1,16 +0,0 @@ ---- common/mp4v2/configure.in.orig Wed Jan 8 19:45:23 2003 -+++ common/mp4v2/configure.in Wed Jan 8 19:45:57 2003 -@@ -1,11 +1,12 @@ - AC_INIT() -+AC_CANONICAL_TARGET - AM_INIT_AUTOMAKE(mpeg4ip,0.9.2.8,dummy) - - AC_PROG_CC - AC_PROG_CXX - AC_PROG_INSTALL - --AM_PROG_LIBTOOL -+AC_PROG_LIBTOOL - - AM_CONFIG_HEADER(config.h) - diff --git a/audio/faad/files/patch-configure.in b/audio/faad/files/patch-configure.in deleted file mode 100644 index c490f5f6ec97..000000000000 --- a/audio/faad/files/patch-configure.in +++ /dev/null @@ -1,26 +0,0 @@ ---- configure.in.orig Fri Aug 9 03:23:28 2002 -+++ configure.in Wed Jan 8 19:20:59 2003 -@@ -1,8 +1,9 @@ --AC_INIT() -+AC_INIT -+AC_CANONICAL_TARGET - AM_INIT_AUTOMAKE(faad,2.0) - - AC_PROG_CC --AM_PROG_LIBTOOL -+AC_PROG_LIBTOOL - AC_SUBST(LIBTOOL_DEPS) - - dnl Checks for programs. -@@ -29,8 +30,9 @@ - ]) - fi - --AC_OUTPUT_COMMANDS(,[cd common/mp4v2; aclocal -I .; autoheader; libtoolize --automake; automake --add-missing; autoconf; cd -]) -+AC_CONFIG_COMMANDS([default-1],[[]],[[cd common/mp4v2; aclocal -I . -I /usr/local/share/aclocal; autoheader; libtoolize --automake; automake --add-missing; autoconf; cd -]]) - - AC_CONFIG_SUBDIRS(common/mp4v2) - --AC_OUTPUT(libfaad/Makefile common/Makefile frontend/Makefile Makefile) -+AC_CONFIG_FILES([libfaad/Makefile common/Makefile frontend/Makefile Makefile]) -+AC_OUTPUT diff --git a/audio/faad/files/patch-frontend-Makefile.am b/audio/faad/files/patch-frontend-Makefile.am deleted file mode 100644 index f204665bbe27..000000000000 --- a/audio/faad/files/patch-frontend-Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ ---- frontend/Makefile.am.orig Thu Jul 25 23:22:25 2002 -+++ frontend/Makefile.am Sun Jul 6 07:49:21 2003 -@@ -2,8 +2,9 @@ - - faad_SOURCES = main.c audio.c - --CXXFLAGS = -O2 --CFLAGS = -O2 -D_FILE_OFFSET_BITS=64 -+CXXFLAGS = @CXXFLAGS@ -+CFLAGS = @CFLAGS@ -D_FILE_OFFSET_BITS=64 -+CCLD = $(CXX) - INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/common/mp4v2 - LDFLAGS = - LDADD = $(top_builddir)/libfaad/libfaad.la $(top_builddir)/common/mp4v2/libmp4v2.la -lm -lsndfile diff --git a/audio/faad/files/patch-frontend-audio.c b/audio/faad/files/patch-frontend-audio.c deleted file mode 100644 index 4c9fedcec4f6..000000000000 --- a/audio/faad/files/patch-frontend-audio.c +++ /dev/null @@ -1,11 +0,0 @@ ---- frontend/audio.c.orig Thu Jul 25 08:42:54 2002 -+++ frontend/audio.c Wed Jan 8 20:52:34 2003 -@@ -52,7 +52,7 @@ - break; - } - aufile->sfinfo.channels = channels; -- aufile->sfinfo.samples = 0; -+ aufile->sfinfo.frames = 0; - #ifdef _WIN32 - if(infile[0] == '-') - { diff --git a/audio/faad/files/patch-frontend_main_c b/audio/faad/files/patch-frontend_main_c index 7d2346cedb55..5549edb37e89 100644 --- a/audio/faad/files/patch-frontend_main_c +++ b/audio/faad/files/patch-frontend_main_c @@ -1,39 +1,38 @@ -$OpenBSD: patch-frontend_main_c,v 1.3 2003/04/26 20:42:00 avsm Exp $ ---- frontend/main.c.orig Sat Apr 26 21:32:51 2003 -+++ frontend/main.c Sat Apr 26 21:33:44 2003 -@@ -542,7 +542,7 @@ int main(int argc, char *argv[]) - case 's': - if (optarg) { +--- frontend/main.c.orig Thu Nov 6 16:45:08 2003 ++++ frontend/main.c Wed Dec 10 06:27:37 2003 +@@ -1074,7 +1074,7 @@ + if (optarg) + { char dr[10]; - if (sscanf(optarg, "%s", dr) < 1) { + if (sscanf(optarg, "%9s", dr) < 1) { def_srate = 0; } else { def_srate = atoi(dr); -@@ -552,7 +552,7 @@ int main(int argc, char *argv[]) - case 'f': - if (optarg) { +@@ -1085,7 +1085,7 @@ + if (optarg) + { char dr[10]; -- if (sscanf(optarg, "%s", dr) < 1) { -+ if (sscanf(optarg, "%9s", dr) < 1) { +- if (sscanf(optarg, "%s", dr) < 1) ++ if (sscanf(optarg, "%9s", dr) < 1) + { format = 1; } else { - format = atoi(dr); -@@ -564,7 +564,7 @@ int main(int argc, char *argv[]) - case 'b': - if (optarg) { +@@ -1099,7 +1099,7 @@ + if (optarg) + { char dr[10]; -- if (sscanf(optarg, "%s", dr) < 1) { -+ if (sscanf(optarg, "%9s", dr) < 1) { +- if (sscanf(optarg, "%s", dr) < 1) ++ if (sscanf(optarg, "%9s", dr) < 1) + { outputFormat = FAAD_FMT_16BIT; /* just use default */ } else { - outputFormat = atoi(dr); -@@ -576,7 +576,7 @@ int main(int argc, char *argv[]) - case 'l': - if (optarg) { +@@ -1113,7 +1113,7 @@ + if (optarg) + { char dr[10]; -- if (sscanf(optarg, "%s", dr) < 1) { -+ if (sscanf(optarg, "%9s", dr) < 1) { +- if (sscanf(optarg, "%s", dr) < 1) ++ if (sscanf(optarg, "%9s", dr) < 1) + { object_type = LC; /* default */ } else { - object_type = atoi(dr); diff --git a/audio/faad/pkg-plist b/audio/faad/pkg-plist index 9996d60f3f05..8a3b94157eef 100644 --- a/audio/faad/pkg-plist +++ b/audio/faad/pkg-plist @@ -1,8 +1,14 @@ bin/faad include/faad.h +include/mp4ff.h +include/mp4.h +include/mpeg4ip.h lib/libfaad.a lib/libfaad.so lib/libfaad.so.0 -lib/libmp4v2.a +lib/libmp4ff.a +lib/libmp4ff.so +lib/libmp4ff.so.0 lib/libmp4v2.so lib/libmp4v2.so.0 +lib/libmp4v2.a |