Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=bf71bd643fb05d0511f1bd8db3ade6ba5463fe2f

commit bf71bd643fb05d0511f1bd8db3ade6ba5463fe2f
Author: Devil505 <devil505li...@gmail.com>
Date:   Sat Nov 21 22:59:45 2009 +0100

perl-sdl-v2.2.6-1-i686
* version bump
* removed useless patches

diff --git a/source/xlib-extra/perl-sdl/FrugalBuild 
b/source/xlib-extra/perl-sdl/FrugalBuild
index 51e2e63..7ae05b2 100644
--- a/source/xlib-extra/perl-sdl/FrugalBuild
+++ b/source/xlib-extra/perl-sdl/FrugalBuild
@@ -2,24 +2,20 @@
# Maintainer: crazy <cr...@frugalware.org>

_F_perl_name=SDL_Perl
-_F_perl_author=D/DG/DGOEHRIG
-pkgver=2.1.3
+_F_perl_author=K/KT/KTHAKORE
+pkgver=v2.2.6
pkgdesc="Simple DirectMedia Layer for Perl"
depends=('sdl_mixer' 'sdl_net' 'sdlimage' 'smpeg>=0.4.4-2' 'sdl_gfx>=2.0.19' 
'perl-yaml')
Finclude perl
-pkgrel=5
+pkgrel=1
pkgname=perl-sdl
-source=($source sdl-2.1.3.build.patch  sdl-perl-2.1.3-gfxPie.patch)
groups=('xlib-extra')
archs=('i686' 'x86_64')
-sha1sums=('9c11cd7e4356f9b254cd9e3a2f993b1751a21552' \
-          '6d9a4535798eab2469527f81eb8bba0e171df9ef' \
-          '80cb7ddb31c4cf455d74c15655c11fe16a94a1b9')
+sha1sums=('f4a0e630374ab0277071351094ce91faf9c366e3')

