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

Modified Files:
        allegro4.info 
Removed Files:
        allegro4.patch 
Log Message:
Allegro and liquidwar 5 updated, and work again

--- allegro4.patch DELETED ---

Index: allegro4.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/allegro4.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- allegro4.info       31 Jan 2009 23:58:15 -0000      1.3
+++ allegro4.info       24 Oct 2010 07:12:44 -0000      1.4
@@ -1,7 +1,6 @@
 Package: allegro4
-Version: 4.2.0-beta3
-Revision: 11
-Architecture: powerpc
+Version: 4.4.1.1
+Revision: 1
 Description: Cross-platform game programming library
 DescDetail: <<
        Allegro is a cross-platform game programming library for C/C++ 
developers
@@ -11,47 +10,61 @@
        management functions, compressed datafile and a GUI.
 <<
 DescPort: <<
-       Disable command-line utilities showing up in the dock
-<<
-DescPackaging: <<
- Does not compile on intel
+       - Only builds 32-bit, since it needs QuickDraw (Carbon).
+       - Disable command-line utilities showing up in the dock.
 <<
 License: Public Domain
 Maintainer: Dave Vasilevsky <[email protected]>
 Homepage: http://alleg.sourceforge.net/
 #####
-BuildDepends: fink (>= 0.24.12)
+Architecture: powerpc, i386
+BuildDepends: fink (>= 0.24.12), cmake, libpng14, libvorbis0, libogg
 Depends: %N-shlibs (= %v-%r)
 BuildDependsOnly: True
 #####
 Source: mirror:sourceforge:alleg/allegro-%v.tar.gz
-Source-MD5: 351c0fc676c433d439c3f482d5178448
-SourceDirectory: allegro-4.2.0
-#####
-PatchFile: %n.patch
-PatchFile-MD5: 842adcfeac86ee1eedf898d0b8828b2a
-PatchScript: <<
-       sed -e 's,@PREFIX@,%p,g' %{PatchFile} | patch -p1
-       perl -i -pe 's/ALLEGRO_USE_CONSOLE/ALLEGRO_OSX_NO_GUI/g' tools/*.c
-<<
+Source-MD5: 0f1cfff8f2cf88e5c91a667d9fd386ec
 #####
+UseMaxBuildJobs: true
 CompileScript: <<
-       ./fix.sh macosx --quick
+       cmake -DCMAKE_INSTALL_PREFIX=%p -DMANDIR=share/man -DINFODIR=share/info 
-DWANT_EXAMPLES=off .
        make
 <<
-# Make directories, make install, install tools not copied by default, fix 
install paths (again)
 InstallScript: <<
-       mkdir -p %i/lib %i/bin
-       make install INSTALLDIR=%i
-       make install-man INSTALLDIR=%i MAN_DIR=%i/share/man
-       cp 
tools/{dat2c,{exe,pat2,}dat,grabber,macosx/fixbundle,pack,rgbmap,textconv} 
%i/bin/
+       #!/bin/sh -ev
+       make -j1 install DESTDIR=%d
+       
+       # Fix doc dir
+       mkdir -p %i/share/doc
+       mv %i/doc/allegro* %i/share/doc/%n
+       rm -r %i/doc
+       
+       # Fix install_name, we should be compatible with 4.2
+       v3=`echo %v | perl -pe 's/((\d+\.){2}\d+).*/$1/'`
+       v2=`echo %v | perl -pe 's/((\d+\.){1}\d+).*/$1/'`
+       mv %i/lib/liballeg.$v3.dylib %i/lib/liballeg-$v3.dylib  
+       rm %i/lib/liballeg.*
+       ln -sfn liballeg-$v3.dylib %i/lib/liballeg-$v2.dylib
+       ln -sfn liballeg-$v2.dylib %i/lib/liballeg-4.dylib
+       ln -sfn liballeg-4.dylib %i/lib/liballeg.dylib
+       install_name_tool -id %p/lib/liballeg-4.dylib %i/lib/liballeg-4.dylib
+       for f in %i/bin/*; do
+               if file $f | grep Mach-O; then
+                       install_name_tool -change liballeg.4.4.dylib 
%p/lib/liballeg-4.dylib $f
+               fi
+       done
+       
+       # Include fixbundle
+       cp tools/fixbundle %i/bin/
 <<
-DocFiles: AUTHORS CHANGES THANKS docs/txt/* docs/build/*
+InfoDocs: allegro.info
+DocFiles: AUTHORS CHANGES THANKS readme.txt docs/txt/license.txt 
 #####
 SplitOff: <<
        Package: %N-shlibs
        Replaces: %N (<< 4.2.0-beta3-1)
+       Depends: libpng14-shlibs, libogg-shlibs
        Files: lib/liballeg-4*.dylib
-       Shlibs: %p/lib/liballeg-4.dylib 4.0.0 %n (>= 4.2.0-beta3-1)
-       DocFiles: AUTHORS CHANGES THANKS
+       Shlibs: %p/lib/liballeg-4.dylib 4.4.0 %n (>= 4.4.1.1-1) 32
+       DocFiles: AUTHORS CHANGES THANKS readme.txt docs/txt/license.txt 
 <<


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to