summaryrefslogtreecommitdiff
path: root/dev-perl/SDL
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-perl/SDL
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-perl/SDL')
-rw-r--r--dev-perl/SDL/Manifest6
-rw-r--r--dev-perl/SDL/SDL-2.546.ebuild41
-rw-r--r--dev-perl/SDL/files/SDL-2.546-pointer.patch29
-rw-r--r--dev-perl/SDL/metadata.xml97
4 files changed, 173 insertions, 0 deletions
diff --git a/dev-perl/SDL/Manifest b/dev-perl/SDL/Manifest
new file mode 100644
index 000000000000..df91507f7953
--- /dev/null
+++ b/dev-perl/SDL/Manifest
@@ -0,0 +1,6 @@
+AUX SDL-2.546-pointer.patch 671 SHA256 ea6f6703346ce39f46d9bcfcc25bd4e10e91d2c2ae353113baedd15041ae4ab7 SHA512 25a03721a4ffe64b85512fd896cef2a08faf3284ffd2f9a93fe578f7df0e96bc40952a85e39f4023f38fbb664cd7435e5d5587a7d861e884a616835e7eaecec0 WHIRLPOOL a1b85a035c426182e145e30cecd39a125cdaea7ed8df425fdf086ce152d1ab8309631b9b9329c41ac7066b1d393569cd184d6b37f80895db90141127f6eb4735
+DIST SDL-2.546.tar.gz 2487053 SHA256 e08aa73550b3f8d32ced0941c3c629f01c4ba4d480fc269e57f3fa6f8df86631 SHA512 7f7015c90a277b91951a2357bcdf7c3f2f930270d211657c903240ed4529f408c200337ca79e4971eb3912da28ebf1e950053ce4d763c2599c701444c618c71a WHIRLPOOL f5afa1710321c08f57da105ed20953bffc9b534f3ab7c5fc6d729285b4e28f2ee58763f82ed88d9e0c2167ce7d8d182c0fc3259c4cb798ce17ffa79e306df54c
+EBUILD SDL-2.546.ebuild 977 SHA256 2d46891c2502ffea4f58fdfa9df7d1397f7b1f7daa1d518ceaa64bdc2536981d SHA512 48633571c7d2b04ca0bbc97ba0f23ca80bf76eab662307f979821c70f319968a6b638e8d59531947836806204a85cbbfb6147dfa286366a604d5d0944e635e63 WHIRLPOOL 354892a611624b3003caf60192c9bbfbc20083d7db480b0194553a2967c9f16cfce3bb6111ec7c2718272b10ab3215ad09fb3e9cdcba9b14e63d30a93846b130
+MISC ChangeLog 3536 SHA256 c92dccbad41954cb2d7a2b54b8704947f633179a9ad5e45a372583845dbcf378 SHA512 d4089643159d547379850644c24a676c626d9095e64a3754890b7e173486c71c735d1bafbeac12a2160c077996c9baf80971d4321b93a80226af1441fc122b36 WHIRLPOOL 5c2a8e316d010a73bc721f9bcfe2b9f2e7e29ec2170f8ed9e359ce7b104e2b592499c761a7a56fa1630bf54da670d19956ad5e481b055f6a5be5965b24f6fded
+MISC ChangeLog-2015 13576 SHA256 fe985e473143cb7d8861dd9784b674640eab0e261d47f1b971bb6d2148323bfa SHA512 a974065a50b97b7041132cf4661b04c08c6176265daeece234b98211f80c931c713333f3bf4c21d3e853d623796d7c7bd5508655c665abc42c528b4ae83da7e8 WHIRLPOOL ce182996d7fd7f14243b17676234f832515030c30f127ed96286f677638ffc32c2c9c6b50bd3f51fa9eda12840a1918bb9b5ef7d10afdf44ff398c483699d313
+MISC metadata.xml 5479 SHA256 5e56a55ed610a576e5746925d65471be1464b1ed2e78bf25309927ba1e21cb30 SHA512 a26caa4c5f2685ea3dc2134f66652740622ac54d6b71567ed9425494300caccfcbe9c969e215dcd07033792c7e30e08426c3adbc6091c0ba4354e08db14b2827 WHIRLPOOL 4b76dde98923f6c6aa68af2a84c34659acdbd2f6782fd301b5034c3dda7c0e49b5934f214ef5a2c84a962fea62465f4c1adcdc45b797d734d17b26ab31b9f068
diff --git a/dev-perl/SDL/SDL-2.546.ebuild b/dev-perl/SDL/SDL-2.546.ebuild
new file mode 100644
index 000000000000..3a4ed38754a6
--- /dev/null
+++ b/dev-perl/SDL/SDL-2.546.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+MODULE_AUTHOR=FROGGS
+inherit perl-module
+
+DESCRIPTION="Simple DirectMedia Layer (SDL) bindings for perl"
+HOMEPAGE="http://sdl.perl.org/ http://search.cpan.org/dist/SDL/ https://github.com/PerlGameDev/SDL"
+
+LICENSE="GPL-2 OFL-1.1"
+SLOT="0"
+KEYWORDS="amd64 hppa x86"
+IUSE=""
+
+RDEPEND=">=dev-perl/Alien-SDL-1.434
+ dev-perl/Capture-Tiny
+ dev-perl/File-ShareDir
+ dev-perl/Test-Most
+ dev-perl/Tie-Simple
+ media-libs/libpng:0
+ media-libs/libsdl
+ media-libs/sdl-gfx
+ media-libs/sdl-image
+ media-libs/sdl-mixer
+ media-libs/sdl-pango
+ media-libs/sdl-ttf
+ media-libs/smpeg
+ media-libs/tiff:0
+ virtual/glu
+ virtual/jpeg:0
+ virtual/opengl
+ virtual/perl-ExtUtils-CBuilder
+ >=dev-perl/Module-Build-0.400.0
+ virtual/perl-Scalar-List-Utils
+ virtual/perl-Test-Simple"
+DEPEND=${RDEPEND}
+
+SRC_TEST=parallel
+mydoc='CHANGELOG README TODO'
+PATCHES=( "${FILESDIR}"/${P}-pointer.patch )
diff --git a/dev-perl/SDL/files/SDL-2.546-pointer.patch b/dev-perl/SDL/files/SDL-2.546-pointer.patch
new file mode 100644
index 000000000000..b3721ac805e2
--- /dev/null
+++ b/dev-perl/SDL/files/SDL-2.546-pointer.patch
@@ -0,0 +1,29 @@
+--- ./src/Core/objects/Event.xs.orig 2015-11-02 17:32:54.831820664 -0500
++++ ./src/Core/objects/Event.xs 2015-11-02 17:33:35.802090936 -0500
+@@ -611,7 +611,7 @@
+ char *CLASS = "SDL::JoyHatEvent";
+ CODE:
+ RETVAL = NULL;
+- if ( &event != NULL )
++ if ( event )
+ RETVAL = &(event->jhat);
+ OUTPUT:
+ RETVAL
+@@ -683,7 +683,7 @@
+ char *CLASS = "SDL::JoyButtonEvent";
+ CODE:
+ RETVAL = NULL;
+- if ( &event != NULL )
++ if ( event )
+ RETVAL = &(event->jbutton);
+ OUTPUT:
+ RETVAL
+@@ -755,7 +755,7 @@
+ char *CLASS = "SDL::ResizeEvent";
+ CODE:
+ RETVAL = NULL;
+- if ( &event != NULL )
++ if ( event )
+ RETVAL = &(event->resize);
+ OUTPUT:
+ RETVAL
diff --git a/dev-perl/SDL/metadata.xml b/dev-perl/SDL/metadata.xml
new file mode 100644
index 000000000000..25cddc5b75b4
--- /dev/null
+++ b/dev-perl/SDL/metadata.xml
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpan">SDL</remote-id>
+ <remote-id type="cpan-module">Module::Build::SDL</remote-id>
+ <remote-id type="cpan-module">SDL</remote-id>
+ <remote-id type="cpan-module">SDL::Audio</remote-id>
+ <remote-id type="cpan-module">SDL::AudioCVT</remote-id>
+ <remote-id type="cpan-module">SDL::AudioSpec</remote-id>
+ <remote-id type="cpan-module">SDL::CD</remote-id>
+ <remote-id type="cpan-module">SDL::CDROM</remote-id>
+ <remote-id type="cpan-module">SDL::CDTrack</remote-id>
+ <remote-id type="cpan-module">SDL::Color</remote-id>
+ <remote-id type="cpan-module">SDL::Config</remote-id>
+ <remote-id type="cpan-module">SDL::Constants</remote-id>
+ <remote-id type="cpan-module">SDL::Cursor</remote-id>
+ <remote-id type="cpan-module">SDL::Event</remote-id>
+ <remote-id type="cpan-module">SDL::Events</remote-id>
+ <remote-id type="cpan-module">SDL::GFX</remote-id>
+ <remote-id type="cpan-module">SDL::GFX::BlitFunc</remote-id>
+ <remote-id type="cpan-module">SDL::GFX::FPSManager</remote-id>
+ <remote-id type="cpan-module">SDL::GFX::Framerate</remote-id>
+ <remote-id type="cpan-module">SDL::GFX::ImageFilter</remote-id>
+ <remote-id type="cpan-module">SDL::GFX::Primitives</remote-id>
+ <remote-id type="cpan-module">SDL::GFX::Rotozoom</remote-id>
+ <remote-id type="cpan-module">SDL::Image</remote-id>
+ <remote-id type="cpan-module">SDL::Internal::Loader</remote-id>
+ <remote-id type="cpan-module">SDL::Joystick</remote-id>
+ <remote-id type="cpan-module">SDL::Mixer</remote-id>
+ <remote-id type="cpan-module">SDL::Mixer::Channels</remote-id>
+ <remote-id type="cpan-module">SDL::Mixer::Effects</remote-id>
+ <remote-id type="cpan-module">SDL::Mixer::Groups</remote-id>
+ <remote-id type="cpan-module">SDL::Mixer::MixChunk</remote-id>
+ <remote-id type="cpan-module">SDL::Mixer::MixMusic</remote-id>
+ <remote-id type="cpan-module">SDL::Mixer::Music</remote-id>
+ <remote-id type="cpan-module">SDL::Mixer::Samples</remote-id>
+ <remote-id type="cpan-module">SDL::Mouse</remote-id>
+ <remote-id type="cpan-module">SDL::MultiThread</remote-id>
+ <remote-id type="cpan-module">SDL::Net</remote-id>
+ <remote-id type="cpan-module">SDL::Net::IPaddress</remote-id>
+ <remote-id type="cpan-module">SDL::Net::TCP</remote-id>
+ <remote-id type="cpan-module">SDL::Net::UDP</remote-id>
+ <remote-id type="cpan-module">SDL::Overlay</remote-id>
+ <remote-id type="cpan-module">SDL::Palette</remote-id>
+ <remote-id type="cpan-module">SDL::Pango</remote-id>
+ <remote-id type="cpan-module">SDL::Pango::Context</remote-id>
+ <remote-id type="cpan-module">SDL::PixelFormat</remote-id>
+ <remote-id type="cpan-module">SDL::RWOps</remote-id>
+ <remote-id type="cpan-module">SDL::Rect</remote-id>
+ <remote-id type="cpan-module">SDL::SMPEG</remote-id>
+ <remote-id type="cpan-module">SDL::SMPEG::Info</remote-id>
+ <remote-id type="cpan-module">SDL::Surface</remote-id>
+ <remote-id type="cpan-module">SDL::TTF</remote-id>
+ <remote-id type="cpan-module">SDL::TTF::Font</remote-id>
+ <remote-id type="cpan-module">SDL::TTFont</remote-id>
+ <remote-id type="cpan-module">SDL::Time</remote-id>
+ <remote-id type="cpan-module">SDL::Tutorial</remote-id>
+ <remote-id type="cpan-module">SDL::Tutorial::Animation</remote-id>
+ <remote-id type="cpan-module">SDL::Tutorial::LunarLander</remote-id>
+ <remote-id type="cpan-module">SDL::Version</remote-id>
+ <remote-id type="cpan-module">SDL::Video</remote-id>
+ <remote-id type="cpan-module">SDL::VideoInfo</remote-id>
+ <remote-id type="cpan-module">SDL_perl</remote-id>
+ <remote-id type="cpan-module">SDLx::App</remote-id>
+ <remote-id type="cpan-module">SDLx::Controller</remote-id>
+ <remote-id type="cpan-module">SDLx::Controller::Interface</remote-id>
+ <remote-id type="cpan-module">SDLx::Controller::State</remote-id>
+ <remote-id type="cpan-module">SDLx::Controller::Timer</remote-id>
+ <remote-id type="cpan-module">SDLx::FPS</remote-id>
+ <remote-id type="cpan-module">SDLx::Layer</remote-id>
+ <remote-id type="cpan-module">SDLx::LayerManager</remote-id>
+ <remote-id type="cpan-module">SDLx::Music</remote-id>
+ <remote-id type="cpan-module">SDLx::Music::Data</remote-id>
+ <remote-id type="cpan-module">SDLx::Music::Default</remote-id>
+ <remote-id type="cpan-module">SDLx::Rect</remote-id>
+ <remote-id type="cpan-module">SDLx::SFont</remote-id>
+ <remote-id type="cpan-module">SDLx::Sound</remote-id>
+ <remote-id type="cpan-module">SDLx::Sprite</remote-id>
+ <remote-id type="cpan-module">SDLx::Sprite::Animated</remote-id>
+ <remote-id type="cpan-module">SDLx::Surface</remote-id>
+ <remote-id type="cpan-module">SDLx::Surface::TiedMatrix</remote-id>
+ <remote-id type="cpan-module">SDLx::Surface::TiedMatrixRow</remote-id>
+ <remote-id type="cpan-module">SDLx::TTF</remote-id>
+ <remote-id type="cpan-module">SDLx::Text</remote-id>
+ <remote-id type="cpan-module">SDLx::Validate</remote-id>
+ <remote-id type="github">PerlGameDev/SDL</remote-id>
+ </upstream>
+</pkgmetadata>