build()
{
Fcd $_F_perl_name-$pkgver
-       Fpatchall
perl Build.PL || Fdie
./Build || Fdie
./Build install destdir=$Fdestdir || Fdie
diff --git a/source/xlib-extra/perl-sdl/sdl-2.1.3.build.patch 
b/source/xlib-extra/perl-sdl/sdl-2.1.3.build.patch
deleted file mode 100644
index 5f20beb..0000000
--- a/source/xlib-extra/perl-sdl/sdl-2.1.3.build.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-diff -Naurp SDL_Perl-2.1.3/Build.PL SDL_Perl-2.1.3-new/Build.PL
---- SDL_Perl-2.1.3/Build.PL    2005-10-05 05:25:49.000000000 -0400
-+++ SDL_Perl-2.1.3-new/Build.PL        2006-05-25 19:00:23.000000000 -0400
-@@ -35,7 +35,7 @@ my %subsystems =
-       SDL => {
-               file      => {
-                       from  => 'src/SDL.xs',
--                      to    => 'src/SDL_perl.xs',
-+                      to    => './SDL_perl.xs',
-               },
-               libraries => [qw( SDL SDL_image SDL_mixer SDL_net SDL_ttf 
SDL_gfx
-                                 png jpeg smpeg )],
-@@ -43,14 +43,14 @@ my %subsystems =
-       OpenGL => {
-               file      => {
-                       from => 'src/OpenGL.xs',
--                      to   => 'src/SDL/OpenGL.xs',
-+                      to   => 'SDL/OpenGL.xs',
-               },
-               libraries => [qw( SDL GL GLU )],
-       },
-       SFont => {
-               file    => {
-                       from => 'src/SFont.xs',
--                      to   => 'src/SDL/SFont.xs',
-+                      to   => 'SDL/SFont.xs',
-               },
-               libraries => [qw( SDL SDL_image )],
-       },
-diff -Naurp SDL_Perl-2.1.3/src/OpenGL.xs SDL_Perl-2.1.3-new/src/OpenGL.xs
---- SDL_Perl-2.1.3/src/OpenGL.xs       2005-10-05 05:25:49.000000000 -0400
-+++ SDL_Perl-2.1.3-new/src/OpenGL.xs   2006-05-25 18:59:04.000000000 -0400
-@@ -23,7 +23,7 @@
- #define GL_ALL_CLIENT_ATTRIB_BITS 0xFFFFFFF
- #endif /* GL_ALL_CLIENT_BITS */
-
--#include "../defines.h"
-+#include "../src/defines.h"
-
- SV* sdl_perl_nurbs_error_hook;
- void
-diff -Naurp SDL_Perl-2.1.3/src/SDL.xs SDL_Perl-2.1.3-new/src/SDL.xs
---- SDL_Perl-2.1.3/src/SDL.xs  2005-10-05 05:25:49.000000000 -0400
-+++ SDL_Perl-2.1.3-new/src/SDL.xs      2006-05-25 19:04:00.000000000 -0400
-@@ -69,7 +69,7 @@ static int sdl_perl_use_smpeg_audio = 0;
- #define HAVE_TLS_CONTEXT
- #endif
-
--#include "defines.h"
-+#include "src/defines.h"
-
- Uint32
- sdl_perl_timer_callback ( Uint32 interval, void* param )
-diff -Naurp SDL_Perl-2.1.3/src/SFont.xs SDL_Perl-2.1.3-new/src/SFont.xs
---- SDL_Perl-2.1.3/src/SFont.xs        2005-10-05 05:25:49.000000000 -0400
-+++ SDL_Perl-2.1.3-new/src/SFont.xs    2006-05-25 18:59:04.000000000 -0400
-@@ -23,8 +23,8 @@
- #define HAVE_TLS_CONTEXT
- #endif
-
--#include "../defines.h"
--#include "../SFont.h"
-+#include "../src/defines.h"
-+#include "../src/SFont.h"
-
- #ifdef HAVE_SDL_IMAGE
- #include <SDL_image.h>
diff --git a/source/xlib-extra/perl-sdl/sdl-perl-2.1.3-gfxPie.patch 
b/source/xlib-extra/perl-sdl/sdl-perl-2.1.3-gfxPie.patch
deleted file mode 100644
index 461eccd..0000000
--- a/source/xlib-extra/perl-sdl/sdl-perl-2.1.3-gfxPie.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- src/SDL.xs~        2003-03-27 12:17:23.000000000 +0200
-+++ src/SDL.xs 2005-02-25 20:32:07.353170226 +0200
-@@ -71,6 +71,7 @@
- #include <SDL_gfxPrimitives.h>
- #include <SDL_framerate.h>
- #include <SDL_imageFilter.h>
-+#define PERL_SDL_GFXVERSION 
SDL_VERSIONNUM(SDL_GFXPRIMITIVES_MAJOR,SDL_GFXPRIMITIVES_MINOR,SDL_GFXPRIMITIVES_MICRO)
- #endif
-
- #ifdef USE_THREADS
-@@ -3742,7 +3743,11 @@
-     Sint16 end;
-     Uint32 color;
- CODE:
-+#if PERL_SDL_GFXVERSION >= 2012
-+     RETVAL = filledPieColor( dst, x, y, rad, start, end, color );
-+#else
-      RETVAL = filledpieColor( dst, x, y, rad, start, end, color );
-+#endif
- OUTPUT:
-      RETVAL
-
-@@ -3759,7 +3764,11 @@
-     Uint8 b;
-     Uint8 a;
- CODE:
-+#if PERL_SDL_GFXVERSION >= 2012
-+     RETVAL = filledPieRGBA( dst, x, y, rad, start, end, r, g, b, a );
-+#else
-      RETVAL = filledpieRGBA( dst, x, y, rad, start, end, r, g, b, a );
-+#endif
- OUTPUT:
-      RETVAL
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to