summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Sokolov <alexey+gentoo@asokolov.org>2023-09-28 00:16:05 +0100
committerYixun Lan <dlan@gentoo.org>2023-10-17 05:23:44 +0000
commit0fa2f1beb375ebf9bad34a4e06b260c720144c94 (patch)
tree5151197c6dc8dca4fb4b374da1f6af7727307784 /games-arcade/open-supaplex
parentgames-arcade/open-supaplex: update EAPI 7 -> 8 (diff)
downloadgentoo-0fa2f1beb375ebf9bad34a4e06b260c720144c94.tar.gz
gentoo-0fa2f1beb375ebf9bad34a4e06b260c720144c94.tar.bz2
gentoo-0fa2f1beb375ebf9bad34a4e06b260c720144c94.zip
games-arcade/open-supaplex: drop 7.1.2
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'games-arcade/open-supaplex')
-rw-r--r--games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild55
1 files changed, 0 insertions, 55 deletions
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
-}