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

Added Files:
        eboard-extras.info eboard.info eboard.patch 
Log Message:
Updated and ported to 10.7

--- NEW FILE: eboard.info ---
Package: eboard
Version: 1.1.1
Revision: 1
Maintainer: Matthias Neeracher <neerac...@mac.com>
Depends: gtk+2-shlibs (>= 2.18.9-6), chess, expect
BuildDepends: atk1 (>= 1.28.0-2), cairo (>= 1.8.10-34), fontconfig2-dev, 
freetype219 (>= 2.4.4-2), libgettext3-dev, libiconv-dev, gtk+2-dev (>= 
2.18.9-6), libjpeg, libpng3, libtiff, netpbm10, glib2-dev (>= 2.22.4-5), 
giflib, imlib2, pixman (>= 0.22.2-1), pango1-xft2-ft219-dev (>= 1.24.5-7), 
x11-dev, glitz, fink (>= 0.24.12)
# libjpeg, libtiff, netpbm10, giflib, imlib2: needed ?
Source: mirror:sourceforge:%n/%n-%v.tar.bz2
Source-MD5: 03dcdaa2bc85218b1b18c4bee276fea7
PatchFile: %n.patch
PatchFile-MD5: 38bf784a33afc23d5066938bbabad66d
GCC: 4.0
CompileScript: <<
#!/bin/sh -ev
export 
PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH"
%{default_script}
<<
InstallScript: make install bindir=%i/bin mandir=%i/share/man 
datadir=%i/share/eboard
DocFiles: README AUTHORS COPYING TODO Documentation/*
Description: X11 based chess playing interface
DescDetail: <<
Eboard allows you to play chess either against a computer, against a human,
or through an internet chess server.
<<
License: GPL
Homepage: http://www.bergo.eng.br/eboard/

--- NEW FILE: eboard.patch ---
diff -ru eboard-1.1.1-orig/configure eboard-1.1.1/configure
--- eboard-1.1.1-orig/configure 2011-07-23 14:22:32.000000000 +0200
+++ eboard-1.1.1/configure      2011-07-23 14:30:55.000000000 +0200
@@ -6,7 +6,7 @@
 my $package     = "eboard";
 my $version     = "1.1.1";
 my $cxx         = "g++";
-my @cxxflags    = ("-O6");
+my @cxxflags    = ("-O3");
 my @ldflags     = ("-lpthread");
 my @libs        = ();
 my $configh     = "config.h";
Only in eboard-1.1.1: configure.orig
Only in eboard-1.1.1: configure.rej
diff -ru eboard-1.1.1-orig/sound.cc eboard-1.1.1/sound.cc
--- eboard-1.1.1-orig/sound.cc  2011-07-23 14:22:32.000000000 +0200
+++ eboard-1.1.1/sound.cc       2011-07-23 14:58:25.000000000 +0200
@@ -200,11 +200,10 @@
 
     switch(type) {
     case EXT_WAVE:
-      execlp("play","play","-d",Device,ExtraData,0);
-      execlp("sox",ExtraData,"-t","ossdsp",Device,0);
+      execlp("afplay","afplay",ExtraData,NULL);
       break;
     case EXT_PROGRAM:
-      execlp("/bin/sh","/bin/sh","-c",ExtraData,0);
+      execlp("/bin/sh","/bin/sh","-c",ExtraData,NULL);
       break;
     default:
       /* will never happen */
@@ -358,7 +357,7 @@
 
   rd[0]=gtk_radio_button_new_with_label( 0, _("Beep (need Pitch, Duration, 
Count and Device)") );
   rg=gtk_radio_button_group(GTK_RADIO_BUTTON(rd[0]));
-  rd[1]=gtk_radio_button_new_with_label(rg, _("Play WAV (need Device and 
Filename, sox must be installed)") );
+  rd[1]=gtk_radio_button_new_with_label(rg, _("Play WAV (need Filename)") );
   rg=gtk_radio_button_group(GTK_RADIO_BUTTON(rd[1]));
   rd[2]=gtk_radio_button_new_with_label(rg, _("Run Program (need Filename)") );
   rg=gtk_radio_button_group(GTK_RADIO_BUTTON(rd[2]));

--- NEW FILE: eboard-extras.info ---
Package: eboard-extras
Version: 2
Revision: 1
Maintainer: Matthias Neeracher <neerac...@mac.com>
BuildDepends: libjpeg, libpng3, libtiff, netpbm10, glib2-dev, gtk+2-dev, 
giflib, imlib2
Depends: eboard
Source: mirror:sourceforge:eboard/%n-1pl2.tar.gz
Source-MD5: d5fb7a541d9ef5f6d1d565d877b1ab9a
Source2: mirror:sourceforge:eboard/%n-2.tar.gz
Source2-MD5: e0994803fdd2b3c6b2367efeaa841a34
CompileScript: <<
#!/bin/sh -ev

 ./configure %c
 perl -pi.bak -e 
's|\$\(DATADIR\)/eboard_themes.conf|%p/share/eboard/eboard_themes.conf|' 
Makefile
 cd ../eboard-extras-2
 ./configure %c
 perl -pi.bak -e 
's|\$\(DATADIR\)/eboard_themes.conf|%p/share/eboard/eboard_themes.conf|' 
Makefile
<<
InstallScript: <<
#!/bin/sh -ev

 mkdir -p %i/share/eboard
 make install DATADIR=%i/share/eboard
 cd ../eboard-extras-2
 make install DATADIR=%i/share/eboard
<<
DocFiles: README
Description: Extra themes for eboard
DescDetail: <<
Eboard extras includes some extra graphics and sound files for eboard.
<<
License: GPL
Homepage: http://eboard.sourceforge.net


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