From cf89ca044e37f79e2329552cda857215f9824e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 17 Oct 2023 10:00:35 +0100 Subject: gentoo auto-resync : 17:10:2023 - 10:00:35 --- games-arcade/Manifest.gz | Bin 20914 -> 20920 bytes games-arcade/open-supaplex/Manifest | 2 +- .../open-supaplex/open-supaplex-7.1.2-r1.ebuild | 55 +++++++++++++++++++++ .../open-supaplex/open-supaplex-7.1.2.ebuild | 55 --------------------- 4 files changed, 56 insertions(+), 56 deletions(-) create mode 100644 games-arcade/open-supaplex/open-supaplex-7.1.2-r1.ebuild delete mode 100644 games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild (limited to 'games-arcade') diff --git a/games-arcade/Manifest.gz b/games-arcade/Manifest.gz index 3aff44576719..b49f8735178a 100644 Binary files a/games-arcade/Manifest.gz and b/games-arcade/Manifest.gz differ diff --git a/games-arcade/open-supaplex/Manifest b/games-arcade/open-supaplex/Manifest index f966e474f1b8..f93600c532da 100644 --- a/games-arcade/open-supaplex/Manifest +++ b/games-arcade/open-supaplex/Manifest @@ -1,4 +1,4 @@ AUX open-supaplex.svg 1613 BLAKE2B 8f5a6061239d9e573792890d2c2dcff6ba34e113832fc033d53c99af1ab9ffa8139465dc3b37b7dae0861db33d15cffa5da01d7a4ac69e7c66bf9d8b461fc553 SHA512 3a9a1f7fc9b0dd493e995d0dd3786067e53160a7ba0f3506282475cd2eaf6a6dd392bcfe925308845f331c7cdc4f1df872dcb1be7727e89d01ac6942100e8eeb DIST open-supaplex-7.1.2.tar.gz 50157943 BLAKE2B 74811edf2dbf65b21fc502703ecadaa293ac5219e0c17b6876a6c6d81c46456d3d06717b56124ce5a675dbfa2c228235479ab8e5baf33fc3618576936dc9b62c SHA512 960c916d9af142511c755babeed24e4cde71bf9b61a5d77b988c45dc9fb9065ca6c65f07b72a2c413a1a7a5158da597f72e9d4d907de9585c4a6cc410e6134f6 -EBUILD open-supaplex-7.1.2.ebuild 1572 BLAKE2B 9907a832210ba7760ab5eddecb2ba6b27b6436468f6361c958c02fda60b9df978e2a504ce44a503d8f99b35670fec7438204ad491cbdd108881de0b21b2ee8e7 SHA512 eafab6bbe277abb404ca6cc86d625ca835729bc3dfa1a68e5fbd96843e665eb7a258b10fda6239f9356b34a0bbbb41fabafafb9a8bb0b89b3ef5492f97dc24d6 +EBUILD open-supaplex-7.1.2-r1.ebuild 1572 BLAKE2B da1f6c7c22ca22858da0d2369d0ded32d230d2b692631e3a7412e8f6dc4b0902ea66efba3f3d9e4a352103caf29ba6c24348d61328a274e32340abecc1d08c54 SHA512 00b0c96087321796f92d05b770d6f7752207c503cd23f33f0f6035a8751db9d417a5dad9baa59dd5506ab062d3d620f0b3bec47a0c22d8a0779445a109f9c35a MISC metadata.xml 606 BLAKE2B c4a266532792fd25d8aa13108bcaa58c594553890a816830500343b5a8b773eff1f83bc9f5d0ab05db1432dbc1e9c7c3d3e4ca57383b3773ccab729c4a756249 SHA512 95d1cde5283ab12a009f8aa4acdfa69e529ced419a0d793cb5171107fec8dd25dc5c00ea2d528e9a7ed627ee1966b282e5185286608b3b2dc028018aeb4427ba diff --git a/games-arcade/open-supaplex/open-supaplex-7.1.2-r1.ebuild b/games-arcade/open-supaplex/open-supaplex-7.1.2-r1.ebuild new file mode 100644 index 000000000000..0235c790c240 --- /dev/null +++ b/games-arcade/open-supaplex/open-supaplex-7.1.2-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop flag-o-matic toolchain-funcs + +DESCRIPTION="OSS reimplementation of Supaplex in C and SDL" +HOMEPAGE="https://github.com/sergiou87/open-supaplex" +SRC_URI="https://github.com/sergiou87/open-supaplex/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + media-libs/libsdl2[joystick,sound,video] + media-libs/sdl2-mixer[vorbis] +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( dev-lang/ruby ) +" + +src_prepare() { + default + rm -r resources/audio-{l,m}q || die +} + +src_compile() { + append-cflags -DFILE_FHS_XDG_DIRS -DFILE_DATA_PATH="${EPREFIX}/usr/share/OpenSupaplex" + emake -C linux CC="$(tc-getCC)" +} + +src_test() { + emake -C tests CC="$(tc-getCC)" + # Avoid installing savegames, configs, etc, if any were written during the test + cp -R resources "${T}/test" || die + cd tests || die + # gems are not used by the test, but by default ruby fails to start if + # dev-ruby/rubygems is not installed. dev-lang/ruby depends on that package + # via PDEPEND which is why it's not available if ruby was pulled as a + # dependency to open-supaplex on clean machine. + # https://bugs.gentoo.org/739126 + OPENSUPAPLEX_PATH="${T}/test" ruby --disable=gems ./run-tests.rb ./opensupaplex || die +} + +src_install() { + dobin linux/opensupaplex + insinto /usr/share/OpenSupaplex + doins -r resources/* + doicon "${FILESDIR}/open-supaplex.svg" + make_desktop_entry opensupaplex OpenSupaplex open-supaplex +} diff --git a/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild b/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild deleted file mode 100644 index 342e8a21d5f7..000000000000 --- a/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop flag-o-matic toolchain-funcs - -DESCRIPTION="OSS reimplementation of Supaplex in C and SDL" -HOMEPAGE="https://github.com/sergiou87/open-supaplex" -SRC_URI="https://github.com/sergiou87/open-supaplex/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - media-libs/libsdl2[joystick,sound,video] - media-libs/sdl2-mixer[vorbis] -" -DEPEND="${RDEPEND}" -BDEPEND=" - test? ( dev-lang/ruby ) -" - -src_prepare() { - default - rm -r resources/audio-{l,m}q || die -} - -src_compile() { - append-cflags -DFILE_FHS_XDG_DIRS -DFILE_DATA_PATH="${EPREFIX}/usr/share/OpenSupaplex" - emake -C linux CC="$(tc-getCC)" -} - -src_test() { - emake -C tests CC="$(tc-getCC)" - # Avoid installing savegames, configs, etc, if any were written during the test - cp -R resources "${T}/test" || die - cd tests || die - # gems are not used by the test, but by default ruby fails to start if - # dev-ruby/rubygems is not installed. dev-lang/ruby depends on that package - # via PDEPEND which is why it's not available if ruby was pulled as a - # dependency to open-supaplex on clean machine. - # https://bugs.gentoo.org/739126 - OPENSUPAPLEX_PATH="${T}/test" ruby --disable=gems ./run-tests.rb ./opensupaplex || die -} - -src_install() { - dobin linux/opensupaplex - insinto /usr/share/OpenSupaplex - doins -r resources/* - doicon "${FILESDIR}/open-supaplex.svg" - make_desktop_entry opensupaplex OpenSupaplex open-supaplex -} -- cgit v1.2.3