public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: games-rpg/open-adventure/
@ 2023-11-24 17:20 David Roman
  0 siblings, 0 replies; 7+ messages in thread
From: David Roman @ 2023-11-24 17:20 UTC (permalink / raw
  To: gentoo-commits

commit:     3470985dd0ffad847195b1e30a9575495f34b588
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Thu Nov 23 10:30:16 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Nov 23 10:43:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3470985d

games-rpg/open-adventure: new package, add 1.16

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 games-rpg/open-adventure/Manifest                  |  1 +
 games-rpg/open-adventure/metadata.xml              | 11 ++++++
 .../open-adventure/open-adventure-1.16.ebuild      | 41 ++++++++++++++++++++++
 3 files changed, 53 insertions(+)

diff --git a/games-rpg/open-adventure/Manifest b/games-rpg/open-adventure/Manifest
new file mode 100644
index 0000000000..653b92b764
--- /dev/null
+++ b/games-rpg/open-adventure/Manifest
@@ -0,0 +1 @@
+DIST open-adventure-1.16.tar.bz2 211155 BLAKE2B 2c54bf8b30fefb5b52cd69d5c315e0c628ee51d514f545d2830ca809c40f3824e20eb5c06ad94b6fbf3aaeb9c9c2bad72b9217dfbabc33ec8cd469690ddab125 SHA512 4b58937a20200a081bc44464f5132ea33a010756831f95d5be75916f01b70bc54bd9f5606823fee5fbe2de1dd2e558325f516f050bc40e48cd8d840e65c17e07

diff --git a/games-rpg/open-adventure/metadata.xml b/games-rpg/open-adventure/metadata.xml
new file mode 100644
index 0000000000..a4448d805b
--- /dev/null
+++ b/games-rpg/open-adventure/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+	<maintainer type="person">
+		<email>smaniotto.nicola@gmail.com</email>
+		<name>Nicola Smaniotto</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="gitlab">esr/open-adventure</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/games-rpg/open-adventure/open-adventure-1.16.ebuild b/games-rpg/open-adventure/open-adventure-1.16.ebuild
new file mode 100644
index 0000000000..2d4d8bd038
--- /dev/null
+++ b/games-rpg/open-adventure/open-adventure-1.16.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit desktop python-any-r1
+
+DESCRIPTION="Forward-port of the Crowther/Woods Adventure 2.5"
+HOMEPAGE="http://www.catb.org/~esr/open-adventure/"
+SRC_URI="https://gitlab.com/esr/${PN}/-/archive/${PV}/${P}.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+	${PYTHON_DEPS}
+	$(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]' )
+"
+
+DOCS=( NEWS.adoc hints.adoc history.adoc README.adoc notes.adoc )
+
+src_compile() {
+	emake advent advent.6
+}
+
+src_install() {
+	einstalldocs
+	doman advent.6
+
+	dobin advent
+
+	doicon -s scalable advent.svg
+	domenu advent.desktop
+}
+
+src_test() {
+	# parallel tests often fail
+	emake -j1 check
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: games-rpg/open-adventure/
@ 2023-12-12  6:19 Viorel Munteanu
  0 siblings, 0 replies; 7+ messages in thread
From: Viorel Munteanu @ 2023-12-12  6:19 UTC (permalink / raw
  To: gentoo-commits

commit:     f6f870830839a83eb7f4fd80ec07972cff27cd2b
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Mon Dec 11 08:27:00 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Dec 11 08:28:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f6f87083

games-rpg/open-adventure: add || die to sed calls

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 games-rpg/open-adventure/open-adventure-1.16.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-rpg/open-adventure/open-adventure-1.16.ebuild b/games-rpg/open-adventure/open-adventure-1.16.ebuild
index 45758338c5..144ca6192d 100644
--- a/games-rpg/open-adventure/open-adventure-1.16.ebuild
+++ b/games-rpg/open-adventure/open-adventure-1.16.ebuild
@@ -37,13 +37,13 @@ python_check_deps() {
 src_prepare() {
 	# remove uncommon flags
 	sed -e 's/-D_FORTIFY_SOURCE=2 -fstack-protector-all $(CFLAGS) -g/$(CFLAGS)/' \
-		-i Makefile
+		-i Makefile || die "Makefile patching failed"
 
 	eapply_user
 
 	# Add missing semicolon
 	sed -e 's/rspeak(SAVERESUME_DISABLED)/rspeak(SAVERESUME_DISABLED);/' \
-		-i saveresume.c
+		-i saveresume.c || die "Typo fix failed"
 }
 
 src_compile() {


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: games-rpg/open-adventure/
@ 2024-01-03 16:54 David Roman
  0 siblings, 0 replies; 7+ messages in thread
From: David Roman @ 2024-01-03 16:54 UTC (permalink / raw
  To: gentoo-commits

commit:     c0dbb49c82467c2035eac1ae2e7051e8e1e0207d
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Wed Jan  3 08:20:54 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Jan  3 08:22:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c0dbb49c

games-rpg/open-adventure: add 1.17

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 games-rpg/open-adventure/Manifest                  |  1 +
 .../open-adventure/open-adventure-1.17.ebuild      | 69 ++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/games-rpg/open-adventure/Manifest b/games-rpg/open-adventure/Manifest
index 653b92b764..ffca07cfb4 100644
--- a/games-rpg/open-adventure/Manifest
+++ b/games-rpg/open-adventure/Manifest
@@ -1 +1,2 @@
 DIST open-adventure-1.16.tar.bz2 211155 BLAKE2B 2c54bf8b30fefb5b52cd69d5c315e0c628ee51d514f545d2830ca809c40f3824e20eb5c06ad94b6fbf3aaeb9c9c2bad72b9217dfbabc33ec8cd469690ddab125 SHA512 4b58937a20200a081bc44464f5132ea33a010756831f95d5be75916f01b70bc54bd9f5606823fee5fbe2de1dd2e558325f516f050bc40e48cd8d840e65c17e07
+DIST open-adventure-1.17.tar.bz2 212254 BLAKE2B 0d19acae39bb58b3cb7ca240552c8f796be73ea4dde44ed60429f3e8cf51ebecbdf71d6ffca08f00ad35f8eb78f1d7f9cb50a336c73e874f8bde81c1cb88acb4 SHA512 bfd4a8f3720aaa98ffcd3d302df79d0f9b4d183797f1067f198c2deb1e11465ec40e2164aa92705de436ba767954e2c18f1d38fdba0e8ece19868fa7ec64af85

diff --git a/games-rpg/open-adventure/open-adventure-1.17.ebuild b/games-rpg/open-adventure/open-adventure-1.17.ebuild
new file mode 100644
index 0000000000..0fa1e0eb24
--- /dev/null
+++ b/games-rpg/open-adventure/open-adventure-1.17.ebuild
@@ -0,0 +1,69 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit desktop flag-o-matic python-any-r1
+
+DESCRIPTION="Forward-port of the Crowther/Woods Adventure 2.5"
+HOMEPAGE="http://www.catb.org/~esr/open-adventure/"
+SRC_URI="https://gitlab.com/esr/${PN}/-/archive/${PV}/${P}.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="autosave nosave test"
+# autosave and nosave are mutually exclusive
+# tests require that they are both disabled
+REQUIRED_USE="
+	?? ( autosave nosave )
+	test? ( !autosave !nosave )
+"
+RESTRICT="!test? ( test )"
+
+DEPEND="dev-libs/libedit"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	$(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]' )
+"
+
+DOCS=( NEWS.adoc hints.adoc history.adoc README.adoc notes.adoc )
+
+python_check_deps() {
+	python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
+}
+
+src_prepare() {
+	# remove uncommon flags
+	sed -e 's/-D_FORTIFY_SOURCE=2 -fstack-protector-all $(CFLAGS) -g/$(CFLAGS)/' \
+		-i Makefile || die "Makefile patching failed"
+
+	eapply_user
+}
+
+src_compile() {
+	if use autosave; then
+		append-cflags "-DADVENT_AUTOSAVE"
+	fi
+	if use nosave; then
+		append-cflags "-DADVENT_NOSAVE"
+	fi
+
+	emake advent advent.6
+}
+
+src_install() {
+	einstalldocs
+	doman advent.6
+
+	dobin advent
+
+	doicon -s scalable advent.svg
+	domenu advent.desktop
+}
+
+src_test() {
+	# parallel tests often fail
+	emake -j1 check
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: games-rpg/open-adventure/
@ 2024-02-09  0:30 David Roman
  0 siblings, 0 replies; 7+ messages in thread
From: David Roman @ 2024-02-09  0:30 UTC (permalink / raw
  To: gentoo-commits

commit:     55773d647adfc6967547bc1c45c88a08fb33db50
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Thu Feb  8 15:23:07 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Feb  8 15:24:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=55773d64

games-rpg/open-adventure: add new test dependencies

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 games-rpg/open-adventure/open-adventure-1.18.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/games-rpg/open-adventure/open-adventure-1.18.ebuild b/games-rpg/open-adventure/open-adventure-1.18.ebuild
index dcee9d7174..1975dd167d 100644
--- a/games-rpg/open-adventure/open-adventure-1.18.ebuild
+++ b/games-rpg/open-adventure/open-adventure-1.18.ebuild
@@ -26,6 +26,10 @@ DEPEND="dev-libs/libedit"
 RDEPEND="${DEPEND}"
 BDEPEND="
 	$(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]' )
+	test? (
+		dev-util/cppcheck
+		$(python_gen_any_dep 'dev-python/pylint[${PYTHON_USEDEP}]')
+	)
 	doc? ( dev-ruby/asciidoctor )
 "
 
@@ -33,6 +37,7 @@ DOCS=( NEWS.adoc hints.adoc history.adoc README.adoc notes.adoc )
 
 python_check_deps() {
 	python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
+	use test && python_has_version "dev-python/pylint[${PYTHON_USEDEP}]"
 }
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: games-rpg/open-adventure/
@ 2024-02-09 14:26 David Roman
  0 siblings, 0 replies; 7+ messages in thread
From: David Roman @ 2024-02-09 14:26 UTC (permalink / raw
  To: gentoo-commits

commit:     cd550ba6da8b975f452778974fd06af5431a91e6
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Fri Feb  9 13:57:25 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Feb  9 13:58:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cd550ba6

games-rpg/open-adventure: ignore code quality checks

Closes: https://bugs.gentoo.org/924149
Closes: https://bugs.gentoo.org/924113
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 games-rpg/open-adventure/open-adventure-1.18.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/games-rpg/open-adventure/open-adventure-1.18.ebuild b/games-rpg/open-adventure/open-adventure-1.18.ebuild
index 1975dd167d..e4f10f5502 100644
--- a/games-rpg/open-adventure/open-adventure-1.18.ebuild
+++ b/games-rpg/open-adventure/open-adventure-1.18.ebuild
@@ -26,10 +26,6 @@ DEPEND="dev-libs/libedit"
 RDEPEND="${DEPEND}"
 BDEPEND="
 	$(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]' )
-	test? (
-		dev-util/cppcheck
-		$(python_gen_any_dep 'dev-python/pylint[${PYTHON_USEDEP}]')
-	)
 	doc? ( dev-ruby/asciidoctor )
 "
 
@@ -37,7 +33,6 @@ DOCS=( NEWS.adoc hints.adoc history.adoc README.adoc notes.adoc )
 
 python_check_deps() {
 	python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
-	use test && python_has_version "dev-python/pylint[${PYTHON_USEDEP}]"
 }
 
 src_prepare() {
@@ -74,6 +69,9 @@ src_install() {
 }
 
 src_test() {
+	emake cheat
+	pushd tests || die
 	# parallel tests often fail
-	emake -j1 check
+	emake -j1
+	popd || die
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: games-rpg/open-adventure/
@ 2024-03-27 11:50 Rui Huang
  0 siblings, 0 replies; 7+ messages in thread
From: Rui Huang @ 2024-03-27 11:50 UTC (permalink / raw
  To: gentoo-commits

commit:     7300fbaa3744a88dfaed9b03a9f412565f0dba0f
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Tue Mar 26 11:49:31 2024 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Tue Mar 26 11:49:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7300fbaa

games-rpg/open-adventure: update Manifest

Closes: https://bugs.gentoo.org/927883
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 games-rpg/open-adventure/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-rpg/open-adventure/Manifest b/games-rpg/open-adventure/Manifest
index 9d6df5b35b..d822011f35 100644
--- a/games-rpg/open-adventure/Manifest
+++ b/games-rpg/open-adventure/Manifest
@@ -1,3 +1,3 @@
 DIST open-adventure-1.16.tar.bz2 211155 BLAKE2B 2c54bf8b30fefb5b52cd69d5c315e0c628ee51d514f545d2830ca809c40f3824e20eb5c06ad94b6fbf3aaeb9c9c2bad72b9217dfbabc33ec8cd469690ddab125 SHA512 4b58937a20200a081bc44464f5132ea33a010756831f95d5be75916f01b70bc54bd9f5606823fee5fbe2de1dd2e558325f516f050bc40e48cd8d840e65c17e07
 DIST open-adventure-1.17.tar.bz2 212254 BLAKE2B 0d19acae39bb58b3cb7ca240552c8f796be73ea4dde44ed60429f3e8cf51ebecbdf71d6ffca08f00ad35f8eb78f1d7f9cb50a336c73e874f8bde81c1cb88acb4 SHA512 bfd4a8f3720aaa98ffcd3d302df79d0f9b4d183797f1067f198c2deb1e11465ec40e2164aa92705de436ba767954e2c18f1d38fdba0e8ece19868fa7ec64af85
-DIST open-adventure-1.18.tar.bz2 212719 BLAKE2B 6cd74d321aa2e21842569f07feedc250f99c206e91f8dc3481f6804f7e4d57df4be7685acd0ab618d2eeda63e59833bf7f1bde18190cef7b694c9d59eaa2b0ab SHA512 efa80547709fdc6a35444c7c5375019f6099036dd26ffadc08a219d1d343e2cc85e56cea99510d89a6091ccffc781044c81eab64c870131691c726b176b43903
+DIST open-adventure-1.18.tar.bz2 212752 BLAKE2B c186c2317381ba8e0a2efd40de02ad78e6273c4f28ee67c59075a4ab318e0ad850924d46a64e635979ad80a684970646a181c1fdec2f78e48fead4a4376b48a7 SHA512 8118a1d630dab75268e2503ccf8d64a35d2134795e852c48e5082a66e2af9c94692ba30ea409e6b2bfcf5bd24109b2ab7e9111a044591b1e9a87f59b2bbeeceb


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: games-rpg/open-adventure/
@ 2025-01-10 15:44 Julien Roy
  0 siblings, 0 replies; 7+ messages in thread
From: Julien Roy @ 2025-01-10 15:44 UTC (permalink / raw
  To: gentoo-commits

commit:     cb3adcc48f790a8ed950b3a56ea2f6a8252e7555
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Fri Jan 10 11:00:43 2025 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Fri Jan 10 11:00:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cb3adcc4

games-rpg/open-adventure: add 1.20, drop 1.16

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 games-rpg/open-adventure/Manifest                  |  2 +-
 ...ture-1.16.ebuild => open-adventure-1.20.ebuild} | 24 +++++++++++++---------
 2 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/games-rpg/open-adventure/Manifest b/games-rpg/open-adventure/Manifest
index d822011f3..0f34f8b68 100644
--- a/games-rpg/open-adventure/Manifest
+++ b/games-rpg/open-adventure/Manifest
@@ -1,3 +1,3 @@
-DIST open-adventure-1.16.tar.bz2 211155 BLAKE2B 2c54bf8b30fefb5b52cd69d5c315e0c628ee51d514f545d2830ca809c40f3824e20eb5c06ad94b6fbf3aaeb9c9c2bad72b9217dfbabc33ec8cd469690ddab125 SHA512 4b58937a20200a081bc44464f5132ea33a010756831f95d5be75916f01b70bc54bd9f5606823fee5fbe2de1dd2e558325f516f050bc40e48cd8d840e65c17e07
 DIST open-adventure-1.17.tar.bz2 212254 BLAKE2B 0d19acae39bb58b3cb7ca240552c8f796be73ea4dde44ed60429f3e8cf51ebecbdf71d6ffca08f00ad35f8eb78f1d7f9cb50a336c73e874f8bde81c1cb88acb4 SHA512 bfd4a8f3720aaa98ffcd3d302df79d0f9b4d183797f1067f198c2deb1e11465ec40e2164aa92705de436ba767954e2c18f1d38fdba0e8ece19868fa7ec64af85
 DIST open-adventure-1.18.tar.bz2 212752 BLAKE2B c186c2317381ba8e0a2efd40de02ad78e6273c4f28ee67c59075a4ab318e0ad850924d46a64e635979ad80a684970646a181c1fdec2f78e48fead4a4376b48a7 SHA512 8118a1d630dab75268e2503ccf8d64a35d2134795e852c48e5082a66e2af9c94692ba30ea409e6b2bfcf5bd24109b2ab7e9111a044591b1e9a87f59b2bbeeceb
+DIST open-adventure-1.20.tar.bz2 213039 BLAKE2B 3bfbc07a4463e58417398cddd2db7d955e538f79b75b745a26037cc65ab4a3184fab6b9dfcddd01f1a0544747feab47bf093e917b4b67501cc320bb21e8d5db9 SHA512 26212cd0e332d617dfc6bc79ec0090d369c8d9b36c925cc72a638c2822ee5c04a813413111f6d4eab417fd6f9ff5bbd09c1bf2981737457a71cfebd48d7dcb02

diff --git a/games-rpg/open-adventure/open-adventure-1.16.ebuild b/games-rpg/open-adventure/open-adventure-1.20.ebuild
similarity index 82%
rename from games-rpg/open-adventure/open-adventure-1.16.ebuild
rename to games-rpg/open-adventure/open-adventure-1.20.ebuild
index 144ca6192..e4f10f550 100644
--- a/games-rpg/open-adventure/open-adventure-1.16.ebuild
+++ b/games-rpg/open-adventure/open-adventure-1.20.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,7 +13,7 @@ SRC_URI="https://gitlab.com/esr/${PN}/-/archive/${PV}/${P}.tar.bz2"
 LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="autosave nosave test"
+IUSE="autosave +doc nosave test"
 # autosave and nosave are mutually exclusive
 # tests require that they are both disabled
 REQUIRED_USE="
@@ -26,6 +26,7 @@ DEPEND="dev-libs/libedit"
 RDEPEND="${DEPEND}"
 BDEPEND="
 	$(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]' )
+	doc? ( dev-ruby/asciidoctor )
 "
 
 DOCS=( NEWS.adoc hints.adoc history.adoc README.adoc notes.adoc )
@@ -40,10 +41,6 @@ src_prepare() {
 		-i Makefile || die "Makefile patching failed"
 
 	eapply_user
-
-	# Add missing semicolon
-	sed -e 's/rspeak(SAVERESUME_DISABLED)/rspeak(SAVERESUME_DISABLED);/' \
-		-i saveresume.c || die "Typo fix failed"
 }
 
 src_compile() {
@@ -54,12 +51,16 @@ src_compile() {
 		append-cflags "-DADVENT_NOSAVE"
 	fi
 
-	emake advent advent.6
+	emake advent
+
+	use doc && emake advent.6
 }
 
 src_install() {
-	einstalldocs
-	doman advent.6
+	if use doc; then
+		einstalldocs
+		doman advent.6
+	fi
 
 	dobin advent
 
@@ -68,6 +69,9 @@ src_install() {
 }
 
 src_test() {
+	emake cheat
+	pushd tests || die
 	# parallel tests often fail
-	emake -j1 check
+	emake -j1
+	popd || die
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-01-10 15:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-10 15:44 [gentoo-commits] repo/proj/guru:master commit in: games-rpg/open-adventure/ Julien Roy
  -- strict thread matches above, loose matches on Subject: below --
2024-03-27 11:50 Rui Huang
2024-02-09 14:26 David Roman
2024-02-09  0:30 David Roman
2024-01-03 16:54 David Roman
2023-12-12  6:19 Viorel Munteanu
2023-11-24 17:20 David Roman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox