From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-perl/Alien-SDL/Alien-SDL-1.446.0.ebuild | 41 ++++++++++++++++++++++ dev-perl/Alien-SDL/Manifest | 6 ++++ .../files/Alien-SDL-1.444.0-fix-build-option.patch | 31 ++++++++++++++++ dev-perl/Alien-SDL/metadata.xml | 16 +++++++++ 4 files changed, 94 insertions(+) create mode 100644 dev-perl/Alien-SDL/Alien-SDL-1.446.0.ebuild create mode 100644 dev-perl/Alien-SDL/Manifest create mode 100644 dev-perl/Alien-SDL/files/Alien-SDL-1.444.0-fix-build-option.patch create mode 100644 dev-perl/Alien-SDL/metadata.xml (limited to 'dev-perl/Alien-SDL') 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..f1c08073679b --- /dev/null +++ b/dev-perl/Alien-SDL/Manifest @@ -0,0 +1,6 @@ +AUX Alien-SDL-1.444.0-fix-build-option.patch 1063 SHA256 caed922b292920ac252f4791170c5c2374eb80d643a379cd8fcd6bfc83fcd3aa SHA512 83e4566daaac6d808342bd9f9d292dfeae4a18d5b18dc9c0af9f63099449581ac5623e3d996a7c93e909c968fddbd0da2a8d77c4ec98b82e4129e4f0b1e4fef5 WHIRLPOOL 5e723f4859a16e171d4726b5258153855d0ced4f056e9312b3ba1b82558ae2d997d5dfab1111e89a59846b8a670e0390b61476f50e1a81af2381174c2e1b57f0 +DIST Alien-SDL-1.446.tar.gz 350448 SHA256 c9aa2c9dc3c63d89773c7d7203f2a46d1b924d0c72d9f801af147a3dc8bc512a SHA512 dfb5f104f449857b9567ca93a0c3b15aed2618e27019569c95c4b7469e1f7d5cc390fe2dda9c6add41e9648c1f6efe053d08a4bd0fcc5bc546a217721bea824c WHIRLPOOL d449168885362a7533eb167ae3d4655b1bdb0a3188c8cbd44c6aa4b38c68d816117954434d51b711d7cf5fc54d511b2dd53952ae1c6e44e106918b0960b6bd0f +EBUILD Alien-SDL-1.446.0.ebuild 874 SHA256 21a6c300ea5f207544252d980c0c3708e907cbd17bf16d8b00b66a3ab2ef99be SHA512 61839ccb6b9116bbf5d20dda547e7c143a78e33a4949504313eb800dfcb94e5f86b99172993c43fa591d21537bd8ca92b25bb7ae3bd4c00d56d02e14388750d2 WHIRLPOOL 8b01008c426acecd9e32ad40f2da9649d3ea5bb9b3177814c9531ce2ad7d39e001e9673731206238625982178d31b99bf05e7a1e85aa484a7f530314bfb8a180 +MISC ChangeLog 3305 SHA256 f21a036633437305aaf94d43a7511fdb4fd81d9c8a582142796a8b0ff2b9607e SHA512 fc3f2b6578f5f21f85ce0ec99d3a7a4d8836e7e73691ad92f8fb401ee7c0008c1644f28e692c4f7ed51017417ec1ea0c1efeb5ca13c99f04e955f37983426263 WHIRLPOOL 64eacf98d659b716a6745ca000fa10dc1604be3ecd478f0c134298329874d9c029859b8d45f1e21add5c2d0a3380915fd6352ee38ec320b637eaba2a6421cdc3 +MISC ChangeLog-2015 4157 SHA256 936299bd5ef2d78f2bbd36f802ddbf96a9363127fd67d0f6a2daf8f445d99010 SHA512 4192a1c3c7bbb73148e5d702039f161570483f34ef469f31b0c1d372473bf5f74609aae6cea9f77dc60e18a0f1cfd6c6d11dbd00b049293676ed57496b3fcf58 WHIRLPOOL 60045f071e2c5f7a535b34778c1797dc340e8eff3d36d44b9afd3bcbd6ae7e1df5a159da5ea6e667245a019c463e94277871e4dfc97ff7d07c6de0e28805f678 +MISC metadata.xml 510 SHA256 a311ced29a564b918fe009e7c98f2f09d28c9da6edbf3ca34037c8abd64b8332 SHA512 aa9df2337c60f4d14eaa3e6b793f261b4bf48f48615a050dc1719c17c92a516bada5759f3b8d2ced06b3c4b276749a43b484cc4157099a2c8adcaca48b4d3b69 WHIRLPOOL f3ea870ad7862315e2ae7c6521362a22520387100f3badd173d02e1b058003fa5b19a89338dbed8bd6d4b8f629415dab4a95055f4ee9fdd94cc1cc86791609e1 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 @@ + + + + + perl@gentoo.org + Gentoo Perl Project + + + games@gentoo.org + Gentoo Games Project + + + Alien-SDL + Alien::SDL + + -- cgit v1.2.3