mppdec stable port information

Package: mppdec
Version: 1.1
Revision: 2
###
Depends: esound-shlibs
BuildDepends: audiofile, esound
###
Source: http://www.personal.uni-jena.de/~pfk/mpp/src/%n-%v.tar.bz2
Source-MD5: 53172eef6b409725b885ca39f98a56bc
###
Patch: %n.patch
###
CompileScript: <<
make -f Makefile.nol EXTRA_CFLAGS="-I%p/include -Wno-long-double" LDADD="-L%p/lib -lesd"
<<
InstallScript: <<
mkdir -p %i/bin
install %n %i/bin/%n
<<
###
DocFiles: NEWS README SV7.txt AUTHORS CHANGES COPYING.LGPL ChangeLog HowToRea.txt MANUAL.TXT
###
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.personal.uni-jena.de/~pfk/mpp/

mppdec stable port .patch

--- mppdec-1.1/mppdec.h 2002-07-30 15:19:57.000000000 -0700
+++ mppdec-1.1/mppdec.h 2003-05-28 17:56:37.000000000 -0700
@@ -108,6 +108,11 @@
# undef USE_REALTIME
#endif

+#if defined __APPLE__
+# undef USE_SUN_AUDIO
+# undef USE_REALTIME
+#endif
+
#if defined USE_DIET || defined MAKE_24BIT || defined MAKE_32BIT
# undef USE_ESD_AUDIO
#endif
@@ -963,10 +968,12 @@
#define LITTLE 0
#define BIG 1
extern Bool_t output_endianess;
-#if defined HAVE_LITTLE_ENDIAN
+#if ENDIAN == HAVE_LITTLE_ENDIAN
# define machine_endianess LITTLE
-#elif defined HAVE_BIG_ENDIAN
+#elif ENDIAN == HAVE_BIG_ENDIAN
# define machine_endianess BIG
+#else
+#error nothing is defined
#endif

// requant.c

--- mppdec-1.1/mpp.h.orig 2003-04-02 21:27:10.000000000 -0800
+++ mppdec-1.1/mpp.h 2003-04-02 21:48:37.000000000 -0800
@@ -8,13 +8,13 @@
// use optimized assembler routines for Pentium III/K6-2/Athlon (only 32 bit OS, Intel x86 and no MAKE_xxBITS)
// you need the NASM assembler on your system, the program becomes a little bit larger and decoding
// on AMD K6-2 (x3), AMD K6-III (x3), AMD Duron (x1.7), AMD Athlon (x1.7), Pentium III (x2) and Pentium 4 (x1.8) becomes faster
-#define USE_ASM
+//#define USE_ASM 0

// Open Sound System support (only Unix with OSS support)
// If your Operating System supports the Open Sound System, you can output to /dev/dsp* and
// instead of writing a file the program plays the file via this sound device.
// on some systems you also must link the libossaudio library, so maybe you also must edit the Makefile
-#define USE_OSS_AUDIO
+//#define USE_OSS_AUDIO 0

// Enlightenment Sound Daemon support (only Unix with ESD support)
// If your Operating System supports the Enlightenment Sound Daemon you can output to /dev/esd and
--- mppdec-1.1/Makefile.nol.orig 2003-04-02 21:30:52.000000000 -0800
+++ mppdec-1.1/Makefile.nol 2003-04-02 21:46:45.000000000 -0800
@@ -14,7 +14,7 @@

WARN =

-CFLAGS = -DMPP_DECODER $(OPTIM) $(WARN) -DMPPDEC_VERSION=\"$(MPPDEC_VERSION)\"
+CFLAGS = -DMPP_DECODER $(OPTIM) $(WARN) -DMPPDEC_VERSION=\"$(MPPDEC_VERSION)\" $(EXTRA_CFLAGS)

TARGETS = mppdec

@@ -40,7 +40,6 @@
_setargv.o \
dump.o \
gain_analysis.o \
- http.o \
pipeopen.o \
stderr.o \

@@ -49,10 +48,9 @@

mppdec: $(OBJ)
$(CC) $(CFLAGS) $(OBJ) -o $(TARGETS) $(LDADD)
- $(CC) -static $(CFLAGS) $(OBJ) -o $(TARGETS)-static $(LDADD)

config.h: mpp.h config.c
- $(CC) $(OPTIM) -DMPP_DECODER -o config config.c $(LDADD)
+ $(CC) $(CFLAGS) $(OPTIM) -DMPP_DECODER -o config config.c $(LDADD)
@./config "$(CC) $(OPTIM) -o <> <> $(LDADD)" "./<>"
@$(RM_F) config

mppdec _unstable_ port information

Package: mppdec
Version: 1.15s
Revision: 2
###
Depends: esound-shlibs
BuildDepends: audiofile, esound
###
Source: http://www.saunalahti.fi/grimmel/musepack.net/source/mpcsv7-src-%v.tar.gz
Source-MD5: 7b2aa799490a306efbd6642c2623a793
SourceDirectory: sv7
###
Patch: %n.patch
PatchScript: <<
perl -pi -e 's, \-mcpu=750 \-mtune=750,,' Makefile.Darwin
perl -pi -e 's,Makefile.darwin,Makefile.Darwin,' Makefile.Darwin
<<
###
CompileScript: <<
make -f Makefile.Darwin EXTRA_CFLAGS="-I%p/include -Wno-long-double" 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

mppdec _unstable_ port .patch

--- 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