diff options
author | Julian Ospald <hasufell@gentoo.org> | 2012-08-06 16:41:53 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2012-08-06 16:41:53 +0000 |
commit | bfa47240c0f68d49b32ce502cf8cc091c0a83485 (patch) | |
tree | 54f5bc88d2f4869158ad3d4012ab2ee97959acc3 /games-arcade | |
parent | Version bump. Update udev firmware search path and add /lib support patch. (diff) | |
download | historical-bfa47240c0f68d49b32ce502cf8cc091c0a83485.tar.gz historical-bfa47240c0f68d49b32ce502cf8cc091c0a83485.tar.bz2 historical-bfa47240c0f68d49b32ce502cf8cc091c0a83485.zip |
initial commit based on ebuild from Alexander Berntsen
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/retrobattle/ChangeLog | 11 | ||||
-rw-r--r-- | games-arcade/retrobattle/Manifest | 20 | ||||
-rw-r--r-- | games-arcade/retrobattle/files/retrobattle-1.0.0-build.patch | 30 | ||||
-rw-r--r-- | games-arcade/retrobattle/files/retrobattle-1.0.0-sound.patch | 17 | ||||
-rw-r--r-- | games-arcade/retrobattle/metadata.xml | 10 | ||||
-rw-r--r-- | games-arcade/retrobattle/retrobattle-1.0.0.ebuild | 41 | ||||
-rw-r--r-- | games-arcade/xscavenger/Manifest | 8 |
7 files changed, 133 insertions, 4 deletions
diff --git a/games-arcade/retrobattle/ChangeLog b/games-arcade/retrobattle/ChangeLog new file mode 100644 index 000000000000..34ca80db5ea6 --- /dev/null +++ b/games-arcade/retrobattle/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-arcade/retrobattle +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/retrobattle/ChangeLog,v 1.1 2012/08/06 16:41:53 hasufell Exp $ + +*retrobattle-1.0.0 (06 Aug 2012) + + 06 Aug 2012; Julian Ospald <hasufell@gentoo.org> +retrobattle-1.0.0.ebuild, + +files/retrobattle-1.0.0-build.patch, +files/retrobattle-1.0.0-sound.patch, + +metadata.xml: + initial commit based on ebuild from Alexander Berntsen + diff --git a/games-arcade/retrobattle/Manifest b/games-arcade/retrobattle/Manifest new file mode 100644 index 000000000000..ad9b32fb18a7 --- /dev/null +++ b/games-arcade/retrobattle/Manifest @@ -0,0 +1,20 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX retrobattle-1.0.0-build.patch 734 SHA256 484661b0ecb1f1b6e981d8d5fcca54336c01fa1f63a7d2e2f35c24e756668075 SHA512 ef1bfaa78911b6a5d69a03ad0779fece864a521faf3cba99e60214ca46845f019c5a077562a396a3775441020275454955e83ecbb9bedf691dedbf1a178b0549 WHIRLPOOL 61f0fb9665485b12b13ec2188533ac3fba5e7c89dd70bfe6a0d2f357f0b292b6b287dc178b7c9b24993d03af72d81e68001bf65e6efafd024afe7ca5b3821ec3 +AUX retrobattle-1.0.0-sound.patch 435 SHA256 5a2bffe53499a7f5a94b1b8bf98c8b02804927208e4cad50eda203d2768b1ad1 SHA512 e25737a8fd55ae7e54015a122754811e748e5cb26adf866ddd912547c72acf1ea8a70b33724bd17ee35c959051d4210047aaee8a7a88ebe85ab0c4a1083386a1 WHIRLPOOL e37078c0c6cd547ec347c0916c9b44788b11e5b3fa0537d2774b4dfd9ca1bb2c592ee01e0d612c028fad3476951b4e7680b342539d73cc5689157e7ce91e10e1 +DIST retrobattle-src-1.0.0.tar.bz2 4007959 SHA256 0d184c6d7afc2865687fb9323754268692db165799f617422aafd57096540d68 SHA512 2d006fc9a62e57d7fb3c0f0e535a5c702204b6341566064d7683526923839e8a43e14b308e76a8a1f6794f7c682f6344975956877f80bbcbc33ee61cd640ff9e WHIRLPOOL 0af965622d322a65ff3521ab816d208e4f8875a1620b9da51ddb1a4b39c97cbf7e305cf51ac3d27773b1bea43f254648dd846964fc9cec9eb3716f766e1f44cc +EBUILD retrobattle-1.0.0.ebuild 1050 SHA256 f479a34d7904cb8947cb0564de689f23fbc2b3291f9afc8339d00805f7f41f11 SHA512 5f008f9ea7e04870619b6830fd905d00a85ea59e3d6fa0f38b87620048269d034702382d013430364fc4f420a96b2e6710f72623a8e4c44e4b97024db6f09d25 WHIRLPOOL 31ec540226d27727d491d3a5ec6dd3cbee5ea1dbd485cb12a9f9e10cd2c3de6c1d530037d73f0cd909f706b106f9acb42ccadc5f1330c77beeffc5ad895b8289 +MISC ChangeLog 488 SHA256 fc1145fbadcdee4809402e5c5ccca72ea9ebabc400c96a7134fa658c6a8d4ac9 SHA512 9b0c72aa8ef6ca340d491cb520a480f07e52b6cfff9e9b69fbbb2bfa1fb68d71d3a6895493cf71c51a0f1d9c4d4d462986bd4710bd2a6f3fa086b67158dc4967 WHIRLPOOL 5101117fb9d01c3d3c16bceaa44845d0b732716b05e6433798bb673b2152e6f04a04ecedc41665fdf8f5ddc7b77eafa335a2766d0cf107e0549575610ffb0527 +MISC metadata.xml 255 SHA256 8ce125b1cb2a8da5fe808223ae6ed60fe03598c692e5020f0a8aaee09b5d6ca3 SHA512 29f4a4a15fc968a3151c449354cd2003831f4b66b57d72222c46d4e4f7ff0586ed3f0b76d09fadf0b43fbb3a46951b19207dd6d38b79fe394b61694cd272ad95 WHIRLPOOL 373afc42b6a5f9f473397b1b95b73377110a2d7cf3590bdb8e0ef4b58c9628a06b1af46db726416fbaad0c29b91ee1eb631eccac14a26be994b705a43f097db8 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJQH/K+AAoJEFpvPKfnPDWzrrcH/1YdkHz7uD01lXnLd5REdTlF +dCQ+yFA7RO1WtOCrrk0FANNxyfhygNiVFfqC4bUw2bKqZfzXnL3ncatkkwoFRENk +lE0uZvWDcrjpA4zGqlnImE9BEJMlIfnSnTyrBKDcUBd9pVafMF8lPL1Ky5DyJOx+ +CzJLxCbq8Qz+U1IbHceuZ8XDGdiR7sJsTszTmEIoVXvkueIE0Jn3J1Rym/xPFjLh +LTIuzHl9YJG4j4tU0ufZ3KUgjw4DmBP97iWweEIWe0uAa8/YiiikGdBDrid/PrD/ +RjoUbRf2kw67ZiH63BG80Div7Rg27L1/mmHus1nCaQQ00waZ24hcJEJvl00oK+I= +=LF0q +-----END PGP SIGNATURE----- diff --git a/games-arcade/retrobattle/files/retrobattle-1.0.0-build.patch b/games-arcade/retrobattle/files/retrobattle-1.0.0-build.patch new file mode 100644 index 000000000000..3673ef01e17f --- /dev/null +++ b/games-arcade/retrobattle/files/retrobattle-1.0.0-build.patch @@ -0,0 +1,30 @@ +Author: hasufell <hasufell@gentoo.org> +Date: Sat Aug 4 12:15:53 2012 +0200 + + respect CXX, CFLAGS and LDFLAGS + +--- src/Makefile ++++ src/Makefile +@@ -1,10 +1,10 @@ +-CFLAGS = `sdl-config --cflags` -g -Wall -I. -DENABLE_BINRELOC +-CPPFLAGS = $(CFLAGS) ++CXXFLAGS += $(shell sdl-config --cflags) -I. ++CPPFLAGS += -DENABLE_BINRELOC + + # Uncomment the first LIBS line and comment out the other LIBS line to + # compile without SDL_Mixer + #LIBS = `sdl-config --libs` +-LIBS = `sdl-config --libs` -lSDL_mixer ++LIBS = $(shell sdl-config --libs) -lSDL_mixer + + RETROINSTALLDIR ?= /opt + +@@ -25,7 +25,7 @@ + + + retrobattle: $(RETRO) +- g++ -o $@ $^ $(LIBS) ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) + mv $@ .. + + clean: diff --git a/games-arcade/retrobattle/files/retrobattle-1.0.0-sound.patch b/games-arcade/retrobattle/files/retrobattle-1.0.0-sound.patch new file mode 100644 index 000000000000..591ce66e9f69 --- /dev/null +++ b/games-arcade/retrobattle/files/retrobattle-1.0.0-sound.patch @@ -0,0 +1,17 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Sun Aug 5 16:22:22 UTC 2012 +Subject: sound + +resolves crackling background music + +--- src/SoundManager.cc ++++ src/SoundManager.cc +@@ -25,7 +25,7 @@ + SoundManager::SoundManager(char *datadir) + { + #ifndef NO_SDL_MIXER +- if(Mix_OpenAudio(22050, AUDIO_S16SYS, 2, 1024)) ++ if(Mix_OpenAudio(44100, AUDIO_S16SYS, 2, 1024)) + { + printf("SDL_mixer says: %s\n", Mix_GetError()); + } diff --git a/games-arcade/retrobattle/metadata.xml b/games-arcade/retrobattle/metadata.xml new file mode 100644 index 000000000000..e52db06ebd8c --- /dev/null +++ b/games-arcade/retrobattle/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> +</pkgmetadata> + diff --git a/games-arcade/retrobattle/retrobattle-1.0.0.ebuild b/games-arcade/retrobattle/retrobattle-1.0.0.ebuild new file mode 100644 index 000000000000..bf1190743706 --- /dev/null +++ b/games-arcade/retrobattle/retrobattle-1.0.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/retrobattle/retrobattle-1.0.0.ebuild,v 1.1 2012/08/06 16:41:53 hasufell Exp $ + +EAPI=3 +inherit eutils games + +MY_P="${PN}-src-${PV}" +DESCRIPTION="A NES-like platform arcade game" +HOMEPAGE="http://remar.se/andreas/retrobattle/" +SRC_URI="http://remar.se/andreas/retrobattle/files/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +# test is incomplete +RESTRICT="test" + +DEPEND="media-libs/libsdl[X,audio,video] + media-libs/sdl-mixer[wav]" + +S=${WORKDIR}/${MY_P}/src + +src_prepare() { + epatch "${FILESDIR}"/${P}-{build,sound}.patch +} + +src_install() { + insinto "${GAMES_DATADIR}"/${PN} + doins -r "${WORKDIR}"/${MY_P}/data || die + + # wrapper to pass datadir location + newgamesbin "${WORKDIR}"/${MY_P}/${PN} ${PN}.bin || die + games_make_wrapper ${PN} "${PN}.bin \"${GAMES_DATADIR}/${PN}\"" + + make_desktop_entry ${PN} + dodoc "${WORKDIR}"/${MY_P}/{manual.txt,README} + + prepgamesdirs +} diff --git a/games-arcade/xscavenger/Manifest b/games-arcade/xscavenger/Manifest index e6c2a82aefd7..11a13d2a3208 100644 --- a/games-arcade/xscavenger/Manifest +++ b/games-arcade/xscavenger/Manifest @@ -1,5 +1,5 @@ -AUX 1.4.4-gentoo.patch 5762 RMD160 7f60b6098f8f1337288e745e0377b3b323147588 SHA1 039780e1ccc10b4d0debd9e3f4afadb4e52311be SHA256 6950fa5c300938af5c27dca5a0c9a0f640a0d2b7980a800f2b6eceee928628a3 +AUX 1.4.4-gentoo.patch 5762 SHA256 6950fa5c300938af5c27dca5a0c9a0f640a0d2b7980a800f2b6eceee928628a3 SHA512 95e5c803b4d60b110be44254d1ceb78ea4ba3c7c72d6d95d856616902160141975ee57ee40c4a8c785220d71821531a02d2b823cfa5dca2cbbdd6b8b9bb842a5 WHIRLPOOL 33d56ece00c03e2b2f589478ea8ba81ae13a6b7440a88d084d2638841a4ad69159ccded27c9e779f16e7a9d0f953af8c7d057dd0a2e389d6034ae527a1a70d5b DIST xscavenger-1.4.4.tgz 193346 RMD160 e410c86dbf406243cfac3d0f81ea83e79cdeab32 SHA1 d9ef34d2ec1a9dfeca398004725cae4878bf9f2e SHA256 65c8d2224068151fcac704f34b91fb46056f77b708b1a60170a955d93751553e -EBUILD xscavenger-1.4.4.ebuild 994 RMD160 6be5a38b1b7a956cf3c7ceb4e0603d9a4a88c49f SHA1 bf9bb926948876f106e6c2fe45f32779de52a3c0 SHA256 fd8563717e33f8518eeec266b575da5dbef609e0defcd35a10670212a8339927 -MISC ChangeLog 1128 RMD160 ba5b007c7a4e39807cd519b0dd4b531f3ed0e7ff SHA1 cc9f8776f4fabb017ff02d8d25e4359c7d2639f2 SHA256 b4b684716c20e6f79deb0ea4f2af895b1e81d3ed203ce26a594fb15277a510e3 -MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 +EBUILD xscavenger-1.4.4.ebuild 1012 SHA256 595fc9581499cf23c55e14cdb606235b8fbb89aa2155cb4f94a52a64f4a2496d SHA512 d4004cbc8f95932b8aae78797d676aeed261fad01f199c0fa01cc736da7f9ca7d06d7983b45c9aa6afc5e489337c9aa15aa95bb3e27b150868529c6666476dba WHIRLPOOL ee63179c7a51da92dfe74f7c8d8ca05a600b1c60a224fd2b8af7289314cb3fad720597bd335060ba20056c53d894c7e14a1a16c7522d97196bf62dabfeb2317c +MISC ChangeLog 1272 SHA256 d454e4bf6b4b18381f648d3b7a63bd38157862b8a103649de4e0089a1bcb6ef1 SHA512 221d8951bfa783cebe1790f834f957f0f89c019f2feb72ddfe0080f0c10ec13b71c1fcc71fb19e3b1a2f4737a716227eb51a911ce2ee1d8762d683c16a5b5cf1 WHIRLPOOL 20f37c6f4238564e7a860b70bedce958316bb5682ce422ed3a9b9dcbe80b36640500d09e7da2dcb8800e1b214c0f01565dc1048eafa6dfbceced99b65ca05e2b +MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada |