diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-arcade/yarsrevenge | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-arcade/yarsrevenge')
-rw-r--r-- | games-arcade/yarsrevenge/Manifest | 6 | ||||
-rw-r--r-- | games-arcade/yarsrevenge/files/0.99-math.patch | 6 | ||||
-rw-r--r-- | games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc43.patch | 10 | ||||
-rw-r--r-- | games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch | 10 | ||||
-rw-r--r-- | games-arcade/yarsrevenge/metadata.xml | 15 | ||||
-rw-r--r-- | games-arcade/yarsrevenge/yarsrevenge-0.99-r1.ebuild | 30 |
6 files changed, 77 insertions, 0 deletions
diff --git a/games-arcade/yarsrevenge/Manifest b/games-arcade/yarsrevenge/Manifest new file mode 100644 index 000000000000..9c53d738b413 --- /dev/null +++ b/games-arcade/yarsrevenge/Manifest @@ -0,0 +1,6 @@ +AUX 0.99-math.patch 182 BLAKE2B 18d5fd5b465ef6bd67caa435184b5dabb96114128b50c824ca12c01066b3138391008e96500b1c0b1b9e92f28a73c994cddb7a7ab770c428703964b6e5bd3cfd SHA512 6688e2c6a4a2537af94823d0bc845f6d764cb755689309712d29af951a092b4df030645792c248752e88a5013730dc34a6256be1219a57d0a3498738aeeb3a0a +AUX yarsrevenge-0.99-gcc43.patch 219 BLAKE2B 23b1aa4f4e15abb04b1391ac65b0258bc65a778ea646824ba5ed49ecc4405dfa09f93bd323bd0cb4a3b531be89de8af3d8b14b4735f027958a89a102569eb5d0 SHA512 2cd2549113930e0868fb551ad7a2e024278a8012b013b44762059303cb967d9c57d557e67702b5b01d0195fa885533770820a18c0e742838122e77473c86f93f +AUX yarsrevenge-0.99-gcc44.patch 258 BLAKE2B 71defcf5d287e3611b54850c50ebbceff81fbd0b84420dfac44c618cce1bb4db9014f532e6daced744b846fe634e8ccf040395192195b589d16f85909b9b8eef SHA512 dc3fbec65cd49950141bbd64b7b4a711217b0ac267166c71a9d175f1ba20fcedad97c1b89476d5c6f3a1630c5eae68d0f44738dba4383bb576edd059acd060e8 +DIST yar-0.99.tar.gz 535043 BLAKE2B 8760a039b987d701cfbeccf7612b14d60a1867b737999afb94383d9123cd82fe385dc12d410d333dceb07f580c75b7a515131f4b1ce2be25ee1725e6961150be SHA512 c520b9c6c7ff2c60c2e7e18e6c0d2ff376334706fb190ce0d015acba21815680029a30d7a573d0b4c41da2d9f932108417804141bf4557bc99550e30f699e8bb +EBUILD yarsrevenge-0.99-r1.ebuild 654 BLAKE2B 73d35237b0560d7daabe2c120c167acfb99cb6c641b83192f8c768af648160f32bc0a803881d609bbd462a589347d704bbb9b34b746689768f0e101e9a73e008 SHA512 4a06a7235e5dd96c3d26661f2ff39aaa4da23d0447c803c200a57036f3f575a11ad98e69db3eda7c388a03fe8400fdd09b2d86a98755ebfe4a9a92f1df437a00 +MISC metadata.xml 501 BLAKE2B ea182028d3c0df8a6c1ecaa82bc71ccab959b16316e1d1044f12d9ffbad8c4ec40aadac0fa2a3f46e65cfebfa33c64eac58fc44822ff702e6ca68d0496715caa SHA512 c822cb194e0fbc444a4b5a577d2abb319d010318cf2107507c87d24ca9ade92e2ce1afddac8d196f3f23667a3401224868ae157a559d761bc09ef668aa5406f3 diff --git a/games-arcade/yarsrevenge/files/0.99-math.patch b/games-arcade/yarsrevenge/files/0.99-math.patch new file mode 100644 index 000000000000..5e1136972325 --- /dev/null +++ b/games-arcade/yarsrevenge/files/0.99-math.patch @@ -0,0 +1,6 @@ +--- a/yar/graphics.cpp.orig 2004-06-02 14:14:38.174071320 -0400 ++++ b/yar/graphics.cpp 2004-06-02 14:14:50.352219960 -0400 +@@ -18,2 +18,3 @@ + #include "yar.hxx" ++#include <cmath> + diff --git a/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc43.patch b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc43.patch new file mode 100644 index 000000000000..511fad0091e1 --- /dev/null +++ b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc43.patch @@ -0,0 +1,10 @@ +--- a/yar/sgw.hxx ++++ b/yar/sgw.hxx +@@ -24,6 +24,7 @@ +
+ #include <iostream>
+ #include <string>
++#include <cstdlib>
+
+ #define DEFAULT_SCX (1024) // Default Screen Size and Depth
+ #define DEFAULT_SCY (768)
diff --git a/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch new file mode 100644 index 000000000000..29a52125c904 --- /dev/null +++ b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch @@ -0,0 +1,10 @@ +--- a/yar/game.cpp ++++ b/yar/game.cpp +@@ -15,6 +15,7 @@ + * * + ***************************************************************************/ + ++#include <cstdio> + #include "yar.hxx" + + diff --git a/games-arcade/yarsrevenge/metadata.xml b/games-arcade/yarsrevenge/metadata.xml new file mode 100644 index 000000000000..9a4a1e47a78a --- /dev/null +++ b/games-arcade/yarsrevenge/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <longdescription> +A rather weird shoot-em-up game that originated on the Atari 2600. It's more +fun than it looks. Just released so might be tweaked. +</longdescription> + <upstream> + <remote-id type="freshmeat">yarsrevenge</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/yarsrevenge/yarsrevenge-0.99-r1.ebuild b/games-arcade/yarsrevenge/yarsrevenge-0.99-r1.ebuild new file mode 100644 index 000000000000..b6923570b8f4 --- /dev/null +++ b/games-arcade/yarsrevenge/yarsrevenge-0.99-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Remake of the Atari 2600 classic Yar's Revenge" +HOMEPAGE="http://freshmeat.net/projects/yarsrevenge/" +SRC_URI="http://www.autismuk.freeserve.co.uk/yar-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libsdl[sound,joystick,video]" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/yar-${PV}" + +PATCHES=( + "${FILESDIR}"/${PV}-math.patch + "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-gcc44.patch +) + +src_install() { + default + make_desktop_entry "${PN}" "Yar's Revenge" +} |