diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-emulation/fbzx |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-emulation/fbzx')
-rw-r--r-- | games-emulation/fbzx/Manifest | 10 | ||||
-rw-r--r-- | games-emulation/fbzx/fbzx-2.10.0.ebuild | 37 | ||||
-rw-r--r-- | games-emulation/fbzx/fbzx-3.0.0.ebuild | 35 | ||||
-rw-r--r-- | games-emulation/fbzx/files/fbzx-2.10.0-build.patch | 12 | ||||
-rw-r--r-- | games-emulation/fbzx/files/fbzx-2.10.0-keyboard.patch | 11 | ||||
-rw-r--r-- | games-emulation/fbzx/files/fbzx-3.0.0-gentoo.patch | 118 | ||||
-rw-r--r-- | games-emulation/fbzx/metadata.xml | 15 |
7 files changed, 238 insertions, 0 deletions
diff --git a/games-emulation/fbzx/Manifest b/games-emulation/fbzx/Manifest new file mode 100644 index 000000000000..eb69ba61e61b --- /dev/null +++ b/games-emulation/fbzx/Manifest @@ -0,0 +1,10 @@ +AUX fbzx-2.10.0-build.patch 795 SHA256 0d919995a702d842678e18949657676ef339c84cc4d5297b2b71d8fd7f14f9ef SHA512 feee59ef0905cfc01a0dbb5b4a6d52a5c1d5774657664d61c68480536f5ee673f78cb8619b4161e580b9c3700eef8f570bcc3a555ee35ebf259dc6a99a290a7f WHIRLPOOL 13f638acc8c830a6a23d9e8d381acda4dbccb227fc37fc06ac16dcdf4a6585d35c9e26dbcc7faabe4635580ccb8554b53aed19518200ccf60194fea652b1d23c +AUX fbzx-2.10.0-keyboard.patch 284 SHA256 9a96d19ff9ba6687bca48309826ff83f7f1bd86edbb8037be423483a93455280 SHA512 803a607f264fcb74c13e77216773f2653ea12a1a5ff7de2d5cc96a531a1e35c6b3a61be9ec1ea52c104d35961c1aafe79140764ef04999768ca0ea5098e1c570 WHIRLPOOL 6f457fb8515583218d12958d1096bce047872dc4d8dd3681aa7d0776a1ef93b50b0e81e2ac9605fcb9e7bc7b5adef315be4f710349d90cdd76cb0a9a82e45a11 +AUX fbzx-3.0.0-gentoo.patch 6372 SHA256 7dc1cd1f8d48d25618d105c6970859dd14e12326f1e4cfd4961a1b5a2df9e2ab SHA512 4de9830dcfe015833939c1795f016d37afa0d364b94de2cc64b941f8d4df2acbe7220be951fa403bab6eba0db4882a8c15c376eac108fe6331e67708515b876e WHIRLPOOL 66a6f071147d130dec287f00cce5ecda86b5ae5264a09e67c38563b32dedd8b6a0ea18ae0c48477928fabbd08bac3e4ab007e99cdfbe252e03e2f859d57c2ca5 +DIST fbzx-2.10.0.tar.bz2 326352 SHA256 deed3d37247e4154bb10325d014461c8caf0c55ca23a611c62035e491a4f960f SHA512 b96ae4029e4ef73d15c851a54c8e057131ba6e0acf03820222aa4d4bc91e8ad497556cce41c5faef230939f1c88423e09e435f9ce91c0e0f183f6eac7843bb36 WHIRLPOOL 97bb0fcbb9d1c5921b7c6f9d4873fd620d2219b71abbaece2453f4417bace91c1b1fab44382f2d63b5aa8c3225f5f865150b51ce534a228712a39543912ea908 +DIST fbzx-3.0.0.tar.gz 435239 SHA256 8c739edd3de599943daea0078220b5c7774fc04b62a24a7a33854e5ee24056f3 SHA512 cf2a01a1dde62da03c1f04e91f226859ae4cf06d099597dc1a1554c4ff9782dd287f9d924083829eee40cf0450c053d818f963f68381f9e16e0e61ca1f3d3083 WHIRLPOOL d56d7c54458f75de135b4e675bc7980ca72bebebbd0461c52db5d9be34faae1000c9d7e52dea6a5a199133edb2a5b9974979ee27dc30d811235c90fca83c908f +EBUILD fbzx-2.10.0.ebuild 916 SHA256 903dff0620a0bf980c57a4ecbbe32d6608a31e482e58bc6ee9e9ea5ca56b60d0 SHA512 912f09e1d06528980c032921a2cd2b32de00d15051cfd4f61cde693389d7c70f1fa043401f86901e9546fd15c2648a4a035aa161a3a15468293f8c64a1392ad0 WHIRLPOOL aafd40418004e51ea0503165722da11b507f4b8e40c7b844211b387a69e2e2f37ce915b050b58f37498c0a5054ec840516c29b0ba9f3ace26ec091ad8415074f +EBUILD fbzx-3.0.0.ebuild 919 SHA256 cd0bbcc37b478dd543e759c95a654b1b3a3c86d6cd0b937cbb0c89849082820c SHA512 011bd844f9809aebb9113e73f1d37d469e9d05d97ca8fc70356126f0bd43e5eee07f2c3226e2345b0f130d3b80673bf0da9d4f09ed007832c70fcf9bc2a62c12 WHIRLPOOL 84d008edaf84bbe0cccfbe8a46c9653e3c0300655485c1218972c0bed0f05d16655b19066c9f433ad7e43be266a711f3bc85096dd66f96a8e35aaae8b6213caa +MISC ChangeLog 3139 SHA256 d68327210438d00defe84bf9804c22625d25af5257b54a42674d0dbbcd4bb8c6 SHA512 2360867184c27602c21ccc056583973cf3fd910184b15322708c94e3886a42a32bf103e8a58e86dc05c2abcd45adf4f5f1edfab4040d2c64621ffad2c31315dc WHIRLPOOL fbc2ffd616ab623377e3f644b57be811940905673269367523c24204db3ec812b6da202c8937881c7e909eb615c9b497f1bbfe5fab9710b293408846e6b7175a +MISC ChangeLog-2015 3746 SHA256 53934a524cc53b103e8f2b65ec8b1b4075719e987234e271b6a9f441550b06ec SHA512 7ba4ee53bce75cd26460ea3a584dbd1a60fd20178c3cf92a4a81e085f0ff73cb0255a877354699613a498aa67d3ece2b1986e80589e96d2388164c3b486b3152 WHIRLPOOL 140a03f43db5d53376bd5e7a3683a5e0d04590fdddbcd185fdacab8557926083cb483891e7a3bde7f98e77d30ddb748ea94a8fd3ff77873e12706c028f2abbfd +MISC metadata.xml 469 SHA256 c9003d9301b12bebfada790f6ff4e2198960122c66f1d4b8d8efde9cc577d3b6 SHA512 72d484a764834cd1691665dea6904f154af7a4a6f4c8dc43eaeafe71ec775c8bf0b62ffe42d3cf244829292ff4d0f8a677eccce1902110b94e6f1fdd31219a25 WHIRLPOOL f1e37a3f47965bbaf25372f06eed717e6d3cfccd799846fb9b44cb0b7952e16127db06c26aaaea0d346808bff154e58aa5f24d643bd1a94301915c08b034a90f diff --git a/games-emulation/fbzx/fbzx-2.10.0.ebuild b/games-emulation/fbzx/fbzx-2.10.0.ebuild new file mode 100644 index 000000000000..105a1fc627d5 --- /dev/null +++ b/games-emulation/fbzx/fbzx-2.10.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A Sinclair Spectrum emulator, designed to work at full screen using the FrameBuffer" +HOMEPAGE="http://www.rastersoft.com/fbzx.html" +SRC_URI="http://www.rastersoft.com/descargas/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="media-libs/libsdl[video] + media-sound/pulseaudio + media-libs/alsa-lib" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -i -e "s|/usr/share/|${GAMES_DATADIR}/${PN}/|g" emulator.c || die + epatch \ + "${FILESDIR}"/${P}-build.patch \ + "${FILESDIR}"/${P}-keyboard.patch +} + +src_install() { + dogamesbin fbzx + insinto "${GAMES_DATADIR}/${PN}" + doins -r keymap.bmp spectrum-roms + dodoc AMSTRAD CAPABILITIES FAQ PORTING README* TODO VERSIONS + doicon fbzx.svg + make_desktop_entry fbzx FBZX + prepgamesdirs +} diff --git a/games-emulation/fbzx/fbzx-3.0.0.ebuild b/games-emulation/fbzx/fbzx-3.0.0.ebuild new file mode 100644 index 000000000000..257a97eb1774 --- /dev/null +++ b/games-emulation/fbzx/fbzx-3.0.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A Sinclair Spectrum emulator, designed to work at full screen using the FrameBuffer" +HOMEPAGE="https://github.com/rastersoft/fbzx" +SRC_URI="https://github.com/rastersoft/fbzx/archive/3.0.0.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="media-libs/libsdl[video] + media-sound/pulseaudio + media-libs/alsa-lib" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -i -e "s|/usr/share/|${GAMES_DATADIR}/${PN}/|g" src/llscreen.cpp || die + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_install() { + dogamesbin src/fbzx + insinto "${GAMES_DATADIR}/${PN}" + doins -r data/{keymap.bmp,spectrum-roms} + dodoc AMSTRAD CAPABILITIES FAQ PORTING README* TODO VERSIONS + doicon data/fbzx.svg + make_desktop_entry fbzx FBZX + prepgamesdirs +} diff --git a/games-emulation/fbzx/files/fbzx-2.10.0-build.patch b/games-emulation/fbzx/files/fbzx-2.10.0-build.patch new file mode 100644 index 000000000000..191e7f09ac1e --- /dev/null +++ b/games-emulation/fbzx/files/fbzx-2.10.0-build.patch @@ -0,0 +1,12 @@ +diff -ru fbzx-2.10.0.orig/Makefile fbzx-2.10.0/Makefile +--- fbzx-2.10.0.orig/Makefile 2012-06-22 19:44:32.000000000 -0400 ++++ fbzx-2.10.0/Makefile 2012-08-11 03:08:12.761127099 -0400 +@@ -4,7 +4,7 @@ + PREFIX2=/usr/local + endif + +-CFLAGS += `pkg-config --cflags sdl libpulse-simple alsa` -O2 -Wno-pointer-sign -Wall -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS ++CFLAGS += `pkg-config --cflags sdl libpulse-simple alsa` -Wno-pointer-sign -Wall -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS + LDFLAGS += `pkg-config --libs sdl libpulse-simple alsa` + + fbzx: computer.o Z80free.o Z80free_codes.o Z80free_codesCB.o Z80free_codesED.o Z80free_codesDD.o Z80free_codesFD.o Z80free_codesDDCB.o Z80free_codesFDCB.o emulator.o cargador.o characters.o menus.o sound.o tape.o spk_ay.o microdrive.o diff --git a/games-emulation/fbzx/files/fbzx-2.10.0-keyboard.patch b/games-emulation/fbzx/files/fbzx-2.10.0-keyboard.patch new file mode 100644 index 000000000000..3920748c07e9 --- /dev/null +++ b/games-emulation/fbzx/files/fbzx-2.10.0-keyboard.patch @@ -0,0 +1,11 @@ +--- menus.c.orig ++++ menus.c +@@ -1820,7 +1820,7 @@ + buffer=screen->pixels; + + clean_screen(); +- fichero=myfopen("fbzx/keymap.bmp","r"); ++ fichero=myfopen("keymap.bmp","r"); + if (fichero==NULL) { + strcpy(ordenador.osd_text,"Keymap picture not found"); + ordenador.osd_time=100; diff --git a/games-emulation/fbzx/files/fbzx-3.0.0-gentoo.patch b/games-emulation/fbzx/files/fbzx-3.0.0-gentoo.patch new file mode 100644 index 000000000000..0e1f02337146 --- /dev/null +++ b/games-emulation/fbzx/files/fbzx-3.0.0-gentoo.patch @@ -0,0 +1,118 @@ +diff -ru fbzx-3.0.0.orig/src/Makefile fbzx-3.0.0/src/Makefile +--- fbzx-3.0.0.orig/src/Makefile 2015-04-01 17:22:47.000000000 -0400 ++++ fbzx-3.0.0/src/Makefile 2016-04-01 13:15:27.230190807 -0400 +@@ -1,78 +1,74 @@ +-CC=g++ -c -O2 +-CPP=g++ -c -O2 +-LN=g++ -O2 +- + CFLAGS += `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS +-CPPFLAGS += `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS ++CXXFLAGS += `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS + LDFLAGS += `pkg-config --libs sdl libpulse-simple alsa` + + + fbzx: cargador.o cmdline.o computer.o emulator.o keyboard.o llscreen.o llsound.o menus.o microdrive.o osd.o screen.o signals.o spk_ay.o tape.o Z80free.o Z80free_codes.o Z80free_codesCB.o Z80free_codesED.o Z80free_codesDD.o Z80free_codesFD.o Z80free_codesDDCB.o Z80free_codesFDCB.o +- $(LN) -o fbzx cargador.o cmdline.o computer.o emulator.o keyboard.o llscreen.o llsound.o menus.o microdrive.o osd.o screen.o signals.o spk_ay.o tape.o Z80free.o Z80free_codes.o Z80free_codesCB.o Z80free_codesED.o Z80free_codesDD.o Z80free_codesFD.o Z80free_codesDDCB.o Z80free_codesFDCB.o $(LDFLAGS) ++ $(CXX) -o fbzx cargador.o cmdline.o computer.o emulator.o keyboard.o llscreen.o llsound.o menus.o microdrive.o osd.o screen.o signals.o spk_ay.o tape.o Z80free.o Z80free_codes.o Z80free_codesCB.o Z80free_codesED.o Z80free_codesDD.o Z80free_codesFD.o Z80free_codesDDCB.o Z80free_codesFDCB.o $(LDFLAGS) + + Z80free.o: z80free/Z80free.c z80free/Z80free.h +- $(CC) -o Z80free.o z80free/Z80free.c ++ $(CXX) -c $(CFLAGS) -o Z80free.o z80free/Z80free.c + + Z80free_codes.o: z80free/Z80free_codes.c z80free/Z80free.h +- $(CC) -o Z80free_codes.o z80free/Z80free_codes.c ++ $(CXX) -c $(CFLAGS) -o Z80free_codes.o z80free/Z80free_codes.c + + Z80free_codesCB.o: z80free/Z80free_codesCB.c z80free/Z80free.h +- $(CC) -o Z80free_codesCB.o z80free/Z80free_codesCB.c ++ $(CXX) -c $(CFLAGS) -o Z80free_codesCB.o z80free/Z80free_codesCB.c + + Z80free_codesED.o: z80free/Z80free_codesED.c z80free/Z80free.h +- $(CC) -o Z80free_codesED.o z80free/Z80free_codesED.c ++ $(CXX) -c $(CFLAGS) -o Z80free_codesED.o z80free/Z80free_codesED.c + + Z80free_codesDD.o: z80free/Z80free_codesDD.c z80free/Z80free.h +- $(CC) -o Z80free_codesDD.o z80free/Z80free_codesDD.c ++ $(CXX) -c $(CFLAGS) -o Z80free_codesDD.o z80free/Z80free_codesDD.c + + Z80free_codesFD.o: z80free/Z80free_codesFD.c z80free/Z80free.h +- $(CC) -o Z80free_codesFD.o z80free/Z80free_codesFD.c ++ $(CXX) -c $(CFLAGS) -o Z80free_codesFD.o z80free/Z80free_codesFD.c + + Z80free_codesDDCB.o: z80free/Z80free_codesDDCB.c z80free/Z80free.h +- $(CC) -o Z80free_codesDDCB.o z80free/Z80free_codesDDCB.c ++ $(CXX) -c $(CFLAGS) -o Z80free_codesDDCB.o z80free/Z80free_codesDDCB.c + + Z80free_codesFDCB.o: z80free/Z80free_codesFDCB.c z80free/Z80free.h +- $(CC) -o Z80free_codesFDCB.o z80free/Z80free_codesFDCB.c ++ $(CXX) -c $(CFLAGS) -o Z80free_codesFDCB.o z80free/Z80free_codesFDCB.c + + cargador.o: cargador.cpp spk_ay.hh keyboard.hh emulator.hh screen.hh osd.hh z80free/Z80free.h computer.hh signals.hh llscreen.hh tape.hh cargador.hh +- $(CPP) $(CPPFLAGS) -o cargador.o cargador.cpp ++ $(CXX) -c $(CXXFLAGS) -o cargador.o cargador.cpp + + cmdline.o: cmdline.cpp cmdline.hh +- $(CPP) $(CPPFLAGS) -o cmdline.o cmdline.cpp ++ $(CXX) -c $(CXXFLAGS) -o cmdline.o cmdline.cpp + + computer.o: computer.cpp z80free/Z80free.h llsound.hh keyboard.hh computer.hh screen.hh signals.hh llscreen.hh tape.hh emulator.hh osd.hh spk_ay.hh microdrive.hh menus.hh +- $(CPP) $(CPPFLAGS) -o computer.o computer.cpp ++ $(CXX) -c $(CXXFLAGS) -o computer.o computer.cpp + + emulator.o: emulator.cpp spk_ay.hh keyboard.hh llsound.hh cmdline.hh computer.hh screen.hh signals.hh llscreen.hh z80free/Z80free.h tape.hh emulator.hh osd.hh microdrive.hh menus.hh cargador.hh +- $(CPP) $(CPPFLAGS) -o emulator.o emulator.cpp ++ $(CXX) -c $(CXXFLAGS) -o emulator.o emulator.cpp + + keyboard.o: keyboard.cpp menus.hh llscreen.hh llsound.hh computer.hh screen.hh signals.hh z80free/Z80free.h tape.hh emulator.hh osd.hh keyboard.hh +- $(CPP) $(CPPFLAGS) -o keyboard.o keyboard.cpp ++ $(CXX) -c $(CXXFLAGS) -o keyboard.o keyboard.cpp + + llscreen.o: llscreen.cpp osd.hh font.h llscreen.hh +- $(CPP) $(CPPFLAGS) -o llscreen.o llscreen.cpp ++ $(CXX) -c $(CXXFLAGS) -o llscreen.o llscreen.cpp + + llsound.o: llsound.cpp emulator.hh screen.hh osd.hh z80free/Z80free.h computer.hh signals.hh llscreen.hh tape.hh llsound.hh +- $(CPP) $(CPPFLAGS) -o llsound.o llsound.cpp ++ $(CXX) -c $(CXXFLAGS) -o llsound.o llsound.cpp + + menus.o: menus.cpp spk_ay.hh microdrive.hh z80free/Z80free.h keyboard.hh llsound.hh llscreen.hh menus.hh tape.hh signals.hh emulator.hh screen.hh osd.hh computer.hh cargador.hh +- $(CPP) $(CPPFLAGS) -o menus.o menus.cpp ++ $(CXX) -c $(CXXFLAGS) -o menus.o menus.cpp + + microdrive.o: microdrive.cpp osd.hh emulator.hh screen.hh z80free/Z80free.h computer.hh signals.hh llscreen.hh tape.hh microdrive.hh +- $(CPP) $(CPPFLAGS) -o microdrive.o microdrive.cpp ++ $(CXX) -c $(CXXFLAGS) -o microdrive.o microdrive.cpp + + osd.o: osd.cpp osd.hh +- $(CPP) $(CPPFLAGS) -o osd.o osd.cpp ++ $(CXX) -c $(CXXFLAGS) -o osd.o osd.cpp + + screen.o: screen.cpp keyboard.hh computer.hh screen.hh signals.hh llscreen.hh z80free/Z80free.h tape.hh emulator.hh osd.hh +- $(CPP) $(CPPFLAGS) -o screen.o screen.cpp ++ $(CXX) -c $(CXXFLAGS) -o screen.o screen.cpp + + signals.o: signals.cpp signals.hh +- $(CPP) $(CPPFLAGS) -o signals.o signals.cpp ++ $(CXX) -c $(CXXFLAGS) -o signals.o signals.cpp + + spk_ay.o: spk_ay.cpp spk_ay.hh llsound.hh computer.hh screen.hh signals.hh llscreen.hh z80free/Z80free.h tape.hh emulator.hh osd.hh +- $(CPP) $(CPPFLAGS) -o spk_ay.o spk_ay.cpp ++ $(CXX) -c $(CXXFLAGS) -o spk_ay.o spk_ay.cpp + + tape.o: tape.cpp z80free/Z80free.h tape.hh signals.hh emulator.hh screen.hh osd.hh computer.hh llscreen.hh +- $(CPP) $(CPPFLAGS) -o tape.o tape.cpp ++ $(CXX) -c $(CXXFLAGS) -o tape.o tape.cpp + +diff -ru fbzx-3.0.0.orig/src/menus.cpp fbzx-3.0.0/src/menus.cpp +--- fbzx-3.0.0.orig/src/menus.cpp 2015-04-01 17:22:47.000000000 -0400 ++++ fbzx-3.0.0/src/menus.cpp 2016-04-01 13:15:33.213974823 -0400 +@@ -1691,7 +1691,7 @@ + + void keyboard_menu() { + +- llscreen->paint_picture("fbzx/keymap.bmp"); ++ llscreen->paint_picture("keymap.bmp"); + print_copy(); + wait_key(); + llscreen->clear_screen(); diff --git a/games-emulation/fbzx/metadata.xml b/games-emulation/fbzx/metadata.xml new file mode 100644 index 000000000000..375b39e89bcb --- /dev/null +++ b/games-emulation/fbzx/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> + FBZX is a Sinclair Spectrum emulator, designed to work at full screen + using the FrameBuffer. + </longdescription> + <upstream> + <remote-id type="github">rastersoft/fbzx</remote-id> + </upstream> +</pkgmetadata> |