diff options
author | Michael Cummings <mcummings@gentoo.org> | 2006-05-24 22:26:40 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2006-05-24 22:26:40 +0000 |
commit | 0596e40a15926af9a8f96748e86c3d5fc2ed76a7 (patch) | |
tree | f20a382abd1e1e00715a75e7fbdd76085b6cf1b1 /dev-perl | |
parent | verion bump as per bug #131080 (diff) | |
download | historical-0596e40a15926af9a8f96748e86c3d5fc2ed76a7.tar.gz historical-0596e40a15926af9a8f96748e86c3d5fc2ed76a7.tar.bz2 historical-0596e40a15926af9a8f96748e86c3d5fc2ed76a7.zip |
Fixes bug with Module::Build-0.28 and above and the Build.PL that comes with sdl - a silent killer bug at that. no bug in bugzie for this.
Package-Manager: portage-2.1_rc2
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/sdl-perl/ChangeLog | 9 | ||||
-rw-r--r-- | dev-perl/sdl-perl/files/digest-sdl-perl-2.1.3 | 2 | ||||
-rw-r--r-- | dev-perl/sdl-perl/files/digest-sdl-perl-2.1.3-r1 | 3 | ||||
-rw-r--r-- | dev-perl/sdl-perl/files/sdl-2.1.3.build.patch | 63 | ||||
-rw-r--r-- | dev-perl/sdl-perl/sdl-perl-2.1.3-r1.ebuild | 46 |
5 files changed, 122 insertions, 1 deletions
diff --git a/dev-perl/sdl-perl/ChangeLog b/dev-perl/sdl-perl/ChangeLog index 9d855a7a38f9..8109c68d1159 100644 --- a/dev-perl/sdl-perl/ChangeLog +++ b/dev-perl/sdl-perl/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-perl/sdl-perl # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/sdl-perl/ChangeLog,v 1.22 2006/03/30 23:52:33 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/sdl-perl/ChangeLog,v 1.23 2006/05/24 22:26:40 mcummings Exp $ + +*sdl-perl-2.1.3-r1 (24 May 2006) + + 24 May 2006; <mcummings@gentoo.org> +files/sdl-2.1.3.build.patch, + +sdl-perl-2.1.3-r1.ebuild: + Fixes bug with Module::Build-0.28 and above and the Build.PL that comes with + sdl - a silent killer bug at that. no bug in bugzie for this. 30 Mar 2006; Aron Griffis <agriffis@gentoo.org> sdl-perl-2.1.3.ebuild: Mark 2.1.3 ~ia64 diff --git a/dev-perl/sdl-perl/files/digest-sdl-perl-2.1.3 b/dev-perl/sdl-perl/files/digest-sdl-perl-2.1.3 index 543150404474..8f50e1ed9e03 100644 --- a/dev-perl/sdl-perl/files/digest-sdl-perl-2.1.3 +++ b/dev-perl/sdl-perl/files/digest-sdl-perl-2.1.3 @@ -1 +1,3 @@ MD5 6ce26e1b710ce52def4ec22637cd5176 SDL_Perl-2.1.3.tar.gz 782794 +RMD160 26a4d317d9a5761fc893b732f2236eaad8d12b88 SDL_Perl-2.1.3.tar.gz 782794 +SHA256 055e4eee85089cf9f7305e68580082fabb624c28199840cf91838b673539b082 SDL_Perl-2.1.3.tar.gz 782794 diff --git a/dev-perl/sdl-perl/files/digest-sdl-perl-2.1.3-r1 b/dev-perl/sdl-perl/files/digest-sdl-perl-2.1.3-r1 new file mode 100644 index 000000000000..8f50e1ed9e03 --- /dev/null +++ b/dev-perl/sdl-perl/files/digest-sdl-perl-2.1.3-r1 @@ -0,0 +1,3 @@ +MD5 6ce26e1b710ce52def4ec22637cd5176 SDL_Perl-2.1.3.tar.gz 782794 +RMD160 26a4d317d9a5761fc893b732f2236eaad8d12b88 SDL_Perl-2.1.3.tar.gz 782794 +SHA256 055e4eee85089cf9f7305e68580082fabb624c28199840cf91838b673539b082 SDL_Perl-2.1.3.tar.gz 782794 diff --git a/dev-perl/sdl-perl/files/sdl-2.1.3.build.patch b/dev-perl/sdl-perl/files/sdl-2.1.3.build.patch new file mode 100644 index 000000000000..b77e5949b765 --- /dev/null +++ b/dev-perl/sdl-perl/files/sdl-2.1.3.build.patch @@ -0,0 +1,63 @@ +--- src/OpenGL.xs.orig 2006-05-24 16:33:05.000000000 -0400 ++++ src/OpenGL.xs 2006-05-24 16:33:40.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 +--- src/SDL.xs.orig 2006-05-24 16:33:10.000000000 -0400 ++++ src/SDL.xs 2006-05-24 16:33:59.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 ) +--- src/SFont.xs.orig 2006-05-24 16:33:17.000000000 -0400 ++++ src/SFont.xs 2006-05-24 16:36:40.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> +--- Build.PL.orig 2006-05-24 17:10:37.000000000 -0400 ++++ Build.PL 2006-05-24 17:09:25.000000000 -0400 +@@ -35,7 +35,7 @@ my %subsystems = + SDL => { + file => { + from => 'src/SDL.xs', +- to => 'src/SDL_perl.xs', ++ to => 'SDL/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 --git a/dev-perl/sdl-perl/sdl-perl-2.1.3-r1.ebuild b/dev-perl/sdl-perl/sdl-perl-2.1.3-r1.ebuild new file mode 100644 index 000000000000..cc3499acbeca --- /dev/null +++ b/dev-perl/sdl-perl/sdl-perl-2.1.3-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/sdl-perl/sdl-perl-2.1.3-r1.ebuild,v 1.1 2006/05/24 22:26:40 mcummings Exp $ + +inherit perl-module eutils + +DESCRIPTION="SDL binding for perl" +HOMEPAGE="http://sdl.perl.org/" +SRC_URI="http://search.cpan.org/CPAN/authors/id/D/DG/DGOEHRIG/SDL_Perl-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" +IUSE="truetype mpeg" + +# Only enable this if you are confirming a bug in this module. The testsrequire +# access to your /dev/{snd,sound} devices. +#SRC_TEST="do" + +DEPEND="virtual/opengl + >=media-libs/libsdl-1.2.6 + >=media-libs/sdl-mixer-1.2.5 + >=media-libs/sdl-image-1.2.2 + >=media-libs/sdl-gfx-2.0.3 + >=media-libs/sdl-net-1.2.4 + dev-perl/module-build + mpeg? ( media-libs/smpeg ) + truetype? ( >=media-libs/sdl-ttf-2.0.5 )" + +S=${WORKDIR}/SDL_Perl-${PV} + +src_unpack() { + unpack ${A} + cd ${S} + if has_version '>=dev-perl/module-build-0.28' ; then + epatch ${FILESDIR}/sdl-2.1.3.build.patch + fi +} + +src_install() { + perl-module_src_install + # The build doesnt properly abort when there is an error + if [[ -z $(find "${D}" -name SDL.pm) ]] ; then + die "failed to install properly" + fi +} |