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 --- games-emulation/stella/Manifest | 7 +++ games-emulation/stella/metadata.xml | 11 +++++ games-emulation/stella/stella-4.0.ebuild | 68 +++++++++++++++++++++++++++++ games-emulation/stella/stella-4.7.2.ebuild | 69 ++++++++++++++++++++++++++++++ 4 files changed, 155 insertions(+) create mode 100644 games-emulation/stella/Manifest create mode 100644 games-emulation/stella/metadata.xml create mode 100644 games-emulation/stella/stella-4.0.ebuild create mode 100644 games-emulation/stella/stella-4.7.2.ebuild (limited to 'games-emulation/stella') diff --git a/games-emulation/stella/Manifest b/games-emulation/stella/Manifest new file mode 100644 index 000000000000..1643ee73a397 --- /dev/null +++ b/games-emulation/stella/Manifest @@ -0,0 +1,7 @@ +DIST stella-4.0-src.tar.gz 2283736 SHA256 bc3445109a090360070644f249b7b6c8f73b6044606d77d65303538785d426c9 SHA512 42df4429dfbfc268e7b7d1c538641b443703ba2af4ad4e66b9df05f2b7d62a860a1895f738d95a3a0b879052865137d31a22b8611f3b93ff9746649553c099fa WHIRLPOOL f0e1433a509724f0a5725aefbd1bb277729e985a173551051c2bf39eeb279f19053f14d6fa384f1a0104de9d0f9cd6f49ffe84347fcd59edb42189e681772a95 +DIST stella-4.7.2-src.tar.xz 1715332 SHA256 b2727a0e2d3b112d35dcb89b4bdc789e2c7f15e9d9c7054a69a2f67facd7416e SHA512 dcfaba9b554ab08c9ba79c8e95551bc688fae4ab0ab368df11c05f3dc7c9431d32068d5dd658ec4d1aa8cb826c7205fc4f301145a149d32369833409992455e2 WHIRLPOOL 5eb23541879b82083784054cc6783a55f7c70533a03747f7b5b5fec6632bb0b6062c9a530a6d5e98552749c8e22de8cbf08254407cdd3b6281a7f4aae74cb514 +EBUILD stella-4.0.ebuild 1381 SHA256 a81b0320ffd00fd6b807feaba3f413a4f63d5c322d3a70078fa609a33de60f82 SHA512 9c2cd3371b56fbcdbdaa08593d89b9adaa964c15fbe5815d060f5ae791d2db43bc31048e2deb9c1607d76f192264b587e860d7f023b067dc5ce96c0fb7e464a0 WHIRLPOOL 6e6ff561e6e68ae14b0115d7e918dc774cb67b1932768395f946f2ecc4f0e25c1a5625a8a3a714c92d1b39913d54eabf27ca3c6d4f37444fa04775d2c10928d8 +EBUILD stella-4.7.2.ebuild 1366 SHA256 116d5a2730036ffde1f425c806a18f2b94a3b2a9721195e45826fac3a364be4e SHA512 8d37608e9d2088e45a17c2b566176409965a3aab04d11be7d7ce556ff7359fb0b5c03bf22fb49e70a97ed98bba8ff081d26d8c34bdd2b14e22759c5e586abe8b WHIRLPOOL 36572cf11725e3f075208ca9c1aeb7358e45fd341ba5e62bfc4a9519d2aa31ad351fb60c0758c8d395a905c31a2aa20f34af2fb97ca758c49d847b708fba4723 +MISC ChangeLog 3044 SHA256 318456e46e419bf60c3819ddc21d7b4b4ba92fe2b5f046bece5adc160b0949be SHA512 f5c578d2d72b3fe3936acfe91bf617ee12c53a4145f4d56a79ea88df15a032fc466578dbfb7076664b93d5025d48101239722c760e18c296b581e7db402941fd WHIRLPOOL ee6a963877d14e216244a8d8c34947962f48ffd5672bca9747c46bc741e10da8f73e4ee88272b0a0f4e49c4ac1f8e73e2251ebed328063eb38c774211f948797 +MISC ChangeLog-2015 10265 SHA256 b880e28c1eebbd1f8cac2b68855f2efb366969e709a674e6d37ab52435a86808 SHA512 73deb938b49d0cf311215181928ddc4f324740bdb950539daf3ba9b800d86a049c94a8ccd00ac82bc91e1d37ef91d9f5701eb292882d4aa80ce9cde41755f5d0 WHIRLPOOL 2086d77b2d4c8581d0aaa9ee617c533ff9c4aa60030d06b0293411e15d3ea5857c20f1954d82cc742c1bc5dca5d514070689660e3d12e6149a10494e4cbbe09b +MISC metadata.xml 329 SHA256 f9dfea231cdaca78c9a2652a2fee6dfa3ae86a75cd83ffe911bc2805c3d341c9 SHA512 80e6880e6edea2eab64504d6cdf4496f94f9bfb6a4ea63da347b9fb05ca3fa999d646406e22563799d8ba40c1d3d095094ea8d86a500bb490ce2034c3ff38182 WHIRLPOOL d9325af0f412d9313721d3bf71dc9e8082cfc6245d75b534c53f84b63b3f29452e9ae281e2f7b325bcca9075a3d07d32d1053d4e7734fb88d672f95db02b13c3 diff --git a/games-emulation/stella/metadata.xml b/games-emulation/stella/metadata.xml new file mode 100644 index 000000000000..2fd0b9ad7a0a --- /dev/null +++ b/games-emulation/stella/metadata.xml @@ -0,0 +1,11 @@ + + + + + games@gentoo.org + Gentoo Games Project + + + stella + + diff --git a/games-emulation/stella/stella-4.0.ebuild b/games-emulation/stella/stella-4.0.ebuild new file mode 100644 index 000000000000..4aa58c7a86fc --- /dev/null +++ b/games-emulation/stella/stella-4.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils gnome2-utils games + +DESCRIPTION="Stella Atari 2600 VCS Emulator" +HOMEPAGE="http://stella.sourceforge.net/" +SRC_URI="mirror://sourceforge/stella/${P}-src.tar.gz" + +LICENSE="GPL-2 BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="joystick" + +DEPEND="media-libs/libsdl2[joystick?,opengl,video] + media-libs/libpng:0 + sys-libs/zlib" +RDEPEND=${DEPEND} + +src_prepare() { + sed -i \ + -e '/INSTALL/s/-s //' \ + -e '/STRIP/d' \ + -e "/icons/d" \ + -e '/INSTALL.*DOCDIR/d' \ + -e '/INSTALL.*\/applications/d' \ + -e '/CXXFLAGS+=/s/-fomit-frame-pointer//' \ + Makefile || die +} + +src_configure() { + # not an autoconf script + ./configure \ + --prefix="/usr" \ + --bindir="${GAMES_BINDIR}" \ + --docdir="/usr/share/doc/${PF}" \ + --datadir="${GAMES_DATADIR}" \ + $(use_enable joystick) \ + || die +} + +src_install() { + local i + for i in 16 22 24 32 48 64 128 ; do + newicon -s ${i} src/common/stella-${i}x${i}.png stella.png + done + + emake DESTDIR="${D}" install + domenu src/unix/stella.desktop + dohtml -r docs/* + dodoc Announce.txt Changes.txt Copyright.txt README-SDL.txt Readme.txt Todo.txt + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-emulation/stella/stella-4.7.2.ebuild b/games-emulation/stella/stella-4.7.2.ebuild new file mode 100644 index 000000000000..579227b6bde8 --- /dev/null +++ b/games-emulation/stella/stella-4.7.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils gnome2-utils games + +DESCRIPTION="Stella Atari 2600 VCS Emulator" +HOMEPAGE="http://stella.sourceforge.net/" +SRC_URI="mirror://sourceforge/stella/${P}-src.tar.xz" + +LICENSE="GPL-2+ BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="joystick" + +DEPEND="media-libs/libsdl2[joystick?,opengl,video] + media-libs/libpng:0 + sys-libs/zlib" +RDEPEND=${DEPEND} + +src_prepare() { + sed -i \ + -e '/INSTALL/s/-s //' \ + -e '/STRIP/d' \ + -e "/icons/d" \ + -e '/INSTALL.*DOCDIR/d' \ + -e '/INSTALL.*\/applications/d' \ + -e '/CXXFLAGS+=/s/-fomit-frame-pointer//' \ + Makefile || die +} + +src_configure() { + # not an autoconf script + ./configure \ + --prefix="/usr" \ + --bindir="${GAMES_BINDIR}" \ + --docdir="/usr/share/doc/${PF}" \ + --datadir="${GAMES_DATADIR}" \ + $(use_enable joystick) \ + || die +} + +src_install() { + local i + + DOCS="Announce.txt Changes.txt Copyright.txt README-SDL.txt Readme.txt Todo.txt" \ + default + + for i in 16 22 24 32 48 64 128 ; do + newicon -s ${i} src/common/stella-${i}x${i}.png stella.png + done + domenu src/unix/stella.desktop + dohtml -r docs/* + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} -- cgit v1.2.3