Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/games In directory vz-cvs-3.sog:/tmp/cvs-serv27820
Added Files: pygame-py.info pygame-py.patch Log Message: Move to 10.7. Added -no-integrated-as to CFLAGS to build with clang. --- NEW FILE: pygame-py.patch --- Index: pygame-1.9.1release/config_darwin.py =================================================================== --- pygame-1.9.1release/config_darwin.py.orig 2008-03-29 08:45:44.000000000 +1100 +++ pygame-1.9.1release/config_darwin.py 2008-04-25 20:50:36.000000000 +1000 @@ -4,8 +4,10 @@ from glob import glob from distutils.sysconfig import get_python_inc +localbase = os.environ.get('LOCALBASE', '') + class Dependency: - libext = '.a' + libext = '.dylib' def __init__(self, name, checkhead, checklib, libs): self.name = name self.inc_dir = None @@ -86,11 +88,11 @@ print (self.name + ' '[len(self.name):] + ': not found') DEPS = [ - FrameworkDependency('SDL', 'SDL.h', 'libSDL', 'SDL'), - FrameworkDependency('FONT', 'SDL_ttf.h', 'libSDL_ttf', 'SDL_ttf'), - FrameworkDependency('IMAGE', 'SDL_image.h', 'libSDL_image', 'SDL_image'), - FrameworkDependency('MIXER', 'SDL_mixer.h', 'libSDL_mixer', 'SDL_mixer'), - FrameworkDependency('SMPEG', 'smpeg.h', 'libsmpeg', 'smpeg'), + Dependency('SDL', 'SDL.h', 'libSDL', ['SDL']), + Dependency('FONT', 'SDL_ttf.h', 'libSDL_ttf', ['SDL_ttf']), + Dependency('IMAGE', 'SDL_image.h', 'libSDL_image', ['SDL_image']), + Dependency('MIXER', 'SDL_mixer.h', 'libSDL_mixer', ['SDL_mixer']), + Dependency('SMPEG', 'smpeg.h', 'libsmpeg', ['smpeg']), Dependency('PNG', 'png.h', 'libpng', ['png']), Dependency('JPEG', 'jpeglib.h', 'libjpeg', ['jpeg']), Dependency('SCRAP', '','',[]), @@ -103,8 +105,8 @@ global DEPS print ('Hunting dependencies...') - incdirs = ['/usr/local/include','/opt/local/include'] - libdirs = ['/usr/local/lib','/opt/local/lib'] + incdirs = ['/usr/include', localbase+'/include', localbase+'/include/SDL', localbase+'/include/smpeg'] + libdirs = ['/usr/lib', localbase+'/lib'] newconfig = [] for d in DEPS: d.configure(incdirs, libdirs) --- NEW FILE: pygame-py.info --- Info2: << Package: pygame-py%type_pkg[python] Version: 1.9.1 Revision: 1 Type: python (2.6 2.7) BuildDepends: fink (>= 0.24.12), sdl, sdl-image, sdl-mixer, sdl-ttf, smpeg, libpng15 Depends: python%type_pkg[python], sdl-shlibs, sdl-image-shlibs, sdl-mixer-shlibs, sdl-ttf-shlibs, smpeg-shlibs, pil-py%type_pkg[python], numeric-py%type_pkg[python], libpng15-shlibs Maintainer: Jrabbit <jackjrabbit+f...@gmail.com> Source: http://www.pygame.org/ftp/pygame-%vrelease.tar.gz HomePage: http://www.pygame.org License: LGPL Description: Python modules for writing games Source-MD5: 1c4cdc708d17c8250a2d78ef997222fc PatchFile: %{ni}.patch PatchFile-MD5: e04fbe3eca74fe71636a573c2756ebf6 #Thanks Macports ;) https://trac.macports.org/browser/trunk/dports/python/py25-game/files/patch-config_darwin.py.diff #perl -pi -e 's|_AIX|darwin|g' src/display.c SetCPPFLAGS: -I/usr/X11R6/include -framework CoreFoundation -framework Cocoa SetLDFLAGS: -lobjc -lSDLmain # This is needed to build with clang. SetCFLAGS: -no-integrated-as DocFiles: README.txt install.html WHATSNEW CompileScript: << LOCALBASE=%p %p/bin/python%type_raw[python] config.py %p/bin/python%type_raw[python] setup.py build << InstallScript: << %p/bin/python%type_raw[python] setup.py install --root=%d install -d %i/share/doc/%n cp -R docs/* %i/share/doc/%n/ cp -R examples %i/share/doc/%n/ << << ------------------------------------------------------------------------------ Malware Security Report: Protecting Your Business, Customers, and the Bottom Line. Protect your business and customers by understanding the threat from malware and how it can impact your online business. http://www.accelacomm.com/jaw/sfnl/114/51427462/ _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs