* [gentoo-commits] repo/gentoo:master commit in: games-arcade/open-supaplex/
@ 2020-08-27 9:55 James Le Cuirot
0 siblings, 0 replies; 3+ messages in thread
From: James Le Cuirot @ 2020-08-27 9:55 UTC (permalink / raw
To: gentoo-commits
commit: 9dbf2b36f30797c1871979615ce98bacf1cad7ba
Author: Alexey Sokolov <sokolov <AT> google <DOT> com>
AuthorDate: Wed Aug 26 23:30:24 2020 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Aug 27 09:55:38 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dbf2b36
games-arcade/open-supaplex: don't require rubygems
Closes: https://bugs.gentoo.org/739126
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/17274
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild b/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild
index 73f47b1b310..342e8a21d5f 100644
--- a/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild
+++ b/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild
@@ -38,7 +38,12 @@ src_test() {
# Avoid installing savegames, configs, etc, if any were written during the test
cp -R resources "${T}/test" || die
cd tests || die
- OPENSUPAPLEX_PATH="${T}/test" ./run-tests.rb ./opensupaplex || 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() {
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-arcade/open-supaplex/
@ 2023-10-17 5:24 Yixun Lan
0 siblings, 0 replies; 3+ messages in thread
From: Yixun Lan @ 2023-10-17 5:24 UTC (permalink / raw
To: gentoo-commits
commit: 0fa2f1beb375ebf9bad34a4e06b260c720144c94
Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Wed Sep 27 23:16:05 2023 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Oct 17 05:23:44 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fa2f1be
games-arcade/open-supaplex: drop 7.1.2
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
.../open-supaplex/open-supaplex-7.1.2.ebuild | 55 ----------------------
1 file changed, 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
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-arcade/open-supaplex/
@ 2023-10-17 5:24 Yixun Lan
0 siblings, 0 replies; 3+ messages in thread
From: Yixun Lan @ 2023-10-17 5:24 UTC (permalink / raw
To: gentoo-commits
commit: 6a6065cec56d95c775da3d4503e2114747ee9966
Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Wed Sep 27 23:15:49 2023 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Oct 17 05:23:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a6065ce
games-arcade/open-supaplex: update EAPI 7 -> 8
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
.../open-supaplex/open-supaplex-7.1.2-r1.ebuild | 55 ++++++++++++++++++++++
1 file changed, 55 insertions(+)
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
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-10-17 5:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-17 5:24 [gentoo-commits] repo/gentoo:master commit in: games-arcade/open-supaplex/ Yixun Lan
-- strict thread matches above, loose matches on Subject: below --
2023-10-17 5:24 Yixun Lan
2020-08-27 9:55 James Le Cuirot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox