Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/games
In directory vz-cvs-3.sog:/tmp/cvs-serv22517/games

Added Files:
        smpeg.info smpeg.patch 
Log Message:
Builds on 10.7

--- NEW FILE: smpeg.info ---
# DISCLAIMER: Max Horn is the sole maintainer of this package.
# Please DO NOT MAKE MODIFICATIONS without informing the maintainer.
# Preferably, send a patch to me instead of making changes yourself!
# If that is not possible due to extra urgency, at least send me a mail.
#
# Explanation: I am sick and tired of getting back to my packages and
# discovering that people have messed with it. I am then forced to
# retrace their steps, find out who, when and why did make a certain
# change etc. -- i.e. it makes my life as maintainer harder.
# Furthermore, as maintainer I am responsible for problems caused by my
# packages. But I am not willing to take responsibility for something I
# did not do. In particular, for changes that other people introduced
# behind my back, no matter how good and noble their intentions were. As
# such, I may see myself forced to drop responsibility for (and hence,
# maintainership of) the affected package.

Package: smpeg
Version: 0.4.4
Revision: 1027
Maintainer: Max Horn <m...@quendi.de>
Depends: %N-shlibs (= %v-%r)
BuildDependsOnly: true
BuildDepends: sdl (>= 1.2.9-1001), fink (>= 0.24.12)
Source: ftp://sunsite.auc.dk/pub/os/linux/loki/open-source/%n/%n-%v.tar.gz
Source-MD5: 59c76ac704088ef5539210190c4e1fe3
UpdateLibtool: true
PatchFile: %n.patch
PatchFile-MD5: 0234a09b0370dc785e2fb31baf024d88
SetCPPFLAGS: -I..
ConfigureParams: --disable-opengl-player --disable-gtk-player --disable-sdltest 
--disable-dependency-tracking --mandir='$(prefix)/share/man'
InstallScript: make install DESTDIR=%d
GCC: 4.0
SplitOff: <<
  Package: %N-shlibs
  Depends: sdl-shlibs (>= 1.2.9-1001)
  Replaces: %N (<= 0.4.4-4)
  Files: lib/libsmpeg-*.dylib
  Shlibs: %p/lib/libsmpeg-0.4.0.dylib 2.0.0 %n (>= 0.4.4-25)
  Docfiles: CHANGES COPYING README
<<
SplitOff2: <<
  Package: %N-bin
  Depends: %N-shlibs (= %v-%r)
  Replaces: %N (<= 0.4.4-4)
  Files: bin/plaympeg
  Docfiles: CHANGES COPYING README
<<
DocFiles: CHANGES COPYING README README.SDL_mixer TODO
Description: SDL MPEG Player Library
DescPackaging: <<
Needs help to ensure it uses its own header files while building.
Disable SDL check, to allow building on headless systems.

dmacks patched smpeg.m4 syntax for more pedantic automake1.9
<<
Homepage: http://www.lokigames.com/development/smpeg.php3
License: LGPL

--- NEW FILE: smpeg.patch ---
diff -ru smpeg-0.4.4/MPEGaudio.h smpeg-0.4.4-patched/MPEGaudio.h
--- smpeg-0.4.4/MPEGaudio.h     2001-04-04 22:42:40.000000000 +0200
+++ smpeg-0.4.4-patched/MPEGaudio.h     2009-09-25 21:20:26.000000000 +0200
@@ -149,6 +149,14 @@
 };
 
 /* The actual MPEG audio class */
+
+class MPEGaudio;
+void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len);
+int Play_MPEGaudio(MPEGaudio *audio, Uint8 *stream, int len);
+#ifdef THREADED_AUDIO
+int Decode_MPEGaudio(void *udata);
+#endif
+
 class MPEGaudio : public MPEGerror, public MPEGaudioaction {
 
     friend void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len);
diff -ru smpeg-0.4.4/smpeg.m4 smpeg-0.4.4-patched/smpeg.m4
--- smpeg-0.4.4/smpeg.m4        2001-04-04 22:28:14.000000000 +0200
+++ smpeg-0.4.4-patched/smpeg.m4        2009-09-25 21:20:26.000000000 +0200
@@ -10,7 +10,7 @@
 ACTION-IF-NOT-FOUND]]])
 dnl Test for SMPEG, and define SMPEG_CFLAGS and SMPEG_LIBS
 dnl
-AC_DEFUN(AM_PATH_SMPEG,
+AC_DEFUN([AM_PATH_SMPEG],
 [dnl
 dnl Get the cflags and libraries from the smpeg-config script
 dnl
diff -ru smpeg-0.4.4/video/video.h smpeg-0.4.4-patched/video/video.h
--- smpeg-0.4.4/video/video.h   2001-02-10 08:36:42.000000000 +0100
+++ smpeg-0.4.4-patched/video/video.h   2009-09-25 21:20:54.000000000 +0200
@@ -413,7 +413,7 @@
 #define __SCO__ 1
 #endif
 
-#if defined(__i386__) || defined(__VAX__) || defined(__MIPSEL__) || 
defined(__alpha__) || defined(__SCO__)
+#if defined(__i386__) || defined(__x86_64__) || defined(__VAX__) || 
defined(__MIPSEL__) || defined(__alpha__) || defined(__SCO__)
 #undef  BIG_ENDIAN_ARCHITECTURE
 #define LITTLE_ENDIAN_ARCHITECTURE 1
 #endif


------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to