the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: mppdec
Version: 1.15s
Revision: 2
###
Depends: esound-shlibs
BuildDepends: audiofile, esound, fink (>= 0.24.12)
###
Source: http://www.saunalahti.fi/grimmel/musepack.net/source/mpcsv7-src-%v.tar.gz
Source-MD5: 7b2aa799490a306efbd6642c2623a793
SourceDirectory: sv7
###
PatchFile: %n.patch
PatchFile-MD5: 0d5fa30181b23835215f6b61a0c03017
PatchScript: <<
%{default_script}
perl -pi -e 's, \-mcpu=750 \-mtune=750,,' Makefile.Darwin
perl -pi -e 's,Makefile.darwin,Makefile.Darwin,' Makefile.Darwin
perl -pi -e 's|-Wno-long-double||g' Makefile.Darwin
<<
###
CompileScript: <<
make -f Makefile.Darwin EXTRA_CFLAGS="-I%p/include" LDADD="-L%p/lib -lesd"
<<
InstallScript: <<
mkdir -p %i/bin
install mppdec %i/bin/mppdec
<<
###
#DocFiles: NEWS README SV7.txt AUTHORS CHANGES COPYING.LGPL ChangeLog HowToRea.txt MANUAL.TXT
DocFiles: doc/*
###
Description: Musepack (.mpc) file decoder
DescDetail: <<
MusePack (.mpc) is a new space-saving audio format which was formerly
known as MPEG Plus (.mp+). mppdec is a simple decoder.
See http://www.musepack-source.de/english/ for more info on MusePack.
You can play *.mpc files using commands like:
mppdec --raw-be FILENAME.mpc | esdcat
mppdec --aiff playlist.m3u | esdcat
See /sw/share/doc/mppdec/MANUAL.TXT for more information.
<<
###
License: LGPL
Maintainer: Ben Hines
Homepage: http://www.musepack.net
--- sv7/mpp.h.orig Sun Dec 19 23:14:56 2004
+++ sv7/mpp.h Sun Dec 19 23:16:03 2004
@@ -43,6 +43,7 @@
#define USE_ESD_AUDIO
#endif
+#define USE_ESD_AUDIO
// native Sun Onboard-Audio support (only SunOS)
// If you have a Sun Workstation with Onboard-Audio, you can output to /dev/audio and
@@ -54,12 +55,12 @@
// Sound support for SGI Irix
// If you have a SGI Workstation running IRIX, you can output to /dev/audio and
// instead of writing a file the program plays the file via this sound device.
-#define USE_IRIX_AUDIO
+//#define USE_IRIX_AUDIO
// Audio support for Windows (WAVE OUT) (only Windows)
// If you have a Windows based system and if you want also play files directly instead of only writing audio files,
// then define the next item
-#define USE_WIN_AUDIO
+//#define USE_WIN_AUDIO
// Buffersize for Windows Audio in 4.5 KByte units
// Only needed for Windows+USE_WIN_AUDIO