Merge git://github.com/FROGGS/SDL_perl into redesign
Kartik Thakore [Fri, 23 Oct 2009 11:06:15 +0000 (07:06 -0400)]
1  2 
Build.PL

diff --combined Build.PL
+++ b/Build.PL
@@@ -16,10 -16,11 +16,11 @@@ use YAML
  use YAML::Node;
  
  print STDERR <<BROKENWIN if ($^O =~ /MSWin.*|cygwin/ );
- ******************************** !!!WARNING!!! ******************************** 
- Windows support is currently experimental - you can continue, but you've been warned! 
- If you are interested in helping please contact us at sdl-devel\@perl.org.
- *******************************************************************************
+ *************************** !!!WARNING!!! *****************************
+ Windows support is currently experimental - you can continue, but 
+ you've been warned! If you are interested in helping please contact us 
+ at sdl-devel\@perl.org, or join us on #sdl in irc.perl.org
+ ***********************************************************************
  BROKENWIN
  
  my $sdl_compile_flags = SDL::Utility->sdl_c_flags();
@@@ -43,46 -44,12 +44,46 @@@ my %subsystems 
        },
        Rect => {
                file      => {
 -                      from  => 'src/Rect.xs',
 +                      from  => 'src/Core/objects/Rect.xs',
                        to    => 'lib/SDL/Rect.xs',
                },
 -              libraries => [qw( SDL  )],
 +              libraries => [qw( SDL )],
 +      },
 +      Color => {
 +              file      => {
 +                      from  => 'src/Core/objects/Color.xs',
 +                      to    => 'lib/SDL/Color.xs',
 +              },
 +              libraries => [qw( SDL )],
 +      },
 +      Surface => {
 +              file      => {
 +                      from  => 'src/Core/objects/Surface.xs',
 +                      to    => 'lib/SDL/Surface.xs',
 +              },
 +              libraries => [qw( SDL )],
 +      },
 +      Overlay => {
 +              file      => {
 +                      from  => 'src/Core/objects/Overlay.xs',
 +                      to    => 'lib/SDL/Overlay.xs',
 +              },
 +              libraries => [qw( SDL )],
 +      },
 +      PixelFormat => {
 +              file      => {
 +                      from  => 'src/Core/objects/PixelFormat.xs',
 +                      to    => 'lib/SDL/PixelFormat.xs',
 +              },
 +              libraries => [qw( SDL )],
 +      },
 +      TTF_Font => {
 +              file      => {
 +                      from  => 'src/TTF/objects/TTF_Font.xs',
 +                      to    => 'lib/SDL/TTF_Font.xs',
 +              },
 +              libraries => [qw( SDL SDL_ttf )],
        },
 -      
        OpenGL => {
                file      => {
                        from => 'src/OpenGL.xs',
@@@ -95,7 -62,7 +96,7 @@@
                        from => 'src/SFont.xs',
                        to   => 'lib/SDL/SFont.xs',
                },
 -              libraries => [qw( SDL SDL_image )],
 +              libraries => [qw( SDL SDL_ttf )],
        },      
  );