Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 2004 12:28:49 -0400 (EDT)
From:      Michael Johnson <ahze@ahze.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72207: [NEW PORT] audio/mpeg4ip-faad2: Faad plugin for mpeg4ip [ 4 of 4]
Message-ID:  <200409301628.i8UGSnXV080632@blueheron.ahze.net>
Resent-Message-ID: <200409301630.i8UGUPoa081755@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         72207
>Category:       ports
>Synopsis:       [NEW PORT] audio/mpeg4ip-faad2: Faad plugin for mpeg4ip [ 4 of 4]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 30 16:30:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Johnson
>Release:        FreeBSD 5.3-BETA3 i386
>Organization:
>Environment:
System: FreeBSD blueheron.ahze.net 5.3-BETA3 FreeBSD 5.3-BETA3 #66: Tue Sep  7 12:56:04 EDT
>Description:
Faad plugin for mpeg4ip

WWW: http://audiocoding.com

this is the patch 4 of 4 out of the mpeg4ip/faad conflicts hell patches. 

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- mpeg4ip-faad2-2.0.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mpeg4ip-faad
#	mpeg4ip-faad/Makefile
#	mpeg4ip-faad/distinfo
#	mpeg4ip-faad/pkg-descr
#	mpeg4ip-faad/files
#	mpeg4ip-faad/files/patch-plugins_mpeg4ip_faad2.cpp
#	mpeg4ip-faad/files/patch-plugins_mpeg4ip_Makefile.am
#
echo c - mpeg4ip-faad
mkdir -p mpeg4ip-faad > /dev/null 2>&1
echo x - mpeg4ip-faad/Makefile
sed 's/^X//' >mpeg4ip-faad/Makefile << 'END-of-mpeg4ip-faad/Makefile'
X# New ports collection makefile for:	mpeg4ip-faad2
X# Date created:			28 Sep 2004
X# Whom:				Michael Johnson
X#
X# $FreeBSD$
X#
X
XPORTNAME=	faad2
XPORTVERSION=	2.0
XCATEGORIES=	audio
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	faac
XPKGNAMEPREFIX=	mpeg4ip-
X
XMAINTAINER=	ahze@ahze.net
XCOMMENT=	Faad plugin for mpeg4ip
X
XLIB_DEPENDS=	mp4.0:${PORTSDIR}/multimedia/mpeg4ip
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
XUSE_AUTOMAKE_VER=	15
XUSE_AUTOHEADER_VER=	253
XAUTOMAKE_ARGS=	--add-missing
XCONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XUSE_GETOPT_LONG=yes
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XUSE_INC_LIBTOOL_VER=13
XUSE_REINPLACE=	yes
XUSE_SDL=	yes
X
XCONFIGURE_ARGS=	--with-drm
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
X		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
X
XINSTALLS_SHLIB=	yes
X
XPLIST_FILES=	lib/mp4player_plugin/faad2_plugin.a \
X		lib/mp4player_plugin/faad2_plugin.so \
X		lib/mp4player_plugin/faad2_plugin.so.0
X
X.include <bsd.port.pre.mk>
X
Xpre-patch: build-depends
X
Xpost-patch:
X# make sure everything is prepared prior to configure stage
X# pre-configure will not work since *AUTO* tools happen in-between
X	@cd ${WRKSRC}; ${ACLOCAL} -I ${ACLOCAL_DIR} -I .; \
X		${SETENV} ${SCRIPTS_ENV} ${LIBTOOLIZE} --automake
X	@${REINPLACE_CMD} -e 's|$$lt_target|$$host|' \
X		${WRKSRC}/aclocal.m4
X	@${REINPLACE_CMD} -e 's|<SDL|<SDL11|' \
X		${WRKSRC}/plugins/mpeg4ip/faad2.cpp
X	@${ECHO_CMD} "SUBDIRS = plugins" > \
X		${WRKSRC}/Makefile.am
X.if ${OSVERSION} < 500000
X	@${REINPLACE_CMD} -e 's|stdint.h|sys/inttypes.h|' \
X		${WRKSRC}/common/mp4ff/mp4ff_int_types.h
X.endif
X# CFLAGS safeness
X	 @${FIND} ${WRKSRC} -type f -name Makefile.am | \
X		${XARGS} -n 5 -x \
X			${REINPLACE_CMD} -e \
X				's|-O2|${CFLAGS}|'
X
Xdo-install:
X	@cd ${WRKSRC}/plugins && ${MAKE} ${INSTALL_TARGET}
X
X.include <bsd.port.post.mk>
END-of-mpeg4ip-faad/Makefile
echo x - mpeg4ip-faad/distinfo
sed 's/^X//' >mpeg4ip-faad/distinfo << 'END-of-mpeg4ip-faad/distinfo'
XMD5 (faad2-2.0.tar.gz) = 1a6f79365f2934a4888b210ef47a3a07
XSIZE (faad2-2.0.tar.gz) = 766660
END-of-mpeg4ip-faad/distinfo
echo x - mpeg4ip-faad/pkg-descr
sed 's/^X//' >mpeg4ip-faad/pkg-descr << 'END-of-mpeg4ip-faad/pkg-descr'
XFaad plugin for mpeg4ip
X
XWWW: http://audiocoding.com
END-of-mpeg4ip-faad/pkg-descr
echo c - mpeg4ip-faad/files
mkdir -p mpeg4ip-faad/files > /dev/null 2>&1
echo x - mpeg4ip-faad/files/patch-plugins_mpeg4ip_faad2.cpp
sed 's/^X//' >mpeg4ip-faad/files/patch-plugins_mpeg4ip_faad2.cpp << 'END-of-mpeg4ip-faad/files/patch-plugins_mpeg4ip_faad2.cpp'
X--- plugins/mpeg4ip/faad2.cpp.orig	Wed Sep 29 03:20:19 2004
X+++ plugins/mpeg4ip/faad2.cpp	Wed Sep 29 03:31:53 2004
X@@ -237,7 +237,7 @@
X       aac->m_vft->audio_configure(aac->m_ifptr,
X                   aac->m_freq,
X                   aac->m_chans,
X-                  AUDIO_S16SYS,
X+                  (audio_format_t)AUDIO_S16SYS,
X                   aac->m_output_frame_size);
X       uint8_t *now = aac->m_vft->audio_get_buffer(aac->m_ifptr);
X       aac->m_audio_inited = 1;
END-of-mpeg4ip-faad/files/patch-plugins_mpeg4ip_faad2.cpp
echo x - mpeg4ip-faad/files/patch-plugins_mpeg4ip_Makefile.am
sed 's/^X//' >mpeg4ip-faad/files/patch-plugins_mpeg4ip_Makefile.am << 'END-of-mpeg4ip-faad/files/patch-plugins_mpeg4ip_Makefile.am'
X--- plugins/mpeg4ip/Makefile.am.orig	Wed Sep 29 13:30:33 2004
X+++ plugins/mpeg4ip/Makefile.am	Wed Sep 29 13:31:08 2004
X@@ -8,9 +8,7 @@
X 	aa_file.cpp \
X 	aa_file.h
X 
X-faad2_plugin_la_LIBADD = \
X-	$(top_builddir)/libfaad/libfaad.la \
X-	-lm
X+LIBS=	-lm -lfaad
X 
X 
X INCLUDES =  -I$(top_srcdir)/include
END-of-mpeg4ip-faad/files/patch-plugins_mpeg4ip_Makefile.am
exit
--- mpeg4ip-faad2-2.0.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409301628.i8UGSnXV080632>