From 7c59acba5699c9c58090a7a738669669a7307023 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 21 Aug 2021 23:14:26 +0100 Subject: gentoo resync : 21.08.2021 --- games-arcade/Manifest.gz | Bin 20922 -> 20898 bytes games-arcade/burgerspace/Manifest | 2 +- .../burgerspace/burgerspace-1.9.3-r1.ebuild | 34 ++ games-arcade/burgerspace/burgerspace-1.9.3.ebuild | 31 -- games-arcade/cosmosmash/Manifest | 2 +- games-arcade/cosmosmash/cosmosmash-1.4.8-r1.ebuild | 42 +++ games-arcade/cosmosmash/cosmosmash-1.4.8.ebuild | 37 --- games-arcade/fishsupper/Manifest | 2 +- games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild | 38 --- games-arcade/fishsupper/fishsupper-0.1.6-r2.ebuild | 42 +++ games-arcade/kobodeluxe/Manifest | 2 +- games-arcade/kobodeluxe/kobodeluxe-0.5.1-r2.ebuild | 59 ---- games-arcade/kobodeluxe/kobodeluxe-0.5.1-r3.ebuild | 62 ++++ games-arcade/moleinvasion/Manifest | 4 +- .../files/moleinvasion-0.4-underlink.patch | 4 +- .../moleinvasion/moleinvasion-0.4-r2.ebuild | 59 ---- .../moleinvasion/moleinvasion-0.4-r3.ebuild | 59 ++++ games-arcade/openmortal/Manifest | 8 +- .../openmortal/files/openmortal-0.7-freetype.patch | 4 +- .../files/openmortal-0.7-freetype_pkgconfig.patch | 4 +- .../openmortal/files/openmortal-0.7-gcc41.patch | 2 +- games-arcade/openmortal/openmortal-0.7-r2.ebuild | 41 --- games-arcade/openmortal/openmortal-0.7-r4.ebuild | 45 +++ games-arcade/opentyrian/Manifest | 8 +- .../files/2.1.20130907-cflag-idiocy.diff | 15 - .../opentyrian/files/2.1.20130907-datapath.diff | 26 -- .../opentyrian/files/2.1.20130907-gcc10.patch | 362 --------------------- .../files/opentyrian-2.1.20130907-cflags.patch | 14 + .../files/opentyrian-2.1.20130907-datapath.patch | 24 ++ .../files/opentyrian-2.1.20130907-gcc10.patch | 353 ++++++++++++++++++++ .../opentyrian/opentyrian-2.1.20130907-r2.ebuild | 62 ---- .../opentyrian/opentyrian-2.1.20130907-r3.ebuild | 63 ++++ games-arcade/sdlroids/Manifest | 2 +- games-arcade/sdlroids/sdlroids-1.3.4-r4.ebuild | 38 --- games-arcade/sdlroids/sdlroids-1.3.4-r5.ebuild | 38 +++ 35 files changed, 798 insertions(+), 790 deletions(-) create mode 100644 games-arcade/burgerspace/burgerspace-1.9.3-r1.ebuild delete mode 100644 games-arcade/burgerspace/burgerspace-1.9.3.ebuild create mode 100644 games-arcade/cosmosmash/cosmosmash-1.4.8-r1.ebuild delete mode 100644 games-arcade/cosmosmash/cosmosmash-1.4.8.ebuild delete mode 100644 games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild create mode 100644 games-arcade/fishsupper/fishsupper-0.1.6-r2.ebuild delete mode 100644 games-arcade/kobodeluxe/kobodeluxe-0.5.1-r2.ebuild create mode 100644 games-arcade/kobodeluxe/kobodeluxe-0.5.1-r3.ebuild delete mode 100644 games-arcade/moleinvasion/moleinvasion-0.4-r2.ebuild create mode 100644 games-arcade/moleinvasion/moleinvasion-0.4-r3.ebuild delete mode 100644 games-arcade/openmortal/openmortal-0.7-r2.ebuild create mode 100644 games-arcade/openmortal/openmortal-0.7-r4.ebuild delete mode 100644 games-arcade/opentyrian/files/2.1.20130907-cflag-idiocy.diff delete mode 100644 games-arcade/opentyrian/files/2.1.20130907-datapath.diff delete mode 100644 games-arcade/opentyrian/files/2.1.20130907-gcc10.patch create mode 100644 games-arcade/opentyrian/files/opentyrian-2.1.20130907-cflags.patch create mode 100644 games-arcade/opentyrian/files/opentyrian-2.1.20130907-datapath.patch create mode 100644 games-arcade/opentyrian/files/opentyrian-2.1.20130907-gcc10.patch delete mode 100644 games-arcade/opentyrian/opentyrian-2.1.20130907-r2.ebuild create mode 100644 games-arcade/opentyrian/opentyrian-2.1.20130907-r3.ebuild delete mode 100644 games-arcade/sdlroids/sdlroids-1.3.4-r4.ebuild create mode 100644 games-arcade/sdlroids/sdlroids-1.3.4-r5.ebuild (limited to 'games-arcade') diff --git a/games-arcade/Manifest.gz b/games-arcade/Manifest.gz index 277af410a253..ea30399fc7d4 100644 Binary files a/games-arcade/Manifest.gz and b/games-arcade/Manifest.gz differ diff --git a/games-arcade/burgerspace/Manifest b/games-arcade/burgerspace/Manifest index 65690163381d..9016014b2a32 100644 --- a/games-arcade/burgerspace/Manifest +++ b/games-arcade/burgerspace/Manifest @@ -1,4 +1,4 @@ AUX burgerspace-1.9.3-autotools.patch 1637 BLAKE2B e607d152b43d1fe19cbff8d6504a1408deea1eb65a84f4e6054abb3fbe39ce68381c8f0433ec4b86814920ef6feb6ce9e1054a58ea488ac797d4a67bf47a35b0 SHA512 d084a6fc21e8d8ff2141f4a2869ce22d93962f035317568bd93fcc9af544b44449d53e8edb91642cf9af81a3f8d64f4dc8a144fac8e9174feda884f684693a91 DIST burgerspace-1.9.3.tar.gz 517492 BLAKE2B 6d3cf554580a1a370720f349ae71edab7228c18426d4ae39a8f5bb9177071204715e527beea52aa6b11b9112db5a168951d92b0de60189cfdb1882c85c79d1f2 SHA512 59629ca497a0a379858ba69bb444182f935b58be6554109fb9b309713bd6bde0d771e63858802f9153a4e46bbfe63b5edf58f857bb94ca337dbba89ff3c610cb -EBUILD burgerspace-1.9.3.ebuild 667 BLAKE2B 2b3e8e1ac52adc8693e984480f38a04bcedbf35dfcbaabd24e73439db8c3f832e3e71e06755f874994ef94c58f71cec330cc69aae6321013f80071fe632a3c0b SHA512 e96c6d8d1ac0dbfba7ba31065e7f066e1107724942b034fe474931e0984fb0a8d5fa42649bd804b7276f78c77144ebbd5f1ee2da7cfe11e832c21d5657fee6df +EBUILD burgerspace-1.9.3-r1.ebuild 740 BLAKE2B ae43e25c2b0321a83494d5247addc2af0a0b86944d9ea1dd48805bda4a49266dc84cc57069134bb0fa0896bb8338752d89602d098e546315e0e759d5a49ec9fd SHA512 a6b1237604d683347addeb1ff7931d2a4b22d487c8d5a594fecb8eafd64406489d11899e0498c9de1e3bee92e3e0437d8afb8bab3c075ae799864234b26e487d MISC metadata.xml 335 BLAKE2B 5b9037f7c7ada3f92d51b965d65b0f47af853b60c4409d1e04522485eeb3a3783f58c4e6e5cb1dfb759d27d09254fae5593f0d12947ae3eb286d7867a6b7ca99 SHA512 78b9833542c259f024f8041b1e26710f42ab792919970e8d5e73c8da539c74e62bec318f5ee18d09b26baee3c17bc49f14f3e70a1032da46acd587c934407cd4 diff --git a/games-arcade/burgerspace/burgerspace-1.9.3-r1.ebuild b/games-arcade/burgerspace/burgerspace-1.9.3-r1.ebuild new file mode 100644 index 000000000000..20885e388a68 --- /dev/null +++ b/games-arcade/burgerspace/burgerspace-1.9.3-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools xdg + +DESCRIPTION="Clone of the 1982 BurgerTime video game by Data East" +HOMEPAGE="http://perso.b2b2c.ca/~sarrazip/dev/burgerspace.html" +SRC_URI="http://perso.b2b2c.ca/~sarrazip/dev/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="network" +RESTRICT="test" # doesn't really test anything + +RDEPEND=">=dev-games/flatzebra-0.1.7 + media-libs/libsdl[joystick] + media-libs/sdl-image + media-libs/sdl-mixer" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-1.9.3-autotools.patch ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_with network) +} diff --git a/games-arcade/burgerspace/burgerspace-1.9.3.ebuild b/games-arcade/burgerspace/burgerspace-1.9.3.ebuild deleted file mode 100644 index 8e1c711405ca..000000000000 --- a/games-arcade/burgerspace/burgerspace-1.9.3.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools xdg - -DESCRIPTION="Clone of the 1982 BurgerTime video game by Data East" -HOMEPAGE="http://perso.b2b2c.ca/~sarrazip/dev/burgerspace.html" -SRC_URI="http://perso.b2b2c.ca/~sarrazip/dev/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="network" -RESTRICT="test" # doesn't really test anything - -RDEPEND=">=dev-games/flatzebra-0.1.7" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( "${FILESDIR}"/${PN}-1.9.3-autotools.patch ) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf $(use_with network) -} diff --git a/games-arcade/cosmosmash/Manifest b/games-arcade/cosmosmash/Manifest index 42d3dc5cb729..ecd9c4f597e7 100644 --- a/games-arcade/cosmosmash/Manifest +++ b/games-arcade/cosmosmash/Manifest @@ -1,3 +1,3 @@ DIST cosmosmash-1.4.8.tar.gz 921859 BLAKE2B 601ccf0eaf429bee240a6a07534afc44cb5bac390bedfc2548668048b8a5d93229e36de1c0e73856e3588d35cf7cfc6dbb00ac428fcc42612676281dcfaf0896 SHA512 4b78cac18035ef4bdbdebd2a206ceb3c80646fa030f568e171208af7510a6b1da9ef3fd817f3ebae83fbb42b1ce2900e8f1ff33ec23a8fe735022409ab1120af -EBUILD cosmosmash-1.4.8.ebuild 850 BLAKE2B 9e78c6c2f78ec3dd46e94ed3c31c581f09bbe110f5c05cc6bd95a25bbae926a3485a9eeb93e4c0fb6eac78772629c6a412d5dd450f58534cb81ec68175f50863 SHA512 53b4e388efe5b1f3fc448f68ca0143d0582238ef30b387e197775e2abbd6318451b6e7e985c747dbee62223f7346e214bb6ac02165f4e8ac175e80fca53a0130 +EBUILD cosmosmash-1.4.8-r1.ebuild 927 BLAKE2B 34cd7bf164f414d287337bd2eb509905dcf27b5b6a991f8437a122b4e32e6adc67baa4ffa9de2231431aee6d659b6327455bcfb7964e58fade2fc5215797df6b SHA512 3c40bbc52c1f2b8e31ea96ed96a1448465566be0cf54133bfbac5efa4f2de348fdac793c2cfdd37915a4428461a377a695d4bf19a6bdf589ca6c4c7ccd49cd3e MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/cosmosmash/cosmosmash-1.4.8-r1.ebuild b/games-arcade/cosmosmash/cosmosmash-1.4.8-r1.ebuild new file mode 100644 index 000000000000..3c08d0bb90da --- /dev/null +++ b/games-arcade/cosmosmash/cosmosmash-1.4.8-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="A space rock shooting video game" +HOMEPAGE="https://perso.b2b2c.ca/~sarrazip/dev/cosmosmash.html" +SRC_URI="http://perso.b2b2c.ca/~sarrazip/dev/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" # uses the sound card which portage user might not be available. + +RDEPEND=">=dev-games/flatzebra-0.1.7 + media-libs/libsdl[joystick] + media-libs/sdl-image + media-libs/sdl-mixer" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + sed -i \ + -e "/^pkgsounddir/ s:sounds.*:\$(PACKAGE)/sounds:" \ + -e "/^desktopentrydir/ s:=.*:=/usr/share/applications:" \ + -e "/^pixmapdir/ s:=.*:=/usr/share/pixmaps:" \ + src/Makefile.am \ + || die + + eautoreconf +} + +src_install() { + emake -C src DESTDIR="${D}" install + + einstalldocs + doman doc/${PN}.6 +} diff --git a/games-arcade/cosmosmash/cosmosmash-1.4.8.ebuild b/games-arcade/cosmosmash/cosmosmash-1.4.8.ebuild deleted file mode 100644 index 7ca6cd6f8ad0..000000000000 --- a/games-arcade/cosmosmash/cosmosmash-1.4.8.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools - -DESCRIPTION="A space rock shooting video game" -HOMEPAGE="https://perso.b2b2c.ca/~sarrazip/dev/cosmosmash.html" -SRC_URI="http://perso.b2b2c.ca/~sarrazip/dev/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -RESTRICT="test" # uses the sound card which portage user might not be available. - -RDEPEND=">=dev-games/flatzebra-0.1.7" -DEPEND="${RDEPEND} - virtual/pkgconfig -" - -src_prepare() { - default - sed -i \ - -e "/^pkgsounddir/ s:sounds.*:\$(PACKAGE)/sounds:" \ - -e "/^desktopentrydir/ s:=.*:=/usr/share/applications:" \ - -e "/^pixmapdir/ s:=.*:=/usr/share/pixmaps:" \ - src/Makefile.am \ - || die - eautoreconf -} - -src_install() { - emake -C src DESTDIR="${D}" install - einstalldocs - doman doc/${PN}.6 -} diff --git a/games-arcade/fishsupper/Manifest b/games-arcade/fishsupper/Manifest index 03add5472e32..5b26be86fd3c 100644 --- a/games-arcade/fishsupper/Manifest +++ b/games-arcade/fishsupper/Manifest @@ -2,5 +2,5 @@ AUX fishsupper-0.1.6-asneeded.patch 297 BLAKE2B 18b749a0e6733ee92bbe38ef2fd65fc5 AUX fishsupper-0.1.6-gcc6.patch 1730 BLAKE2B 41317933789d096b9b00a184e15df47b8daf946e9730e6688895497a94bf3efe7d96adf1a39b016dd9874b97a2721472fe98650732689464283495e817d76223 SHA512 9dfaf5c9a5a9554c87e93a3876cb9fb858a638b2ead10a3a10e4c9d8a68fca1608f08c1920d506aa09bc2c965c93ffc748ef3b4e3dad3b24bb86bd1481703d48 AUX fishsupper-0.1.6-ovflfix.patch 308 BLAKE2B 16d9956ad39c518c171a7d99151853329c0fe76a092494a04d0e4f549819fa07f29a4bc01cd0dcfac104c3dc1df9e25c835dec7fb834b8b9ded24b742e56dda9 SHA512 75501a6ca44c510d73859d4339ee041e71dd3d0bbde3e071cfe438b014b515e868e8788d14ddef461b6402c8ef6c67c14bc3ad94e9a06a553c3aadbba602013a DIST fishsupper-0.1.6.tar.gz 1136893 BLAKE2B f07e5cc8fcfef4547fe2af029db1472ab0299fb5267e8f3a4fb29b9aa2cb39115101c217f509f35a4dc81a0e4f6c72f70bb2102c74c7c45981ced4e50230cd5c SHA512 a6b3df47010e8ac186ff4446db3659fd9173e9e3fc973ab376eed46da9cd13f7a4c0c02b25f3427232252e7fe5728036fa91ea773affe0948387a56f617fc7af -EBUILD fishsupper-0.1.6-r1.ebuild 835 BLAKE2B 47a77e1bbbd699277c5c29f9909041d613f4ef08d880f3babe1a1d8189b476c91e719dbc407cc83f6439c85f7b9592c59a550e3dbc23f4781e068e14495510ca SHA512 6097c550acfb2518cfd78937175a61ea6b3ef461aedf5c5618cb68a1bdccc5807143d33c1bad0df6abfffd0e0cf9aa5f751e240e16ce513b26ae269cbfc2c311 +EBUILD fishsupper-0.1.6-r2.ebuild 835 BLAKE2B 6d3750784c9b5172387406435511c108e6941f9bd60719c3b8409f188322b4479bb7f04f55c0a892f39c7240795e84cf580dabf91efa33bf4e49065f0fd5884b SHA512 ecdfc0071041c15cef8e7211c13da64cf3412e542d08a40a452afa86abb985e232b1bbebe7292b1860b67ebc115d713cd2b73955e76366d01a33d1238ae84bd6 MISC metadata.xml 333 BLAKE2B de23175a8ff9c7bd8f8e2d59072017d790d2594882ac5963acdf28e4bab252152c01754cf9c3b57122dbc37fc857f2e749bbc52333700d25b43ac4b0b1ecd165 SHA512 6a3a977950808ae8b79c2c34c17fe8e1dd9ae21b9f9a43a2f2808931a4569042825f381d4c10024480eb2e2635893de8433eacf94f5f755d086285e3fe6770b3 diff --git a/games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild b/games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild deleted file mode 100644 index e73b4a0b1d7d..000000000000 --- a/games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools desktop - -DESCRIPTION="A simple arcade/puzzle game, loosely based on the retro classic Frogger" -HOMEPAGE="https://sourceforge.net/projects/fishsupper/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="CC-BY-SA-2.5 GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=" - media-libs/libsdl[sound,video,opengl,X] - media-libs/sdl-image[png] - media-libs/sdl-mixer[wav] - virtual/opengl -" -DEPEND="${RDEPEND} - dev-libs/boost -" - -src_prepare() { - default - eapply "${FILESDIR}"/${P}-ovflfix.patch \ - "${FILESDIR}"/${P}-asneeded.patch \ - "${FILESDIR}"/${P}-gcc6.patch - eautoreconf -} - -src_install() { - default - newicon data/images/fs_sprite_042.png ${PN}.png - make_desktop_entry ${PN} "Fish Supper" -} diff --git a/games-arcade/fishsupper/fishsupper-0.1.6-r2.ebuild b/games-arcade/fishsupper/fishsupper-0.1.6-r2.ebuild new file mode 100644 index 000000000000..1ffdfa94712f --- /dev/null +++ b/games-arcade/fishsupper/fishsupper-0.1.6-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools desktop + +DESCRIPTION="A simple arcade/puzzle game, loosely based on the retro classic Frogger" +HOMEPAGE="https://sourceforge.net/projects/fishsupper/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="CC-BY-SA-2.5 GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + media-libs/libsdl[joystick,sound,video,opengl,X] + media-libs/sdl-image[png] + media-libs/sdl-mixer[wav] + virtual/opengl +" +DEPEND="${RDEPEND} + dev-libs/boost +" + +PATCHES=( + "${FILESDIR}"/${P}-ovflfix.patch + "${FILESDIR}"/${P}-asneeded.patch + "${FILESDIR}"/${P}-gcc6.patch +) + +src_prepare() { + default + eautoreconf +} + +src_install() { + default + + newicon data/images/fs_sprite_042.png ${PN}.png + make_desktop_entry ${PN} "Fish Supper" +} diff --git a/games-arcade/kobodeluxe/Manifest b/games-arcade/kobodeluxe/Manifest index da3de5f90783..8aaeb28c3d37 100644 --- a/games-arcade/kobodeluxe/Manifest +++ b/games-arcade/kobodeluxe/Manifest @@ -2,5 +2,5 @@ AUX kobodeluxe-0.5.1-clang.patch 670 BLAKE2B bebded939e08b4a5184170c1527b4e9135e AUX kobodeluxe-0.5.1-glibc2.10.patch 219 BLAKE2B 78c45966711049c7715ae0efd18289be82b4ea3965d85338ab81c79f07785273a6d767cf471deace08722b3ab9b8581a45201e30343b9e6ad784d820256b7dd9 SHA512 77624a0e18958d76c938e9d1becb72803079364612056687fb955cc912bda9b4443c7e6245abb6a32cc3ff96b04c63993e3cd114f73115254efe7b50f749a45c AUX kobodeluxe-0.5.1-glibc29.patch 2408 BLAKE2B c3abfe3594b2c43428d4e49a34285680a1ae2ac40106aac255aa2da846a67ecbcfcf8f5d8af48ca0adbf627d188f6a8941d6b4f75df3bdad39fff4d869b324e1 SHA512 de2014b9a0607ddb5853c63eb4c14daf4f14d2158697348d952305db09b4a8f84a3a918cd730085f01120b7cbcfae076afd73c559c1ddd46f5a9777c89e76897 DIST KoboDeluxe-0.5.1.tar.bz2 1781752 BLAKE2B d7f08ab9603b861f8992629bac9a65051a3c5fee6822f1951d57cbc5c31055a6cefeed098637dda84c0a1538645f47816848d767a4fa7916726b5784dfbc0414 SHA512 fc107e4367fd300574823aa40c68311d95de3a403d7c930963b8754aac14293f0624996fd77c4de0677921d11883047b68dd95df81eeb03078c37426ebd58afd -EBUILD kobodeluxe-0.5.1-r2.ebuild 1274 BLAKE2B e448d47c8aa22955b9082a932550ab551fe465505d8b7875fbefdb2f20ab14532cf0219c02313fef5d34b0ab6a883cf904f6e8d196e5cb0d086bb4f633d5a88a SHA512 1793faf4183a24345edc641463fb387a47b54373077b7b2fc9818f2e1af17c8d34f35b3d95b8327067d625b8c3adc5ab59615a637cc5a42bc76a9602008fdb2c +EBUILD kobodeluxe-0.5.1-r3.ebuild 1287 BLAKE2B c9fa3c9613716f16c651528af844f4167a4c52ea76426b4c1b970a074871f054ba649ef3a0b97090ce600ee42bc544b9c968495faa9852d813b9827ab1b8c4ac SHA512 a6347dd89c4b5d72324340cb177d42e2efdd2374a81d820c6104e621a75186b6286cd051a87c52ad07fec0092e28bb9e129ee5f0906279eaed2fd1cf6fdb4885 MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r2.ebuild b/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r2.ebuild deleted file mode 100644 index b813ddc2a1b0..000000000000 --- a/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit desktop - -MY_P="KoboDeluxe-${PV/_/}" -DESCRIPTION="An SDL port of xkobo, a addictive space shoot-em-up" -HOMEPAGE="http://www.olofson.net/kobodl/" -SRC_URI="http://www.olofson.net/kobodl/download/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc64 ~x86" -IUSE="opengl" - -DEPEND="media-libs/libsdl - media-libs/sdl-image[png] - opengl? ( virtual/opengl ) -" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}"/${P}-glibc29.patch - "${FILESDIR}"/${P}-glibc2.10.patch - "${FILESDIR}"/${P}-clang.patch -) - -src_unpack() { - unpack ${A} - cd "${S}" || die - unpack ./icons.tar.gz -} - -src_prepare() { - default - # Fix paths - sed -i \ - -e 's:\$(datadir)/kobo-deluxe:$(datadir)/kobodeluxe:' \ - -e 's:\$(sharedstatedir)/kobo-deluxe/scores:$(localstatedir)/kobodeluxe:' \ - configure || die "sed configure failed" - sed -i \ - -e 's:kobo-deluxe:kobodeluxe:' \ - data/gfx/Makefile.in \ - data/sfx/Makefile.in || die "sed data/Makefile.in failed" -} - -src_configure() { - econf $(use_enable opengl) -} - -src_install() { - default - newicon icons/KDE/icons/32x32/kobodl.png ${PN}.png - make_desktop_entry kobodl "Kobo Deluxe" - keepdir /var/lib/${PN} -} diff --git a/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r3.ebuild b/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r3.ebuild new file mode 100644 index 000000000000..8f68045c4f6a --- /dev/null +++ b/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop + +MY_P="KoboDeluxe-${PV/_/}" +DESCRIPTION="An SDL port of xkobo, a addictive space shoot-em-up" +HOMEPAGE="http://www.olofson.net/kobodl/" +SRC_URI="http://www.olofson.net/kobodl/download/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc64 ~x86" +IUSE="opengl" + +DEPEND="media-libs/libsdl[joystick] + media-libs/sdl-image[png] + opengl? ( virtual/opengl ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-glibc29.patch + "${FILESDIR}"/${P}-glibc2.10.patch + "${FILESDIR}"/${P}-clang.patch +) + +src_unpack() { + unpack ${A} + cd "${S}" || die + unpack ./icons.tar.gz +} + +src_prepare() { + default + + # Fix paths + sed -i \ + -e 's:\$(datadir)/kobo-deluxe:$(datadir)/kobodeluxe:' \ + -e 's:\$(sharedstatedir)/kobo-deluxe/scores:$(localstatedir)/kobodeluxe:' \ + configure || die "sed configure failed" + + sed -i \ + -e 's:kobo-deluxe:kobodeluxe:' \ + data/gfx/Makefile.in \ + data/sfx/Makefile.in || die "sed data/Makefile.in failed" +} + +src_configure() { + econf $(use_enable opengl) +} + +src_install() { + default + + newicon icons/KDE/icons/32x32/kobodl.png ${PN}.png + make_desktop_entry kobodl "Kobo Deluxe" + keepdir /var/lib/${PN} +} diff --git a/games-arcade/moleinvasion/Manifest b/games-arcade/moleinvasion/Manifest index 7ff07be4afbd..b4846bda9685 100644 --- a/games-arcade/moleinvasion/Manifest +++ b/games-arcade/moleinvasion/Manifest @@ -1,7 +1,7 @@ AUX moleinvasion-0.4-fno-common.patch 294 BLAKE2B eda03dc6ec5c80761d722daf63f81f2d2789720e91df4a1011963a1d850b30e5f3393d7ec58eb957d35baf0f56863362426fc766f4042230d02ab2dc683b5f0f SHA512 aa9eb13ca052053a96a7872b3385b5b36c220163d04ee23e9c9bc3e200712fafbdd89767ac1091f3c32f654dd9284d669169e97eba84400a64f184f4ac68cd33 AUX moleinvasion-0.4-opengl.patch 439 BLAKE2B 35f32fa286716f2a93555346332858bdcdcbda73dec5561f8499000098b838b9ea9b4e67a2ed0fcf096cf9a1ccf527439989f7c9eea483238e4a002966ce57fd SHA512 2599574c0b8d6d9c3824f2f79b4f86da87b7eb53447fdfce53161f4f14daa1aac5b0916052c43ad1d8952c4e5d22ea02216e24c2299f1ef282e2535621171f21 -AUX moleinvasion-0.4-underlink.patch 295 BLAKE2B 83670e6acb629ec16fbe23e9dedd1fc86c95fc7b598f140c906531af2a01061d783cbe883b943864c69fbb836d6c7c3cc2b35653ca10e0ad564c1c71e04b4dd9 SHA512 96f113a1b4863f24c2dd2ae4afb67ca90a59db3856e69f98ecdbdf651f915c43555a96e30bcf6cb729cc63ef866cd79996e4b0ce7ca56f2758694920c56179ab +AUX moleinvasion-0.4-underlink.patch 219 BLAKE2B 148cd1e3f296b20a10dcbb974dc942b0bfd490034c00a8c1d96ef77df5e312f3c8e9b24d2ba76de5f50a38879e236780998dcb4008bc137d9f93162357a3bf55 SHA512 7ddbc101fac7bc60e2ed86e7a404ffdf7533752489860ba1c6ff1451a2735aae796abf3b0a9be9d602f66a2d35d182665b5e29aeaec2fe1f6b72a99e484fa313 DIST MoleInvasion-0.4.tar.bz2 11213919 BLAKE2B be42f4530f86e347ca2d6d3e94203e698328c96150a82f8307080ecfef288e631dcf14f9b86003a40792e49d6ed899cd867b1ad9dc43272e9c29a784a1a48bb6 SHA512 e1d661758391c24b9daab8ba183a265b77f4b2454c8a55f8405b63a78e040491d0c1421a64736a590a574c364e43a8989ef1b958fa565419938d0c8daadbe03f DIST moleinvasion-music-20090731.tar.gz 83772534 BLAKE2B 46b5cedb23604a178cb5fa8dab4546219f5318490b607093f2a0be831fbbe1b7c901b6db474e2a2f590993b11934e0286f62068268b0251368da6b33070e8c25 SHA512 ca3a2d32705afbc878bd370ceb07367a175eae0ea722e92d2993b4a1c6605763922279c15bb0cc42cf1ed15d5c7f1b13c9f8e000adbebf1f709bfbd92b5e791c -EBUILD moleinvasion-0.4-r2.ebuild 1239 BLAKE2B c1a6f79b888d7a57c68837740a7cc030082b80fabc0511309f66c0dd00bb017f69675e7e3e1c5c030e33fdae82f0a7ad960d380bc8d93465f5cbcb017638776e SHA512 b17c49677843ed07fdb98128418d13421b2d0c0a54aab32ec8ccf613eeaf0c68a7b32ad936598ad45959045c6e14d32db4e495311ec633e474bde3d9153e0d0b +EBUILD moleinvasion-0.4-r3.ebuild 1248 BLAKE2B 98a4726463638fc7e529ea6c4b422d29c3b96b179327f963ad639dd4937b417a011e22b85757c3a7a0ee18a74611ff9088e69cdcd5717c7a03111bd759fc7225 SHA512 2514f43bbdd26441d787d4799d993c86f50b9aeb0c177eb3b340c864f1854d4472cb94a24f6aca140222489fbf9c7ce54650acce4dcbf43c35dfce0d40b07f25 MISC metadata.xml 333 BLAKE2B 0682ce190ac920412cd383e548d541d1f7065ae269090fad7123fcfeef0b5c3678e0e3ade79db7c2735345b1c0ba6a565f33b89c239b2b549d865e923fdc9e6e SHA512 3ffaaeb4a0358f39d4fa18f074b91134d40bbca73244de5a8a2f5049c851130a8483c23e0917d662c42e79c5a516a820796682bc0d995497ad64fb8be6e94f19 diff --git a/games-arcade/moleinvasion/files/moleinvasion-0.4-underlink.patch b/games-arcade/moleinvasion/files/moleinvasion-0.4-underlink.patch index 7ee61f91e378..9d5d651a809b 100644 --- a/games-arcade/moleinvasion/files/moleinvasion-0.4-underlink.patch +++ b/games-arcade/moleinvasion/files/moleinvasion-0.4-underlink.patch @@ -1,5 +1,5 @@ ---- a/Makefile.old 2011-06-14 22:12:00.920386798 +0200 -+++ b/Makefile 2011-06-14 22:12:22.118716548 +0200 +--- a/Makefile ++++ b/Makefile @@ -11,7 +11,7 @@ EDTOB = editor EDWOB = editworld diff --git a/games-arcade/moleinvasion/moleinvasion-0.4-r2.ebuild b/games-arcade/moleinvasion/moleinvasion-0.4-r2.ebuild deleted file mode 100644 index 91e9e1aa5d0a..000000000000 --- a/games-arcade/moleinvasion/moleinvasion-0.4-r2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop toolchain-funcs - -DESCRIPTION="Mole infested 2D platform game" -HOMEPAGE="http://moleinvasion.tuxfamily.org/" -SRC_URI=" - ftp://download.tuxfamily.org/minvasion/packages/MoleInvasion-${PV}.tar.bz2 - music? ( mirror://gentoo/${PN}-music-20090731.tar.gz )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="music" - -DEPEND=" - media-libs/libsdl[opengl,video] - media-libs/sdl-image[jpeg,png] - media-libs/sdl-mixer[vorbis] - media-libs/sdl-ttf - virtual/opengl" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${P}/src" - -src_prepare() { - default - - if use music; then - mv -f "${WORKDIR}"/music ../ || die - fi - - sed -i \ - -e '/^CFLAGS/s:= -g:+=:' \ - -e '/^LDFLAGS/d' \ - -e "/^FINALEXEDIR/s:/usr.*:/usr/bin:" \ - -e "/^FINALDATADIR/s:/usr.*:/usr/share/${PN}:" \ - Makefile || die "sed failed" - - eapply \ - "${FILESDIR}"/${P}-opengl.patch \ - "${FILESDIR}"/${P}-underlink.patch \ - "${FILESDIR}"/${P}-fno-common.patch -} - -src_configure() { - tc-export CC -} - -src_install() { - emake DESTDIR="${D}" install install-data - doman ../debian/*.6 - - newicon ../gfx/icon.xpm moleinvasion.xpm - make_desktop_entry moleinvasion "Mole Invasion" -} diff --git a/games-arcade/moleinvasion/moleinvasion-0.4-r3.ebuild b/games-arcade/moleinvasion/moleinvasion-0.4-r3.ebuild new file mode 100644 index 000000000000..3bd4d5e35124 --- /dev/null +++ b/games-arcade/moleinvasion/moleinvasion-0.4-r3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop toolchain-funcs + +DESCRIPTION="Mole infested 2D platform game" +HOMEPAGE="http://moleinvasion.tuxfamily.org/" +SRC_URI=" + ftp://download.tuxfamily.org/minvasion/packages/MoleInvasion-${PV}.tar.bz2 + music? ( mirror://gentoo/${PN}-music-20090731.tar.gz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="music" + +DEPEND=" + media-libs/libsdl[joystick,opengl,video] + media-libs/sdl-image[jpeg,png] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-ttf + virtual/opengl" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${P}/src" + +src_prepare() { + default + + if use music; then + mv -f "${WORKDIR}"/music ../ || die + fi + + sed -i \ + -e '/^CFLAGS/s:= -g:+=:' \ + -e '/^LDFLAGS/d' \ + -e "/^FINALEXEDIR/s:/usr.*:/usr/bin:" \ + -e "/^FINALDATADIR/s:/usr.*:/usr/share/${PN}:" \ + Makefile || die "sed failed" + + eapply \ + "${FILESDIR}"/${P}-opengl.patch \ + "${FILESDIR}"/${P}-underlink.patch \ + "${FILESDIR}"/${P}-fno-common.patch +} + +src_configure() { + tc-export CC +} + +src_install() { + emake DESTDIR="${D}" install install-data + doman ../debian/*.6 + + newicon ../gfx/icon.xpm moleinvasion.xpm + make_desktop_entry moleinvasion "Mole Invasion" +} diff --git a/games-arcade/openmortal/Manifest b/games-arcade/openmortal/Manifest index 93489f39e256..2f0a53c284b3 100644 --- a/games-arcade/openmortal/Manifest +++ b/games-arcade/openmortal/Manifest @@ -1,6 +1,6 @@ -AUX openmortal-0.7-freetype.patch 394 BLAKE2B b9373aa4e5aa0906a614bf161a6809f13633e4ff7a9ec4694cf0751ba2f6bd2e28f3b3b9099786141fe9cdef4b1c8d7bccdbd3c492b52ad5147c4fed61b2ebec SHA512 52bc47058c41aeb688450c37541f428f7adf8c122c965db0b8c94abc76f5a43f9705d34bdaa17cf5dfe428e23c74532ff03c907b552dea19da3575d21b1d9a74 -AUX openmortal-0.7-freetype_pkgconfig.patch 470 BLAKE2B c09d5876913205eb879bb366a233152139e3cc6c7ace4bcc1d48f4dccfcab7e7be55117205f12426c95462ff3062818c00fa067d96c758e30030761db702ecc1 SHA512 9145794e5c9b3fa30c7bedd85919ccaee852597297e4985a58ab7834ecfc5ba143f377f73bd20c5e3915c4e25ef89d8aa96eb5aace175a8c2379fbf3b6f8cf7c -AUX openmortal-0.7-gcc41.patch 305 BLAKE2B 1f6cba83ed4af95978045404edfd6396d438ca26f5b9f0d5b159dfb37978a1f50a3a18857db82b3bf74dd74a979563d0f7949e544f4527a57237662502c4c77c SHA512 0bc8c0924a86b4e024602c67bb4136ba67e0dc9d58381a2c00f07ce02845e1d389186c4864720a16cdf828a287ca9d6488e3420512daf7e3585988b0449a930b +AUX openmortal-0.7-freetype.patch 364 BLAKE2B 52b9c83de329c861c8e8a86ffd950cd766df49d5f9e4382bbf8346ce3977b73b40b07ea02d7cc7a189613c12224a5f8578679f5b7f77588822ea2b296f99ea5f SHA512 8cd6831765ded1c1ca830fa13551f2c1f42100ca3b0833198a1cba7f57e38d4560a0ba3f8877cac9a86348893e08c385176fe16435e16a8bb221146aed218ff7 +AUX openmortal-0.7-freetype_pkgconfig.patch 444 BLAKE2B 3dc1b66587a2e15fc838599838982d63e3272ca8f436365253aacd35946bd0d1f00b9306209fe360caa30ef94d744d578a674b067a71bd4bd06468b4f6c36af9 SHA512 b58386f5667d6b1e889f6290d2f5a1962ae17b6324b7fff199423ca562b7925e1580feeefa17c678bc4a7e4983602be8061fd116a4c5a80bf167c8f1414f5cb9 +AUX openmortal-0.7-gcc41.patch 301 BLAKE2B 4cfe200c183eaa581f075c9ee0039c895e24d37a52dbe4ae96fe2c612bd2d0212a110ab30dce69988241d602abef82b4e22251987a9ee1dfe59f4f28f3056f61 SHA512 9599544dd4b2587c8d154ddc629fbba5308549d743271674a74f0b9a6e50f73476485d2878abd437dc2a8d62a7c3d64bc9b9da4d9b5889710c3d8e7b8980cfb3 DIST openmortal-0.7.tar.bz2 51197736 BLAKE2B b4744bde2a9695cc5a1323f4e258fe7cf191d7e15e086e37f476feed0ed4039c27a58ee8d0a28b00945a2ba985dc0591bcf1832f070ace6b65ae04826df7ea3b SHA512 8af0b64a3d894dfdbdddafdbdc4c853dc2bfc9b52fd507db2818e67af5ad6cdbbb45f2e42e32103e841759225b1b8c4f33ac5a8ad70e4763698c54803fb81fce -EBUILD openmortal-0.7-r2.ebuild 854 BLAKE2B 2fc55698c79c4375b27417e286390501588974dcc1cb539313e3f88dd78dbcb9fe7ab2d1a461c5169b45344bdbf34b56de3386ef5d4f0e717c91147c26f43f67 SHA512 7b4541bb550f83feb4af0699cb06a2d8d92b47380f1c7b91b6fab11c733a5156b7f47032f306adfe5d1e30f498c7a8e2a1c68c6f15ae9afa34172beb8b1c48d5 +EBUILD openmortal-0.7-r4.ebuild 863 BLAKE2B e6b02d26e1c6693f08efbc459a46b23c8d421637c57bf1cf861bc7dec5236ea516141022caf3d4b49f8d656c2829d24417898966d1174cba632662b4604b1f82 SHA512 6b4584907e45c441f27a7fd5c70a83b2881cd25a45e91dad6884d09a7e90ddcf237988a740901c248bca45b0897bad211ec48c7fc3142c4c5a4b39d17a766316 MISC metadata.xml 333 BLAKE2B d6fb63cdba371534a7ae3217ea7d659aba14bdeff1b63bcf9adcca55f0c1975fea3d88beaa695bd95b7c6675c37f049b0c97d2b7666c86acd673e1b1476c6ff3 SHA512 3cf6883bbe8b14f392d0207792ef501bd2c7fa5395a82d1606341b9f44f639879756bc90645cf7bac038ede44865afde59b1622ee0657e1980b6ec3ccd68cefd diff --git a/games-arcade/openmortal/files/openmortal-0.7-freetype.patch b/games-arcade/openmortal/files/openmortal-0.7-freetype.patch index 3a342c88979d..2c545edc1d13 100644 --- a/games-arcade/openmortal/files/openmortal-0.7-freetype.patch +++ b/games-arcade/openmortal/files/openmortal-0.7-freetype.patch @@ -1,5 +1,5 @@ ---- openmortal-0.7/src/sge_tt_text.cpp.old -+++ openmortal-0.7/src/sge_tt_text.cpp +--- a/src/sge_tt_text.cpp ++++ b/src/sge_tt_text.cpp @@ -37,9 +37,9 @@ #ifndef _SGE_NOTTF diff --git a/games-arcade/openmortal/files/openmortal-0.7-freetype_pkgconfig.patch b/games-arcade/openmortal/files/openmortal-0.7-freetype_pkgconfig.patch index fe683899f2e9..cde67a66e107 100644 --- a/games-arcade/openmortal/files/openmortal-0.7-freetype_pkgconfig.patch +++ b/games-arcade/openmortal/files/openmortal-0.7-freetype_pkgconfig.patch @@ -1,5 +1,5 @@ ---- openmortal-0.7/configure.in -+++ openmortal-0.7/configure.in +--- a/configure.in ++++ b/configure.in @@ -25,6 +25,7 @@ AC_C_CONST AC_PROG_CXX diff --git a/games-arcade/openmortal/files/openmortal-0.7-gcc41.patch b/games-arcade/openmortal/files/openmortal-0.7-gcc41.patch index 2620c153e837..888a06868d01 100644 --- a/games-arcade/openmortal/files/openmortal-0.7-gcc41.patch +++ b/games-arcade/openmortal/files/openmortal-0.7-gcc41.patch @@ -1,4 +1,4 @@ ---- a/src/OnlineChat.cpp.old +--- a/src/OnlineChat.cpp +++ b/src/OnlineChat.cpp @@ -56,7 +56,7 @@ class CChallengeMenu: public Menu diff --git a/games-arcade/openmortal/openmortal-0.7-r2.ebuild b/games-arcade/openmortal/openmortal-0.7-r2.ebuild deleted file mode 100644 index 6e1e3a824afa..000000000000 --- a/games-arcade/openmortal/openmortal-0.7-r2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools desktop - -DESCRIPTION="A spoof of the famous Mortal Kombat game" -HOMEPAGE="http://openmortal.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="media-libs/libsdl[video] - media-libs/sdl-image - media-libs/sdl-mixer - media-libs/sdl-ttf - media-libs/sdl-net - >=media-libs/freetype-2.4.0:2 - dev-lang/perl -" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_prepare() { - default - eapply \ - "${FILESDIR}/${P}"-gcc41.patch \ - "${FILESDIR}/${P}"-freetype.patch \ - "${FILESDIR}/${P}"-freetype_pkgconfig.patch - mv configure.{in,ac} || die - eautoreconf -} - -src_install() { - default - newicon data/gfx/icon.png ${PN}.png - make_desktop_entry ${PN} OpenMortal -} diff --git a/games-arcade/openmortal/openmortal-0.7-r4.ebuild b/games-arcade/openmortal/openmortal-0.7-r4.ebuild new file mode 100644 index 000000000000..58706bdc410b --- /dev/null +++ b/games-arcade/openmortal/openmortal-0.7-r4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools desktop + +DESCRIPTION="A spoof of the famous Mortal Kombat game" +HOMEPAGE="http://openmortal.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="media-libs/libsdl[joystick,video] + media-libs/sdl-image + media-libs/sdl-mixer + media-libs/sdl-ttf + media-libs/sdl-net + >=media-libs/freetype-2.4.0:2 + dev-lang/perl +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${P}"-gcc41.patch + "${FILESDIR}/${P}"-freetype.patch + "${FILESDIR}/${P}"-freetype_pkgconfig.patch +) + +src_prepare() { + default + + mv configure.{in,ac} || die + eautoreconf +} + +src_install() { + default + + newicon data/gfx/icon.png ${PN}.png + make_desktop_entry ${PN} OpenMortal +} diff --git a/games-arcade/opentyrian/Manifest b/games-arcade/opentyrian/Manifest index fcfb985acc07..1f17fe244912 100644 --- a/games-arcade/opentyrian/Manifest +++ b/games-arcade/opentyrian/Manifest @@ -1,7 +1,7 @@ -AUX 2.1.20130907-cflag-idiocy.diff 583 BLAKE2B 2b0da43af2c1ccb5f508573413d1c047186c8d596bd709aefcdee1fe79936774e1c1c01863bffeed6e1c5506f2897021c5f70988cef59d6c1d7397b8150b5f4e SHA512 fd12ebaabd2191baa248019b122acad205f1803b0abde19ae54d410550529bff93d42dfe26543d295efe3b4c6cd74e1d77681467dc8321832561b07bda92d9c4 -AUX 2.1.20130907-datapath.diff 886 BLAKE2B a388fdbe60a5c1abb4bea213af34854e470b80f2648352e9be0beec88081450e04069da5bfc5b817a720e5fd6a98f5643695b9e5dd9823ce7397da4b0349075b SHA512 dcc5bf8e1c1384e7615112bf60f317f8bd3bae11e1fff1bce80a8a638fc6b719f4787f69d01f64dab2aecab4ef3007cb708e1b2891b6cb7c6213b2d495924d2a -AUX 2.1.20130907-gcc10.patch 12090 BLAKE2B c15003d42e00d057470b655581ba299ee8e3c2e681a025a4c670479dba6016ef98c5db8def4845fe01acfe5c73d1ae3412b3b90969c5b02c3bfc161a0de99e28 SHA512 89d25a1a01e71f18487a27ca0d6665478d4d037f6008d3fa0d96d583124f03be4d9b7f97eaacd6fa46173b3ccee047dc258b0a247c0464693d4ee278a7636924 +AUX opentyrian-2.1.20130907-cflags.patch 381 BLAKE2B 7b3132b2441273ce7cc3210c9b35363065f8bf473a0687e4f8af2501a5942d566d7de06b8802c940d4e0dc1cede5b4fc22f4f2a0b9a26725f890ddf3126b1240 SHA512 30f38c3d89ab1ec2afdfc5cebfa18c9d277e00e24a001bf1f18f7a7b85ebc50c73cf8176d2cfcc1a71cf1484e4504b7b2b5961d13789315153d9e309c638e634 +AUX opentyrian-2.1.20130907-datapath.patch 478 BLAKE2B 3757ef355bd97f89835ee7e47174f5bfd4955ff051f187a898cd41b042c77d100d056bfc4601c08edc211fa859d5aa93a2048dbe09b65adf66b2bcd858199c07 SHA512 7411458e9782eb9d108a5489f755fad119be400789e9898ff60c240aece93709ab442cb0b3580143e9fb72565123673cc7deb5a8346cee1113f01ec5d933da47 +AUX opentyrian-2.1.20130907-gcc10.patch 11759 BLAKE2B a55047a54154d71d65b76f327a29a23e7fb84b53010e33381d7dff82f7f760bca55b11b390f4d6c02b966fc212475de70e218496d2d3b8641b446c25ab795de7 SHA512 a55a5bccba9221db0401610b586931e8822a20a330335e9446e49b0a87ca9bd28165b245270e2742bd72952822a79c869247368f63d4710c2d898c13a2eb8129 DIST opentyrian-2.1.20130907-src.tar.gz 297517 BLAKE2B 9d6d357cdda59da22ed039be0a5038cf744045dcb30fe0528137a5ac70a4cd512b24eeee3fe233b4ff2a819bf2aa4187e5109d88c72d18db7e1d64e8ad8db5d8 SHA512 1a560f2061496fbbb57b6334ab207b00a6b2e6a4d6164c6df6ad535ae9d0435c32c3db51d3ce2a0a79eb66d72723d112c1993f59b781750f9bd97afb643a0b67 DIST tyrian21.zip 4754048 BLAKE2B 6bef66fbc34a4d2d865fe7088a6942a29348153d0d10347860952a152b882fd9eef1748fbfa9fd32d030593d2f8c21e1cd227dd6ca540488ba5093b95a95fb33 SHA512 639aa773778386c14ce508feb4729512d00f80182a3bb0fe8bba4ee38bce91da1867ca93f1a7e5e30ff127da077eed275d8dd6ba82042b627b84f1606e2d6bce -EBUILD opentyrian-2.1.20130907-r2.ebuild 1293 BLAKE2B 8a840fde51696b720c92da68e9c5f7fc6570f0545fa82920f10695ced01b9787f9fdcb1729fd8fa5eb1162677830ef31b3d8ed6ca118dfaf9a013f9260f261d4 SHA512 bb96aa8b47bde5cedb1c3d4d0fbd92e32c9a81ce265752c97a4affbca8f212780a70399ebaf5914b1a223fe045d9ecbba81eb04363b7c7259e646b1d00b4f73c +EBUILD opentyrian-2.1.20130907-r3.ebuild 1296 BLAKE2B 8ee3f2d8f05f69b72f5cd08bb5a2908ffe737fe081cea59b37053c2088d051ea35ad65c2e85582570b4dbb4e83e2a01c8c74b2c4b2d63426a8e7c857ca11f664 SHA512 0171020bc5ff84ec8b67c94ad0f4544025ee14ed23fd33ba6810f56f222bb711665c741059b41ce4951191dce054be801df154e5cdd431fc91528a44e6385b14 MISC metadata.xml 349 BLAKE2B 7cfb26abb3fdecbe6212017ab12564d5b761c55e9bc3b007713e60b5aa34da14ff39b6c509e0617f951e56304f1b76bad14d3866712ee028cc23b6d090725db4 SHA512 6bad0ede531b7c8b77a21c749de3b4b32ce6ee111bf3fb00536b9075239ef458c036e57303f1a6a6bb9c6e730fa19c0a12ffec4eef384a0a24002cfdaae18ef5 diff --git a/games-arcade/opentyrian/files/2.1.20130907-cflag-idiocy.diff b/games-arcade/opentyrian/files/2.1.20130907-cflag-idiocy.diff deleted file mode 100644 index 39ccf1c79f66..000000000000 --- a/games-arcade/opentyrian/files/2.1.20130907-cflag-idiocy.diff +++ /dev/null @@ -1,15 +0,0 @@ -diff -uNr opentyrian-2.1.20130907.ORIG/Makefile opentyrian-2.1.20130907/Makefile ---- opentyrian-2.1.20130907.ORIG/Makefile 2013-12-08 17:38:06.982842189 +0000 -+++ opentyrian-2.1.20130907/Makefile 2013-12-08 17:38:26.843842798 +0000 -@@ -21,11 +21,6 @@ - - # FLAGS #################################################### - --ifneq ($(MAKECMDGOALS), release) -- EXTRA_CFLAGS += -g3 -O0 -Werror --else -- EXTRA_CFLAGS += -g0 -O2 -DNDEBUG --endif - EXTRA_CFLAGS += -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers - ifeq ($(WITH_NETWORK), true) - EXTRA_CFLAGS += -DWITH_NETWORK diff --git a/games-arcade/opentyrian/files/2.1.20130907-datapath.diff b/games-arcade/opentyrian/files/2.1.20130907-datapath.diff deleted file mode 100644 index 5b0143ed9a50..000000000000 --- a/games-arcade/opentyrian/files/2.1.20130907-datapath.diff +++ /dev/null @@ -1,26 +0,0 @@ -diff -uNr opentyrian-2.1.20130907.ORIG/Makefile opentyrian-2.1.20130907/Makefile ---- opentyrian-2.1.20130907.ORIG/Makefile 2013-12-08 17:40:23.470846371 +0000 -+++ opentyrian-2.1.20130907/Makefile 2013-12-08 17:40:49.355847165 +0000 -@@ -49,6 +49,10 @@ - ALL_LDFLAGS += $(LDFLAGS) - LDLIBS += $(EXTRA_LDLIBS) $(SDL_LDLIBS) - -+ifneq ($(DATA_PATH), ) -+ CFLAGS += -DDATA_PATH=\"$(DATA_PATH)\" -+endif -+ - # RULES #################################################### - - .PHONY : all release clean -diff -uNr opentyrian-2.1.20130907.ORIG/src/file.c opentyrian-2.1.20130907/src/file.c ---- opentyrian-2.1.20130907.ORIG/src/file.c 2013-12-08 17:40:23.468846371 +0000 -+++ opentyrian-2.1.20130907/src/file.c 2013-12-08 17:40:49.355847165 +0000 -@@ -34,7 +34,7 @@ - #ifdef TARGET_MACOSX - tyrian_game_folder(), - #endif -- "/usr/share/opentyrian/data" -+ DATA_PATH - }; - - static const char *dir = NULL; diff --git a/games-arcade/opentyrian/files/2.1.20130907-gcc10.patch b/games-arcade/opentyrian/files/2.1.20130907-gcc10.patch deleted file mode 100644 index 5b0c911a2ac2..000000000000 --- a/games-arcade/opentyrian/files/2.1.20130907-gcc10.patch +++ /dev/null @@ -1,362 +0,0 @@ -From 962ee8fc46ca51691bde1c8c1022dacbe8a037ed Mon Sep 17 00:00:00 2001 -From: Carl Reinke -Date: Sun, 14 Jun 2020 14:11:00 -0600 -Subject: [PATCH] Move definitions that don't need to be exposed from opl.h to - opl.c - ---- - src/opl.c | 153 +++++++++++++++++++++++++++++++++++++++++++++++++++- - src/opl.h | 157 ++---------------------------------------------------- - 2 files changed, 154 insertions(+), 156 deletions(-) - -diff --git a/src/opl.c b/src/opl.c -index a4071c5..f15474c 100644 ---- a/src/opl.c -+++ b/src/opl.c -@@ -23,12 +23,161 @@ - * Copyright (C) 1998-2001 Ken Silverman - * Ken Silverman's official web site: "http://www.advsys.net/ken" - */ -- -+#include "opl.h" - - #include -+#include - #include // rand() - #include // memset() --#include "opl.h" -+ -+#define fltype double -+ -+ /* -+ define attribution that inlines/forces inlining of a function (optional) -+ */ -+#define OPL_INLINE inline -+ -+ -+#undef NUM_CHANNELS -+#if defined(OPLTYPE_IS_OPL3) -+#define NUM_CHANNELS 18 -+#else -+#define NUM_CHANNELS 9 -+#endif -+ -+#define MAXOPERATORS (NUM_CHANNELS*2) -+ -+ -+#define FL05 ((fltype)0.5) -+#define FL2 ((fltype)2.0) -+#define PI ((fltype)3.1415926535897932384626433832795) -+ -+ -+#define FIXEDPT 0x10000 // fixed-point calculations using 16+16 -+#define FIXEDPT_LFO 0x1000000 // fixed-point calculations using 8+24 -+ -+#define WAVEPREC 1024 // waveform precision (10 bits) -+ -+#define INTFREQU ((fltype)(14318180.0 / 288.0)) // clocking of the chip -+ -+ -+#define OF_TYPE_ATT 0 -+#define OF_TYPE_DEC 1 -+#define OF_TYPE_REL 2 -+#define OF_TYPE_SUS 3 -+#define OF_TYPE_SUS_NOKEEP 4 -+#define OF_TYPE_OFF 5 -+ -+#define ARC_CONTROL 0x00 -+#define ARC_TVS_KSR_MUL 0x20 -+#define ARC_KSL_OUTLEV 0x40 -+#define ARC_ATTR_DECR 0x60 -+#define ARC_SUSL_RELR 0x80 -+#define ARC_FREQ_NUM 0xa0 -+#define ARC_KON_BNUM 0xb0 -+#define ARC_PERC_MODE 0xbd -+#define ARC_FEEDBACK 0xc0 -+#define ARC_WAVE_SEL 0xe0 -+ -+#define ARC_SECONDSET 0x100 // second operator set for OPL3 -+ -+ -+#define OP_ACT_OFF 0x00 -+#define OP_ACT_NORMAL 0x01 // regular channel activated (bitmasked) -+#define OP_ACT_PERC 0x02 // percussion channel activated (bitmasked) -+ -+#define BLOCKBUF_SIZE 512 -+ -+ -+ // vibrato constants -+#define VIBTAB_SIZE 8 -+#define VIBFAC 70/50000 // no braces, integer mul/div -+ -+ // tremolo constants and table -+#define TREMTAB_SIZE 53 -+#define TREM_FREQ ((fltype)(3.7)) // tremolo at 3.7hz -+ -+ -+ /* operator struct definition -+ For OPL2 all 9 channels consist of two operators each, carrier and modulator. -+ Channel x has operators x as modulator and operators (9+x) as carrier. -+ For OPL3 all 18 channels consist either of two operators (2op mode) or four -+ operators (4op mode) which is determined through register4 of the second -+ adlib register set. -+ Only the channels 0,1,2 (first set) and 9,10,11 (second set) can act as -+ 4op channels. The two additional operators for a channel y come from the -+ 2op channel y+3 so the operatorss y, (9+y), y+3, (9+y)+3 make up a 4op -+ channel. -+ */ -+typedef struct operator_struct { -+ Bit32s cval, lastcval; // current output/last output (used for feedback) -+ Bit32u tcount, wfpos, tinc; // time (position in waveform) and time increment -+ fltype amp, step_amp; // and amplification (envelope) -+ fltype vol; // volume -+ fltype sustain_level; // sustain level -+ Bit32s mfbi; // feedback amount -+ fltype a0, a1, a2, a3; // attack rate function coefficients -+ fltype decaymul, releasemul; // decay/release rate functions -+ Bit32u op_state; // current state of operator (attack/decay/sustain/release/off) -+ Bit32u toff; -+ Bit32s freq_high; // highest three bits of the frequency, used for vibrato calculations -+ Bit16s* cur_wform; // start of selected waveform -+ Bit32u cur_wmask; // mask for selected waveform -+ Bit32u act_state; // activity state (regular, percussion) -+ bool sus_keep; // keep sustain level when decay finished -+ bool vibrato,tremolo; // vibrato/tremolo enable bits -+ -+ // variables used to provide non-continuous envelopes -+ Bit32u generator_pos; // for non-standard sample rates we need to determine how many samples have passed -+ Bits cur_env_step; // current (standardized) sample position -+ Bits env_step_a,env_step_d,env_step_r; // number of std samples of one step (for attack/decay/release mode) -+ Bit8u step_skip_pos_a; // position of 8-cyclic step skipping (always 2^x to check against mask) -+ Bits env_step_skip_a; // bitmask that determines if a step is skipped (respective bit is zero then) -+ -+#if defined(OPLTYPE_IS_OPL3) -+ bool is_4op,is_4op_attached; // base of a 4op channel/part of a 4op channel -+ Bit32s left_pan,right_pan; // opl3 stereo panning amount -+#endif -+} op_type; -+ -+// per-chip variables -+static op_type op[MAXOPERATORS]; -+ -+static Bits int_samplerate; -+ -+static Bit8u status; -+static Bit32u opl_index; -+#if defined(OPLTYPE_IS_OPL3) -+static Bit8u adlibreg[512]; // adlib register set (including second set) -+static Bit8u wave_sel[44]; // waveform selection -+#else -+static Bit8u adlibreg[256]; // adlib register set -+static Bit8u wave_sel[22]; // waveform selection -+#endif -+ -+ -+ // vibrato/tremolo increment/counter -+static Bit32u vibtab_pos; -+static Bit32u vibtab_add; -+static Bit32u tremtab_pos; -+static Bit32u tremtab_add; -+ -+ -+// enable an operator -+void enable_operator(Bitu regbase, op_type* op_pt, Bit32u act_type); -+ -+// functions to change parameters of an operator -+void change_frequency(Bitu chanbase, Bitu regbase, op_type* op_pt); -+ -+void change_attackrate(Bitu regbase, op_type* op_pt); -+void change_decayrate(Bitu regbase, op_type* op_pt); -+void change_releaserate(Bitu regbase, op_type* op_pt); -+void change_sustainlevel(Bitu regbase, op_type* op_pt); -+void change_waveform(Bitu regbase, op_type* op_pt); -+void change_keepsustain(Bitu regbase, op_type* op_pt); -+void change_vibrato(Bitu regbase, op_type* op_pt); -+void change_feedback(Bitu chanbase, op_type* op_pt); -+ - - static Bit32u generator_add; // should be a chip parameter - -diff --git a/src/opl.h b/src/opl.h -index c8e643b..cbb56ad 100644 ---- a/src/opl.h -+++ b/src/opl.h -@@ -25,11 +25,8 @@ - * Ken Silverman's official web site: "http://www.advsys.net/ken" - */ - -- --#define fltype double -- --#include - #include -+ - typedef uintptr_t Bitu; - typedef intptr_t Bits; - typedef uint32_t Bit32u; -@@ -39,154 +36,6 @@ typedef int16_t Bit16s; - typedef uint8_t Bit8u; - typedef int8_t Bit8s; - -- --/* -- define attribution that inlines/forces inlining of a function (optional) --*/ --#define OPL_INLINE inline -- -- --#undef NUM_CHANNELS --#if defined(OPLTYPE_IS_OPL3) --#define NUM_CHANNELS 18 --#else --#define NUM_CHANNELS 9 --#endif -- --#define MAXOPERATORS (NUM_CHANNELS*2) -- -- --#define FL05 ((fltype)0.5) --#define FL2 ((fltype)2.0) --#define PI ((fltype)3.1415926535897932384626433832795) -- -- --#define FIXEDPT 0x10000 // fixed-point calculations using 16+16 --#define FIXEDPT_LFO 0x1000000 // fixed-point calculations using 8+24 -- --#define WAVEPREC 1024 // waveform precision (10 bits) -- --#define INTFREQU ((fltype)(14318180.0 / 288.0)) // clocking of the chip -- -- --#define OF_TYPE_ATT 0 --#define OF_TYPE_DEC 1 --#define OF_TYPE_REL 2 --#define OF_TYPE_SUS 3 --#define OF_TYPE_SUS_NOKEEP 4 --#define OF_TYPE_OFF 5 -- --#define ARC_CONTROL 0x00 --#define ARC_TVS_KSR_MUL 0x20 --#define ARC_KSL_OUTLEV 0x40 --#define ARC_ATTR_DECR 0x60 --#define ARC_SUSL_RELR 0x80 --#define ARC_FREQ_NUM 0xa0 --#define ARC_KON_BNUM 0xb0 --#define ARC_PERC_MODE 0xbd --#define ARC_FEEDBACK 0xc0 --#define ARC_WAVE_SEL 0xe0 -- --#define ARC_SECONDSET 0x100 // second operator set for OPL3 -- -- --#define OP_ACT_OFF 0x00 --#define OP_ACT_NORMAL 0x01 // regular channel activated (bitmasked) --#define OP_ACT_PERC 0x02 // percussion channel activated (bitmasked) -- --#define BLOCKBUF_SIZE 512 -- -- --// vibrato constants --#define VIBTAB_SIZE 8 --#define VIBFAC 70/50000 // no braces, integer mul/div -- --// tremolo constants and table --#define TREMTAB_SIZE 53 --#define TREM_FREQ ((fltype)(3.7)) // tremolo at 3.7hz -- -- --/* operator struct definition -- For OPL2 all 9 channels consist of two operators each, carrier and modulator. -- Channel x has operators x as modulator and operators (9+x) as carrier. -- For OPL3 all 18 channels consist either of two operators (2op mode) or four -- operators (4op mode) which is determined through register4 of the second -- adlib register set. -- Only the channels 0,1,2 (first set) and 9,10,11 (second set) can act as -- 4op channels. The two additional operators for a channel y come from the -- 2op channel y+3 so the operatorss y, (9+y), y+3, (9+y)+3 make up a 4op -- channel. --*/ --typedef struct operator_struct { -- Bit32s cval, lastcval; // current output/last output (used for feedback) -- Bit32u tcount, wfpos, tinc; // time (position in waveform) and time increment -- fltype amp, step_amp; // and amplification (envelope) -- fltype vol; // volume -- fltype sustain_level; // sustain level -- Bit32s mfbi; // feedback amount -- fltype a0, a1, a2, a3; // attack rate function coefficients -- fltype decaymul, releasemul; // decay/release rate functions -- Bit32u op_state; // current state of operator (attack/decay/sustain/release/off) -- Bit32u toff; -- Bit32s freq_high; // highest three bits of the frequency, used for vibrato calculations -- Bit16s* cur_wform; // start of selected waveform -- Bit32u cur_wmask; // mask for selected waveform -- Bit32u act_state; // activity state (regular, percussion) -- bool sus_keep; // keep sustain level when decay finished -- bool vibrato,tremolo; // vibrato/tremolo enable bits -- -- // variables used to provide non-continuous envelopes -- Bit32u generator_pos; // for non-standard sample rates we need to determine how many samples have passed -- Bits cur_env_step; // current (standardized) sample position -- Bits env_step_a,env_step_d,env_step_r; // number of std samples of one step (for attack/decay/release mode) -- Bit8u step_skip_pos_a; // position of 8-cyclic step skipping (always 2^x to check against mask) -- Bits env_step_skip_a; // bitmask that determines if a step is skipped (respective bit is zero then) -- --#if defined(OPLTYPE_IS_OPL3) -- bool is_4op,is_4op_attached; // base of a 4op channel/part of a 4op channel -- Bit32s left_pan,right_pan; // opl3 stereo panning amount --#endif --} op_type; -- --// per-chip variables --Bitu chip_num; --op_type op[MAXOPERATORS]; -- --Bits int_samplerate; -- --Bit8u status; --Bit32u opl_index; --#if defined(OPLTYPE_IS_OPL3) --Bit8u adlibreg[512]; // adlib register set (including second set) --Bit8u wave_sel[44]; // waveform selection --#else --Bit8u adlibreg[256]; // adlib register set --Bit8u wave_sel[22]; // waveform selection --#endif -- -- --// vibrato/tremolo increment/counter --Bit32u vibtab_pos; --Bit32u vibtab_add; --Bit32u tremtab_pos; --Bit32u tremtab_add; -- -- --// enable an operator --void enable_operator(Bitu regbase, op_type* op_pt, Bit32u act_type); -- --// functions to change parameters of an operator --void change_frequency(Bitu chanbase, Bitu regbase, op_type* op_pt); -- --void change_attackrate(Bitu regbase, op_type* op_pt); --void change_decayrate(Bitu regbase, op_type* op_pt); --void change_releaserate(Bitu regbase, op_type* op_pt); --void change_sustainlevel(Bitu regbase, op_type* op_pt); --void change_waveform(Bitu regbase, op_type* op_pt); --void change_keepsustain(Bitu regbase, op_type* op_pt); --void change_vibrato(Bitu regbase, op_type* op_pt); --void change_feedback(Bitu chanbase, op_type* op_pt); -- - // general functions - void adlib_init(Bit32u samplerate); - void adlib_write(Bitu idx, Bit8u val); -@@ -195,8 +44,8 @@ void adlib_getsample(Bit16s* sndptr, Bits numsamples); - Bitu adlib_reg_read(Bitu port); - void adlib_write_index(Bitu port, Bit8u val); - --#endif /* OPL_H */ -- - #define opl_init() adlib_init(OUTPUT_QUALITY * 11025) - #define opl_write(reg, val) adlib_write(reg, val) - #define opl_update(buf, num) adlib_getsample(buf, num) -+ -+#endif /* OPL_H */ diff --git a/games-arcade/opentyrian/files/opentyrian-2.1.20130907-cflags.patch b/games-arcade/opentyrian/files/opentyrian-2.1.20130907-cflags.patch new file mode 100644 index 000000000000..3654e22ef45e --- /dev/null +++ b/games-arcade/opentyrian/files/opentyrian-2.1.20130907-cflags.patch @@ -0,0 +1,14 @@ +--- a/Makefile ++++ b/Makefile +@@ -21,11 +21,6 @@ + + # FLAGS #################################################### + +-ifneq ($(MAKECMDGOALS), release) +- EXTRA_CFLAGS += -g3 -O0 -Werror +-else +- EXTRA_CFLAGS += -g0 -O2 -DNDEBUG +-endif + EXTRA_CFLAGS += -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers + ifeq ($(WITH_NETWORK), true) + EXTRA_CFLAGS += -DWITH_NETWORK diff --git a/games-arcade/opentyrian/files/opentyrian-2.1.20130907-datapath.patch b/games-arcade/opentyrian/files/opentyrian-2.1.20130907-datapath.patch new file mode 100644 index 000000000000..8ebf427d0797 --- /dev/null +++ b/games-arcade/opentyrian/files/opentyrian-2.1.20130907-datapath.patch @@ -0,0 +1,24 @@ +--- a/Makefile ++++ b/Makefile +@@ -49,6 +49,10 @@ + ALL_LDFLAGS += $(LDFLAGS) + LDLIBS += $(EXTRA_LDLIBS) $(SDL_LDLIBS) + ++ifneq ($(DATA_PATH), ) ++ CFLAGS += -DDATA_PATH=\"$(DATA_PATH)\" ++endif ++ + # RULES #################################################### + + .PHONY : all release clean +--- a/src/file.c ++++ b/src/file.c +@@ -34,7 +34,7 @@ + #ifdef TARGET_MACOSX + tyrian_game_folder(), + #endif +- "/usr/share/opentyrian/data" ++ DATA_PATH + }; + + static const char *dir = NULL; diff --git a/games-arcade/opentyrian/files/opentyrian-2.1.20130907-gcc10.patch b/games-arcade/opentyrian/files/opentyrian-2.1.20130907-gcc10.patch new file mode 100644 index 000000000000..6f0bfcf64cf3 --- /dev/null +++ b/games-arcade/opentyrian/files/opentyrian-2.1.20130907-gcc10.patch @@ -0,0 +1,353 @@ +From 962ee8fc46ca51691bde1c8c1022dacbe8a037ed Mon Sep 17 00:00:00 2001 +From: Carl Reinke +Date: Sun, 14 Jun 2020 14:11:00 -0600 +Subject: [PATCH] Move definitions that don't need to be exposed from opl.h to + opl.c + +--- a/src/opl.c ++++ b/src/opl.c +@@ -23,12 +23,161 @@ + * Copyright (C) 1998-2001 Ken Silverman + * Ken Silverman's official web site: "http://www.advsys.net/ken" + */ +- ++#include "opl.h" + + #include ++#include + #include // rand() + #include // memset() +-#include "opl.h" ++ ++#define fltype double ++ ++ /* ++ define attribution that inlines/forces inlining of a function (optional) ++ */ ++#define OPL_INLINE inline ++ ++ ++#undef NUM_CHANNELS ++#if defined(OPLTYPE_IS_OPL3) ++#define NUM_CHANNELS 18 ++#else ++#define NUM_CHANNELS 9 ++#endif ++ ++#define MAXOPERATORS (NUM_CHANNELS*2) ++ ++ ++#define FL05 ((fltype)0.5) ++#define FL2 ((fltype)2.0) ++#define PI ((fltype)3.1415926535897932384626433832795) ++ ++ ++#define FIXEDPT 0x10000 // fixed-point calculations using 16+16 ++#define FIXEDPT_LFO 0x1000000 // fixed-point calculations using 8+24 ++ ++#define WAVEPREC 1024 // waveform precision (10 bits) ++ ++#define INTFREQU ((fltype)(14318180.0 / 288.0)) // clocking of the chip ++ ++ ++#define OF_TYPE_ATT 0 ++#define OF_TYPE_DEC 1 ++#define OF_TYPE_REL 2 ++#define OF_TYPE_SUS 3 ++#define OF_TYPE_SUS_NOKEEP 4 ++#define OF_TYPE_OFF 5 ++ ++#define ARC_CONTROL 0x00 ++#define ARC_TVS_KSR_MUL 0x20 ++#define ARC_KSL_OUTLEV 0x40 ++#define ARC_ATTR_DECR 0x60 ++#define ARC_SUSL_RELR 0x80 ++#define ARC_FREQ_NUM 0xa0 ++#define ARC_KON_BNUM 0xb0 ++#define ARC_PERC_MODE 0xbd ++#define ARC_FEEDBACK 0xc0 ++#define ARC_WAVE_SEL 0xe0 ++ ++#define ARC_SECONDSET 0x100 // second operator set for OPL3 ++ ++ ++#define OP_ACT_OFF 0x00 ++#define OP_ACT_NORMAL 0x01 // regular channel activated (bitmasked) ++#define OP_ACT_PERC 0x02 // percussion channel activated (bitmasked) ++ ++#define BLOCKBUF_SIZE 512 ++ ++ ++ // vibrato constants ++#define VIBTAB_SIZE 8 ++#define VIBFAC 70/50000 // no braces, integer mul/div ++ ++ // tremolo constants and table ++#define TREMTAB_SIZE 53 ++#define TREM_FREQ ((fltype)(3.7)) // tremolo at 3.7hz ++ ++ ++ /* operator struct definition ++ For OPL2 all 9 channels consist of two operators each, carrier and modulator. ++ Channel x has operators x as modulator and operators (9+x) as carrier. ++ For OPL3 all 18 channels consist either of two operators (2op mode) or four ++ operators (4op mode) which is determined through register4 of the second ++ adlib register set. ++ Only the channels 0,1,2 (first set) and 9,10,11 (second set) can act as ++ 4op channels. The two additional operators for a channel y come from the ++ 2op channel y+3 so the operatorss y, (9+y), y+3, (9+y)+3 make up a 4op ++ channel. ++ */ ++typedef struct operator_struct { ++ Bit32s cval, lastcval; // current output/last output (used for feedback) ++ Bit32u tcount, wfpos, tinc; // time (position in waveform) and time increment ++ fltype amp, step_amp; // and amplification (envelope) ++ fltype vol; // volume ++ fltype sustain_level; // sustain level ++ Bit32s mfbi; // feedback amount ++ fltype a0, a1, a2, a3; // attack rate function coefficients ++ fltype decaymul, releasemul; // decay/release rate functions ++ Bit32u op_state; // current state of operator (attack/decay/sustain/release/off) ++ Bit32u toff; ++ Bit32s freq_high; // highest three bits of the frequency, used for vibrato calculations ++ Bit16s* cur_wform; // start of selected waveform ++ Bit32u cur_wmask; // mask for selected waveform ++ Bit32u act_state; // activity state (regular, percussion) ++ bool sus_keep; // keep sustain level when decay finished ++ bool vibrato,tremolo; // vibrato/tremolo enable bits ++ ++ // variables used to provide non-continuous envelopes ++ Bit32u generator_pos; // for non-standard sample rates we need to determine how many samples have passed ++ Bits cur_env_step; // current (standardized) sample position ++ Bits env_step_a,env_step_d,env_step_r; // number of std samples of one step (for attack/decay/release mode) ++ Bit8u step_skip_pos_a; // position of 8-cyclic step skipping (always 2^x to check against mask) ++ Bits env_step_skip_a; // bitmask that determines if a step is skipped (respective bit is zero then) ++ ++#if defined(OPLTYPE_IS_OPL3) ++ bool is_4op,is_4op_attached; // base of a 4op channel/part of a 4op channel ++ Bit32s left_pan,right_pan; // opl3 stereo panning amount ++#endif ++} op_type; ++ ++// per-chip variables ++static op_type op[MAXOPERATORS]; ++ ++static Bits int_samplerate; ++ ++static Bit8u status; ++static Bit32u opl_index; ++#if defined(OPLTYPE_IS_OPL3) ++static Bit8u adlibreg[512]; // adlib register set (including second set) ++static Bit8u wave_sel[44]; // waveform selection ++#else ++static Bit8u adlibreg[256]; // adlib register set ++static Bit8u wave_sel[22]; // waveform selection ++#endif ++ ++ ++ // vibrato/tremolo increment/counter ++static Bit32u vibtab_pos; ++static Bit32u vibtab_add; ++static Bit32u tremtab_pos; ++static Bit32u tremtab_add; ++ ++ ++// enable an operator ++void enable_operator(Bitu regbase, op_type* op_pt, Bit32u act_type); ++ ++// functions to change parameters of an operator ++void change_frequency(Bitu chanbase, Bitu regbase, op_type* op_pt); ++ ++void change_attackrate(Bitu regbase, op_type* op_pt); ++void change_decayrate(Bitu regbase, op_type* op_pt); ++void change_releaserate(Bitu regbase, op_type* op_pt); ++void change_sustainlevel(Bitu regbase, op_type* op_pt); ++void change_waveform(Bitu regbase, op_type* op_pt); ++void change_keepsustain(Bitu regbase, op_type* op_pt); ++void change_vibrato(Bitu regbase, op_type* op_pt); ++void change_feedback(Bitu chanbase, op_type* op_pt); ++ + + static Bit32u generator_add; // should be a chip parameter + +--- a/src/opl.h ++++ b/src/opl.h +@@ -25,11 +25,8 @@ + * Ken Silverman's official web site: "http://www.advsys.net/ken" + */ + +- +-#define fltype double +- +-#include + #include ++ + typedef uintptr_t Bitu; + typedef intptr_t Bits; + typedef uint32_t Bit32u; +@@ -39,154 +36,6 @@ typedef int16_t Bit16s; + typedef uint8_t Bit8u; + typedef int8_t Bit8s; + +- +-/* +- define attribution that inlines/forces inlining of a function (optional) +-*/ +-#define OPL_INLINE inline +- +- +-#undef NUM_CHANNELS +-#if defined(OPLTYPE_IS_OPL3) +-#define NUM_CHANNELS 18 +-#else +-#define NUM_CHANNELS 9 +-#endif +- +-#define MAXOPERATORS (NUM_CHANNELS*2) +- +- +-#define FL05 ((fltype)0.5) +-#define FL2 ((fltype)2.0) +-#define PI ((fltype)3.1415926535897932384626433832795) +- +- +-#define FIXEDPT 0x10000 // fixed-point calculations using 16+16 +-#define FIXEDPT_LFO 0x1000000 // fixed-point calculations using 8+24 +- +-#define WAVEPREC 1024 // waveform precision (10 bits) +- +-#define INTFREQU ((fltype)(14318180.0 / 288.0)) // clocking of the chip +- +- +-#define OF_TYPE_ATT 0 +-#define OF_TYPE_DEC 1 +-#define OF_TYPE_REL 2 +-#define OF_TYPE_SUS 3 +-#define OF_TYPE_SUS_NOKEEP 4 +-#define OF_TYPE_OFF 5 +- +-#define ARC_CONTROL 0x00 +-#define ARC_TVS_KSR_MUL 0x20 +-#define ARC_KSL_OUTLEV 0x40 +-#define ARC_ATTR_DECR 0x60 +-#define ARC_SUSL_RELR 0x80 +-#define ARC_FREQ_NUM 0xa0 +-#define ARC_KON_BNUM 0xb0 +-#define ARC_PERC_MODE 0xbd +-#define ARC_FEEDBACK 0xc0 +-#define ARC_WAVE_SEL 0xe0 +- +-#define ARC_SECONDSET 0x100 // second operator set for OPL3 +- +- +-#define OP_ACT_OFF 0x00 +-#define OP_ACT_NORMAL 0x01 // regular channel activated (bitmasked) +-#define OP_ACT_PERC 0x02 // percussion channel activated (bitmasked) +- +-#define BLOCKBUF_SIZE 512 +- +- +-// vibrato constants +-#define VIBTAB_SIZE 8 +-#define VIBFAC 70/50000 // no braces, integer mul/div +- +-// tremolo constants and table +-#define TREMTAB_SIZE 53 +-#define TREM_FREQ ((fltype)(3.7)) // tremolo at 3.7hz +- +- +-/* operator struct definition +- For OPL2 all 9 channels consist of two operators each, carrier and modulator. +- Channel x has operators x as modulator and operators (9+x) as carrier. +- For OPL3 all 18 channels consist either of two operators (2op mode) or four +- operators (4op mode) which is determined through register4 of the second +- adlib register set. +- Only the channels 0,1,2 (first set) and 9,10,11 (second set) can act as +- 4op channels. The two additional operators for a channel y come from the +- 2op channel y+3 so the operatorss y, (9+y), y+3, (9+y)+3 make up a 4op +- channel. +-*/ +-typedef struct operator_struct { +- Bit32s cval, lastcval; // current output/last output (used for feedback) +- Bit32u tcount, wfpos, tinc; // time (position in waveform) and time increment +- fltype amp, step_amp; // and amplification (envelope) +- fltype vol; // volume +- fltype sustain_level; // sustain level +- Bit32s mfbi; // feedback amount +- fltype a0, a1, a2, a3; // attack rate function coefficients +- fltype decaymul, releasemul; // decay/release rate functions +- Bit32u op_state; // current state of operator (attack/decay/sustain/release/off) +- Bit32u toff; +- Bit32s freq_high; // highest three bits of the frequency, used for vibrato calculations +- Bit16s* cur_wform; // start of selected waveform +- Bit32u cur_wmask; // mask for selected waveform +- Bit32u act_state; // activity state (regular, percussion) +- bool sus_keep; // keep sustain level when decay finished +- bool vibrato,tremolo; // vibrato/tremolo enable bits +- +- // variables used to provide non-continuous envelopes +- Bit32u generator_pos; // for non-standard sample rates we need to determine how many samples have passed +- Bits cur_env_step; // current (standardized) sample position +- Bits env_step_a,env_step_d,env_step_r; // number of std samples of one step (for attack/decay/release mode) +- Bit8u step_skip_pos_a; // position of 8-cyclic step skipping (always 2^x to check against mask) +- Bits env_step_skip_a; // bitmask that determines if a step is skipped (respective bit is zero then) +- +-#if defined(OPLTYPE_IS_OPL3) +- bool is_4op,is_4op_attached; // base of a 4op channel/part of a 4op channel +- Bit32s left_pan,right_pan; // opl3 stereo panning amount +-#endif +-} op_type; +- +-// per-chip variables +-Bitu chip_num; +-op_type op[MAXOPERATORS]; +- +-Bits int_samplerate; +- +-Bit8u status; +-Bit32u opl_index; +-#if defined(OPLTYPE_IS_OPL3) +-Bit8u adlibreg[512]; // adlib register set (including second set) +-Bit8u wave_sel[44]; // waveform selection +-#else +-Bit8u adlibreg[256]; // adlib register set +-Bit8u wave_sel[22]; // waveform selection +-#endif +- +- +-// vibrato/tremolo increment/counter +-Bit32u vibtab_pos; +-Bit32u vibtab_add; +-Bit32u tremtab_pos; +-Bit32u tremtab_add; +- +- +-// enable an operator +-void enable_operator(Bitu regbase, op_type* op_pt, Bit32u act_type); +- +-// functions to change parameters of an operator +-void change_frequency(Bitu chanbase, Bitu regbase, op_type* op_pt); +- +-void change_attackrate(Bitu regbase, op_type* op_pt); +-void change_decayrate(Bitu regbase, op_type* op_pt); +-void change_releaserate(Bitu regbase, op_type* op_pt); +-void change_sustainlevel(Bitu regbase, op_type* op_pt); +-void change_waveform(Bitu regbase, op_type* op_pt); +-void change_keepsustain(Bitu regbase, op_type* op_pt); +-void change_vibrato(Bitu regbase, op_type* op_pt); +-void change_feedback(Bitu chanbase, op_type* op_pt); +- + // general functions + void adlib_init(Bit32u samplerate); + void adlib_write(Bitu idx, Bit8u val); +@@ -195,8 +44,8 @@ void adlib_getsample(Bit16s* sndptr, Bits numsamples); + Bitu adlib_reg_read(Bitu port); + void adlib_write_index(Bitu port, Bit8u val); + +-#endif /* OPL_H */ +- + #define opl_init() adlib_init(OUTPUT_QUALITY * 11025) + #define opl_write(reg, val) adlib_write(reg, val) + #define opl_update(buf, num) adlib_getsample(buf, num) ++ ++#endif /* OPL_H */ diff --git a/games-arcade/opentyrian/opentyrian-2.1.20130907-r2.ebuild b/games-arcade/opentyrian/opentyrian-2.1.20130907-r2.ebuild deleted file mode 100644 index 74fce946ff85..000000000000 --- a/games-arcade/opentyrian/opentyrian-2.1.20130907-r2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop toolchain-funcs xdg-utils - -DESCRIPTION="Open-source port of the DOS game Tyrian, vertical scrolling shooter" -HOMEPAGE="https://github.com/opentyrian/opentyrian" -SRC_URI="http://darklomax.org/tyrian/tyrian21.zip - http://www.camanis.net/${PN}/releases/${P}-src.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND="media-libs/libsdl[video] - media-libs/sdl-net" -RDEPEND="${DEPEND}" -BDEPEND="app-arch/unzip" - -PATCHES=( - "${FILESDIR}/${PV}-datapath.diff" - "${FILESDIR}/${PV}-cflag-idiocy.diff" - "${FILESDIR}/${PV}-gcc10.patch" -) - -src_prepare() { - default - rm "${WORKDIR}"/tyrian21/{*.exe,dpmi16bi.ovl,loudness.awe} || die "Failed to remove win32 binaries" -} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - DATA_PATH="${EPREFIX}/usr/share/${PN}" -} - -src_install() { - dobin opentyrian - dosym opentyrian /usr/bin/tyrian - dodoc CREDITS NEWS README - domenu linux/opentyrian.desktop - - local size - for i in linux/icons/*.png ; do - size=${i%.png} - size=${size##*-} - newicon -s "${size}" "${i}" opentyrian.png - done - - insinto /usr/share/"${PN}" - doins "${WORKDIR}"/tyrian21/* -} - -pkg_postinst() { - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/games-arcade/opentyrian/opentyrian-2.1.20130907-r3.ebuild b/games-arcade/opentyrian/opentyrian-2.1.20130907-r3.ebuild new file mode 100644 index 000000000000..1161edc3135f --- /dev/null +++ b/games-arcade/opentyrian/opentyrian-2.1.20130907-r3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop toolchain-funcs xdg-utils + +DESCRIPTION="Open-source port of the DOS game Tyrian, vertical scrolling shooter" +HOMEPAGE="https://github.com/opentyrian/opentyrian" +SRC_URI="http://darklomax.org/tyrian/tyrian21.zip + http://www.camanis.net/${PN}/releases/${P}-src.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="media-libs/libsdl[joystick,video] + media-libs/sdl-net" +RDEPEND="${DEPEND}" +BDEPEND="app-arch/unzip" + +PATCHES=( + "${FILESDIR}/${P}-datapath.patch" + "${FILESDIR}/${P}-cflags.patch" + "${FILESDIR}/${P}-gcc10.patch" +) + +src_prepare() { + default + + rm "${WORKDIR}"/tyrian21/{*.exe,dpmi16bi.ovl,loudness.awe} || die "Failed to remove win32 binaries" +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + DATA_PATH="${EPREFIX}/usr/share/${PN}" +} + +src_install() { + dobin opentyrian + dosym opentyrian /usr/bin/tyrian + dodoc CREDITS NEWS README + domenu linux/opentyrian.desktop + + local size + for i in linux/icons/*.png ; do + size=${i%.png} + size=${size##*-} + newicon -s "${size}" "${i}" opentyrian.png + done + + insinto /usr/share/"${PN}" + doins "${WORKDIR}"/tyrian21/* +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/games-arcade/sdlroids/Manifest b/games-arcade/sdlroids/Manifest index 1c901f1eb247..14876b59f07b 100644 --- a/games-arcade/sdlroids/Manifest +++ b/games-arcade/sdlroids/Manifest @@ -2,5 +2,5 @@ AUX sdlroids-1.3.4-Makefile.patch 560 BLAKE2B 58c48f839eb49f783c651e3ad17b28be93 AUX sdlroids-1.3.4-fno-common.patch 3072 BLAKE2B 15db2f2e74066e244c10ddb59728c78d4880782a124bc9b6419e104a12f1520800b021d973d6b306abd3430c343357ef9edf1e0d1eba6a3c5eb93c2474125933 SHA512 cc72948fc0f2c6f685f86a54b496b02e669c6713981c3f760bfcc1138e8aa3079396ada38adf6ca6b8dadd551c9cc755b8ce6e8d38634c9610592866182e659e AUX sdlroids-1.3.4-sound.patch 658 BLAKE2B c7a9a46881e1f8f9d9c48e843338bc9c61a1a3cda4d8f3ca27f9e47410f0e40eca039bbf3069c8be2bdb23f97e9b02a1dc3e955e07b5191c54dceafc12f29782 SHA512 4d01491aa3a57c9ea43cb15e815e761e78cae50c8f4c7abce4b02c2343ad7671b688d81da94bbca8036d081b427a08791e0332e3fb3fdad71ba41b15f291a619 DIST sdlroids-1.3.4.tar.bz2 136588 BLAKE2B e2dd15c0437184af557f96daaa11d9b50ae991e7c29ccd3e4a27f2668719d0f7ef8244e681bdac2d8726b1493175ab4a3f754daf0f471f606bcb5cbe1b5aa1c8 SHA512 abd202e462ac96781481defb9442f3ee69cbfafb5b4e82ae435dca23068257c3e65ba4886c0c41f2568a8568b52267ded24b8684efb3f7cafd21754103cc31b4 -EBUILD sdlroids-1.3.4-r4.ebuild 723 BLAKE2B eb26b871ea5583228670ecc0b79e51c3c1bf5d105fc47c6d2a38ccd52d2d8a34145a71b6398e4eb8a2db6809c32a97d9ecb2574e873a5fda9f4822708259172c SHA512 31f43275d101baf2509367dad71de22a5b04a0b8320d7e0aea0b1c9e8ca6148d8f3970a54ebe8605100f0f415b0857c4f35630bc966c59f6d1c87b5d8956df01 +EBUILD sdlroids-1.3.4-r5.ebuild 733 BLAKE2B dfdf86c7b3720c6d9c572660dd590b1387ad83262374ccc3097f96d3eb253b101c453102fcdb39e9f295d99517d17bd7f428b3ed0a3589cb62d8d3119b6b3ae5 SHA512 5d7874e6b9baf7be1f12896a1dd15ddb61e1ef80c1f4dd16ad500b166987756553998cb98134e9d7cf78069b600984f972da65334ae829f01b851e7c4fadb357 MISC metadata.xml 331 BLAKE2B 6d663f6943fa4c3419e12335c8d6c4913ad7658635d37889373a3b90bb7fb810cc80478d41eee57e2cda6099b7b3b748bd7583b248be2543293e6d48d5ccbe42 SHA512 b126b6b4997b53170da871ca8cf66be75350ad1b2492a62f99b8a512eab5ce63a8ededd8794ca480ecf711a4e585e0b81d77b4f1fa0dcee500c54bd48878305b diff --git a/games-arcade/sdlroids/sdlroids-1.3.4-r4.ebuild b/games-arcade/sdlroids/sdlroids-1.3.4-r4.ebuild deleted file mode 100644 index 30d2f85a7f33..000000000000 --- a/games-arcade/sdlroids/sdlroids-1.3.4-r4.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools desktop - -DESCRIPTION="Asteroids Clone for X using SDL" -HOMEPAGE="http://david.hedbor.org/projects/sdlroids/" -SRC_URI="mirror://sourceforge/sdlroids/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~x86" - -RDEPEND=" - media-libs/libsdl - media-libs/sdl-mixer" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-sound.patch - "${FILESDIR}"/${P}-Makefile.patch - "${FILESDIR}"/${P}-fno-common.patch -) - -src_prepare() { - default - mv configure.{in,ac} || die - eautoreconf -} - -src_install() { - default - - newicon icons/sdlroids-48x48.xpm ${PN}.xpm - make_desktop_entry ${PN} SDLRoids ${PN} -} diff --git a/games-arcade/sdlroids/sdlroids-1.3.4-r5.ebuild b/games-arcade/sdlroids/sdlroids-1.3.4-r5.ebuild new file mode 100644 index 000000000000..fef465d97c2e --- /dev/null +++ b/games-arcade/sdlroids/sdlroids-1.3.4-r5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools desktop + +DESCRIPTION="Asteroids Clone for X using SDL" +HOMEPAGE="http://david.hedbor.org/projects/sdlroids/" +SRC_URI="mirror://sourceforge/sdlroids/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86" + +RDEPEND=" + media-libs/libsdl[joystick] + media-libs/sdl-mixer" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-sound.patch + "${FILESDIR}"/${P}-Makefile.patch + "${FILESDIR}"/${P}-fno-common.patch +) + +src_prepare() { + default + mv configure.{in,ac} || die + eautoreconf +} + +src_install() { + default + + newicon icons/sdlroids-48x48.xpm ${PN}.xpm + make_desktop_entry ${PN} SDLRoids ${PN} +} -- cgit v1.2.3