summaryrefslogtreecommitdiff
path: root/dev-perl/Alien-SDL
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/Alien-SDL
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/Alien-SDL')
-rw-r--r--dev-perl/Alien-SDL/Alien-SDL-1.446.0.ebuild41
-rw-r--r--dev-perl/Alien-SDL/Manifest4
-rw-r--r--dev-perl/Alien-SDL/files/Alien-SDL-1.444.0-fix-build-option.patch31
-rw-r--r--dev-perl/Alien-SDL/metadata.xml16
4 files changed, 92 insertions, 0 deletions
diff --git a/dev-perl/Alien-SDL/Alien-SDL-1.446.0.ebuild b/dev-perl/Alien-SDL/Alien-SDL-1.446.0.ebuild
new file mode 100644
index 000000000000..bccbb25c3d24
--- /dev/null
+++ b/dev-perl/Alien-SDL/Alien-SDL-1.446.0.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
+MODULE_VERSION=1.446
+inherit perl-module toolchain-funcs
+
+DESCRIPTION="building, finding and using SDL binaries"
+
+SLOT="0"
+KEYWORDS="amd64 hppa x86"
+
+# File::Fetch, File::Find, Test::More -> dev-lang/perl
+RDEPEND="
+ dev-perl/Archive-Extract
+ dev-perl/Archive-Zip
+ dev-perl/Capture-Tiny
+ dev-perl/File-ShareDir
+ dev-perl/File-Which
+ dev-perl/Text-Patch
+ media-libs/libsdl
+ virtual/perl-Archive-Tar
+ virtual/perl-Digest-SHA
+ virtual/perl-ExtUtils-CBuilder
+ virtual/perl-ExtUtils-MakeMaker
+ dev-perl/Module-Build
+ virtual/perl-File-Spec
+ virtual/perl-File-Temp
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ tc-export CC
+ epatch "${FILESDIR}"/${PN}-1.444.0-fix-build-option.patch
+ perl-module_src_prepare
+}
+
+SRC_TEST=do
+myconf='--with-sdl-config'
diff --git a/dev-perl/Alien-SDL/Manifest b/dev-perl/Alien-SDL/Manifest
new file mode 100644
index 000000000000..9209b0ef9018
--- /dev/null
+++ b/dev-perl/Alien-SDL/Manifest
@@ -0,0 +1,4 @@
+AUX Alien-SDL-1.444.0-fix-build-option.patch 1063 BLAKE2B 6a2dfabede9da1a517a84990904075be31aa3ed2d152c71f6bd72ccc135feae224d26ab8e896ebc8967c05945cb0bd6328fe4dc3985aa61ac438884b1efe067e SHA512 83e4566daaac6d808342bd9f9d292dfeae4a18d5b18dc9c0af9f63099449581ac5623e3d996a7c93e909c968fddbd0da2a8d77c4ec98b82e4129e4f0b1e4fef5
+DIST Alien-SDL-1.446.tar.gz 350448 BLAKE2B 6513873f9cbd2435af06676d8b63ddaba2aa03f3f080259299704acfd80d59f26e8eea9845152fe44de6c59751190faf7b0600fe65dea3e1639d1e6795c694be SHA512 dfb5f104f449857b9567ca93a0c3b15aed2618e27019569c95c4b7469e1f7d5cc390fe2dda9c6add41e9648c1f6efe053d08a4bd0fcc5bc546a217721bea824c
+EBUILD Alien-SDL-1.446.0.ebuild 874 BLAKE2B bf33c54e32cb0836516c602febf8ed35a8be548fedb51d8fdc3e08003751bcf56caeb5f13bbf513d6af0c2b91f3b8525565abeb4ed1b73f967c5aaf2a28f8b00 SHA512 61839ccb6b9116bbf5d20dda547e7c143a78e33a4949504313eb800dfcb94e5f86b99172993c43fa591d21537bd8ca92b25bb7ae3bd4c00d56d02e14388750d2
+MISC metadata.xml 510 BLAKE2B fbb9b903178e973b6b296442f00b9a14ec71ee9ab020ad6c8d2c7085b8ad7f5d300c19a0fe4d5dfbecca1db8832bceb34e42a07ca96f21af19f357a215f23e76 SHA512 aa9df2337c60f4d14eaa3e6b793f261b4bf48f48615a050dc1719c17c92a516bada5759f3b8d2ced06b3c4b276749a43b484cc4157099a2c8adcaca48b4d3b69
diff --git a/dev-perl/Alien-SDL/files/Alien-SDL-1.444.0-fix-build-option.patch b/dev-perl/Alien-SDL/files/Alien-SDL-1.444.0-fix-build-option.patch
new file mode 100644
index 000000000000..7d58b8b4e3dd
--- /dev/null
+++ b/dev-perl/Alien-SDL/files/Alien-SDL-1.444.0-fix-build-option.patch
@@ -0,0 +1,31 @@
+Description: fix build option handling
+ GetOptions handles all command arguments without
+ letting Module::Build handles the options. One
+ should not use GetOptions with Module::Build options setup.
+ .
+ So I noved travis option spec into Module::Build
+Author: dod
+--- a/Build.PL
++++ b/Build.PL
+@@ -7,9 +7,7 @@
+ use My::Utility qw(check_config_script check_prebuilt_binaries check_prereqs_libs check_prereqs_tools $source_packs
+ check_perl_buildlibs);
+
+-use Getopt::Long;
+ my ( $ans, $travis ) = 0;
+-GetOptions( "travis" => \$travis );
+
+ print "Welcome to Alien::SDL module installation\n";
+ print "-----------------------------------------\n";
+@@ -98,7 +96,10 @@
+ repository => 'http://github.com/PerlGameDev/Alien-SDL'
+ }
+ },
+- get_options => { 'with-sdl-config' => { qw(type :s store) => \$sdl_config } },
++ get_options => {
++ 'with-sdl-config' => { qw(type :s store) => \$sdl_config },
++ 'travis' => { store => \$travis },
++ },
+ dynamic_config => 1,
+ create_readme => 1,
+ share_dir => 'sharedir',
diff --git a/dev-perl/Alien-SDL/metadata.xml b/dev-perl/Alien-SDL/metadata.xml
new file mode 100644
index 000000000000..34af29ba44eb
--- /dev/null
+++ b/dev-perl/Alien-SDL/metadata.xml
@@ -0,0 +1,16 @@
+<?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">Alien-SDL</remote-id>
+ <remote-id type="cpan-module">Alien::SDL</remote-id>
+ </upstream>
+</pkgmetadata>