the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: libfaad2-shlibs
Version: 2.7
Revision: 1016
###
BuildDepends: fink (>= 0.24.12)
###
Source: http://downloads.sourceforge.net/faac/faad2-%v.tar.gz
Source-MD5: ee1b4d67ea2d76ee52c5621bc6dbf61e
SourceDirectory: faad2-%v
###
PatchScript: <<
%{default_script}
### These are leftovers from faad1. Keeping around for now in case they need to be added back.
### Force external mp4v2 off
#perl -pi -e 's,\#define HAVE_LIBMP4V2 1,\#undef HAVE_LIBMP4V2,g' configure
#perl -pi -e 's,external_mp4v2=yes,external_mp4v2=no,g' configure
#perl -pi -e 's,-lmp4v2,-lmp4v2dontusethisone,g' configure
### Fix xmms plugin compile, need to include source includes first
#perl -pi -e 's,-I. -I\$\(srcdir\) -I\$\(top_builddir\),-I. -I\$\(srcdir\) -I\$\(top_builddir\) -I\$\(top_srcdir\)/include,g' plugins/xmms/src/Makefile.in
<<
PatchFile: %n.patch
PatchFile-MD5: b577ddd3f4c8a039e42a13d842d2e716
###
ConfigureParams: --without-xmms --with-drm --with-mp4v2 --with-pic --enable-shared --enable-static --mandir=%p/share/man --infodir=%p/share/info --libexecdir=%p/lib --disable-dependency-tracking
# --with-mpeg4ip needs separate libmp4v2
###
DocFiles: AUTHORS COPYING ChangeLog NEWS README* TODO
###
InstallScript: <<
make install DESTDIR=%d
<<
###
Shlibs: <<
%p/lib/libfaad.2.dylib 3.0.0 %n (>= 2.7-1013)
<<
###
SplitOff: <<
Package: faad
Depends: libfaad2-shlibs (= %v-%r)
Files: <<
bin
share/man
<<
DocFiles: AUTHORS COPYING ChangeLog NEWS README* TODO
<<
###
SplitOff2: <<
Package: libfaad2-dev
Depends: libfaad2-shlibs (= %v-%r)
Conflicts: libfaad1-dev
Replaces: libfaad1-dev
BuildDependsOnly: true
Files: <<
lib/libfaad.a
lib/libfaad.la
lib/libfaad.dylib
lib/libmp4ff.a
include
<<
DocFiles: AUTHORS COPYING ChangeLog NEWS README* TODO
<<
###
Description: FAAC audio library
DescDetail: <<
FAAC is an Advanced Audio Coder (MPEG2-AAC, MPEG4-AAC). The goal of FAAC is
to explore the possibilities of AAC and exceed the quality of the currently
best MP3 encoders.
<<
DescPackaging: <<
The splitoffs libmp4v21-* from earlier versions of faad (< 2.7) have been removed as libmp4v2*.dylib is no longer being built.
The xmms plugin is disabled because it's for the old xmms1.
For faad-2.7, package was reorganized to make -shlibs the parent in order to allow file coexistance with previous versions.
<<
###
License: GPL
Maintainer: Hanspeter Niederstrasser
Homepage: http://www.audiocoding.com/
--- faad2-2.7.orig/libfaad/common.h 2010-01-11 01:52:42.000000000 +0900
+++ faad2-2.7/libfaad/common.h 2010-01-11 01:53:09.000000000 +0900
@@ -325,6 +325,8 @@
}
return i;
}
+ #elif (defined(__i386__) && defined(__APPLE_CC__))
+ #define HAS_LRINTF
#elif (defined(__i386__) && defined(__GNUC__) && \
!defined(__CYGWIN__) && !defined(__MINGW32__))
#ifndef HAVE_LRINTF