4593181 [rkeene@sledge /home/rkeene/projects/build]$ cat faad2.txt
# SHORT DESC: AAC Decoder
# LONG DESC: FAAD2 supports several MPEG-4 object types (LC, Main, LTP, HE AAC, PS) and file formats (ADTS AAC, raw AAC, MP4), multichannel and gapless decoding as well as MP4 metadata tags. The codecs are compatible with standard-compliant audio applications using one or more of these profiles.

for brokefile in configure.in plugins/Makefile.am plugins/xmms/src/Makefile.am; do
	cat "${brokefile}" | fromdos > "${brokefile}.new"
	cat "${brokefile}.new" > "${brokefile}"
	rm -f "${brokefile}.new"
done

# GRRBL, BROKE ASS SOFTWARE
if [ "${pkgvers}" = "2.5" ]; then
	cat <<\_EOF_ | patch -p1
diff -uNr faad2-2.5/configure.in faad2-2.5-1rsk/configure.in
--- faad2-2.5/configure.in	2006-12-11 08:41:07.292500000 -0600
+++ faad2-2.5-1rsk/configure.in	2006-12-11 08:40:53.895662750 -0600
@@ -29,9 +29,6 @@
 AC_ARG_WITH(xmms,[  --with-xmms             compile XMMS-1 plugin],
 	     WITHXMMS=$withval, WITHXMMS=no)
 
-AC_ARG_WITH(bmp,[  --with-bmp              compile beep media player plugin],
-	     [WITHBMP=$withval;WITHXMMS=$withval], [WITHBMP=no])
-
 AC_ARG_WITH(drm,[  --with-drm              compile libfaad with DRM support],
 	     WITHDRM=$withval, WITHDRM=no)
 
@@ -114,12 +111,6 @@
  AM_CONDITIONAL(HAVE_XMMS, false)
 fi
 
-if test x$WITHBMP = xyes; then
-  AC_DEFINE([HAVE_BMP], 1, [User wants beep media player plugin built])
-  AM_CONDITIONAL([HAVE_XMMS], true)
-  AM_CONDITIONAL([HAVE_BMP], true)
-fi
-
 if test x$WITHDRM = xyes; then
   AC_DEFINE(DRM, 1, [Define if you want to use libfaad together with Digital Radio Mondiale (DRM)])
   AC_DEFINE(DRM_PS, 1, [Define if you want support for Digital Radio Mondiale (DRM) parametric stereo])
diff -uNr faad2-2.5/plugins/Makefile.am faad2-2.5-1rsk/plugins/Makefile.am
--- faad2-2.5/plugins/Makefile.am	2006-12-11 08:41:07.300500500 -0600
+++ faad2-2.5-1rsk/plugins/Makefile.am	2006-12-11 08:40:53.899663000 -0600
@@ -8,10 +8,6 @@
 if HAVE_XMMS
 SUBDIRS = xmms
 else
-if HAVE_BMP
-SUBDIRS = bmp
-else
-SUBDIRS =
-endif #HAVE_BMP
+SUBDIRS = 
 endif #HAVE_XMMS
 endif #HAVE_MPEG4IP_PLUG
diff -uNr faad2-2.5/plugins/xmms/src/Makefile.am faad2-2.5-1rsk/plugins/xmms/src/Makefile.am
--- faad2-2.5/plugins/xmms/src/Makefile.am	2006-12-11 08:41:07.304500750 -0600
+++ faad2-2.5-1rsk/plugins/xmms/src/Makefile.am	2006-12-11 08:40:53.903663250 -0600
@@ -1,12 +1,6 @@
-if HAVE_BMP
-libdir=$(shell pkg-config --variable=input-plugin-dir bmp)
-local_CFLAGS=$(shell pkg-config --cflags bmp)
-local_LDFLAGS=$(shell pkg-config --libs bmp)
-else
 local_CFLAGS=`$(XMMS_CONFIG) --cflags` -Wall
 local_LDFLAGS=`$(XMMS_CONFIG) --libs`
 libdir = `$(XMMS_CONFIG) --input-plugin-dir`
-endif #HAVE_BMP
 lib_LTLIBRARIES = libmp4.la
 
 libmp4_la_CFLAGS = $(local_CFLAGS) -Wall \
_EOF_
fi

autoreconf -vif
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir="$libdir" || \
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir="$libdir" --without-bmp --without-xmms || exit 1
sed 's@       @	@g' Makefile > Makefile.1
mv Makefile.1 Makefile
make && \
${installmonitor} make install || exit 1
# DEPENDED ON BY: ffmpeg
4593182 [rkeene@sledge /home/rkeene/projects/build]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2012-05-07 00:52:05