Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/games
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv31829

Modified Files:
        snes9x.info 
Added Files:
        snes9x-10.4.info 
Log Message:
reverting to previous version for 10.4 only, trouble compiling 1.52 :(


--- NEW FILE: snes9x-10.4.info ---
Package: snes9x
Version: 1.51
Revision: 2
Distribution: 10.4
Description: Super Nintendo Emulator
# Homepage: http://www.snes9x.com/
Homepage: http://snes9x.ipherswipsite.com/
License: OSI-Approved
Maintainer: David Fang <fang...@users.sourceforge.net>
Source: http://files.ipherswipsite.com/%n/%n-%v-src.tar.bz2
CustomMirror: <<
        asi-JP: http://www.geocities.co.jp/SiliconValley-PaloAlto/2560/release/
<<
Conflicts: snes9x-gtk
Replaces: snes9x-gtk
Source-MD5: a1038cc761f400318cdced960972f8a7
# BuildDepends: dos2unix
PatchScript: <<
  #!/bin/sh -ev
  sed=/usr/bin/sed
  cd macosx/Snes9x.xcodeproj
  $sed -e '/com\.apple\.compilers\.gcc/s|3_3|4_0|' \
        -e '/DEPLOYMENT_TARGET/s|10\.2|10.4|' \
        -e '/PANTHER/d' -e '/JAGUAR/d' \
        -e 's/-floop-transpose/-floop-optimize/g' \
        project.pbxproj > tmp.pbxproj
  echo "patching for architecture: %m"
  if test "%m" = "powerpc"
  then mv tmp.pbxproj project.pbxproj
  else $sed -e '/-mpowerpc/d' \
        -e 's|HIDUtilities\.a|HIDUtilities_u.a|g' \
        tmp.pbxproj > project.pbxproj
  fi
  cd ..
  $sed '/AudioToolbox/a \
#include <AudioUnit/AudioUnitCarbonView.h>' \
        mac-audio.cpp > temp.cpp
  mv temp.cpp mac-audio.cpp
  $sed -e '/long.*glSwapInterval/s|long|GLint|' \
        -e '/long.*numPixelFormats/s|long|GLint|' \
        mac-render.cpp > temp.cpp
  mv temp.cpp mac-render.cpp
<<
CompileScript: <<
  #!/bin/sh -ev
  { echo "#!/bin/sh" ; echo "open -a Snes9x.app" ;} > snes9x
  chmod +x snes9x
  cd macosx
  xcodebuild install -configuration Release \
        DSTROOT=%d INSTALL_PATH=%p/Applications
<<
InstallScript: <<
  #!/bin/sh -ev
  echo Installing as App bundle...
  mkdir -p %i/bin
  cp snes9x %i/bin/
<<
AppBundles: macosx/build/UninstalledProducts/Snes9x.app
DocFiles: <<
  doc/*
  macosx/docs/*.rtf
<<
DescPackaging: <<
Snes9x.app bundle is installed in %p/Applications, also sym-linked in
/Applications/Fink, documents copied to %p/share/doc/snes9x/.
An installed shell script '%p/bin/snes9x' also launches snes9x.
Note: on 64b fink (x86_64), the project is still compiled for i386.  
<<
DescPort: <<
Source already contains Xcode project files.
Build applies some minor patches to compile for i386 and darwin9.
Overridden to use gcc-4.0, and MACOSX_DEPLOYMENT_TARGET 10.4.
Disabled Jaguar and Panther support.  
Had trouble getting 1.52 to compile on 10.4, hence this package.
<<
DescUsage: <<
After installation, drag an icon from /Applications/Fink/Snes9x.app to Dock 
for quick launching, or run 'snes9x' or "open -a Snes9x.app" 
from the command line.
<<
DescDetail: <<
[from snes9x.com]

Snes9x is a portable, freeware Super Nintendo Entertainment System (SNES) 
emulator. It basically allows you to play most games designed for the SNES 
and Super Famicom Nintendo game systems on your PC or Workstation; 
which includes some real gems that were only ever released in Japan.

Snes9x is the result of well over three years worth of part-time hacking, 
coding, recoding, debugging, divorce, etc. 
(just kidding about the divorce bit). 
Snes9x is coded in C++, with three assembler CPU emulation cores on the 
i386 Linux and Windows ports.

License: SNES9X License
<<

Index: snes9x.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/games/snes9x.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- snes9x.info 9 Sep 2010 21:01:10 -0000       1.3
+++ snes9x.info 10 Oct 2010 19:31:17 -0000      1.4
@@ -1,6 +1,7 @@
 Package: snes9x
 Version: 1.52
 Revision: 1
+Distribution: 10.5, 10.6
 Description: Super Nintendo Emulator
 # Homepage: http://www.snes9x.com/
 Homepage: http://snes9x.ipherswipsite.com/
@@ -10,6 +11,8 @@
 CustomMirror: <<
        asi-JP: http://www.geocities.co.jp/SiliconValley-PaloAlto/2560/release/
 <<
+Conflicts: snes9x-gtk
+Replaces: snes9x-gtk
 Source-MD5: 813bd3a0f99732ee0238a2c8ab417725
 # BuildDepends: dos2unix
 PatchScript: <<
@@ -21,6 +24,8 @@
        -e '/PANTHER/d' -e '/JAGUAR/d' \
        -e 's/-floop-transpose/-floop-optimize/g' \
        project.pbxproj > tmp.pbxproj
+#      -e '/GCC_PREPROCESSOR_DEFINITIONS/a \
+# "MAC_LEOPARD_TIGER_PANTHER_SUPPORT="'
   echo "patching for architecture: %m"
   if test "%m" = "powerpc"
   then mv tmp.pbxproj project.pbxproj
@@ -29,10 +34,6 @@
        tmp.pbxproj > project.pbxproj
   fi
   cd ..
-  $sed '/AudioToolbox/a \
-#include <AudioUnit/AudioUnitCarbonView.h>' \
-       mac-audio.cpp > temp.cpp
-  mv temp.cpp mac-audio.cpp
   $sed -e '/long.*glSwapInterval/s|long|GLint|' \
        -e '/long.*numPixelFormats/s|long|GLint|' \
        mac-render.cpp > temp.cpp
@@ -43,7 +44,9 @@
   { echo "#!/bin/sh" ; echo "open -a Snes9x.app" ;} > snes9x
   chmod +x snes9x
   cd macosx
-  xcodebuild install -configuration Release DSTROOT=%d 
INSTALL_PATH=%p/Applications
+  xcodebuild install -configuration Release \
+       DSTROOT=%d INSTALL_PATH=%p/Applications \
+       GCC_PREPROCESSOR_DEFINITIONS="MAC_LEOPARD_TIGER_PANTHER_SUPPORT="
 <<
 InstallScript: <<
   #!/bin/sh -ev
@@ -60,6 +63,7 @@
 Snes9x.app bundle is installed in %p/Applications, also sym-linked in
 /Applications/Fink, documents copied to %p/share/doc/snes9x/.
 An installed shell script '%p/bin/snes9x' also launches snes9x.
+Note: on 64b fink (x86_64), the project is still compiled for i386.  
 <<
 DescPort: <<
 Source already contains Xcode project files.


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to