* [gentoo-commits] repo/proj/guru:dev commit in: games-rpg/open-adventure/
@ 2023-11-23 10:44 Nicola Smaniotto
0 siblings, 0 replies; 11+ messages in thread
From: Nicola Smaniotto @ 2023-11-23 10:44 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: Nicola Smaniotto <smaniotto.nicola <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] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: games-rpg/open-adventure/
@ 2023-11-27 8:53 Nicola Smaniotto
0 siblings, 0 replies; 11+ messages in thread
From: Nicola Smaniotto @ 2023-11-27 8:53 UTC (permalink / raw
To: gentoo-commits
commit: 9e9fbb790191cf7d39b41821d77f9f4a3875d651
Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Mon Nov 27 08:50:10 2023 +0000
Commit: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Mon Nov 27 08:53:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9e9fbb79
games-rpg/open-adventure: fix dev-python/pyyaml dependency
Closes: https://bugs.gentoo.org/918627
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>
games-rpg/open-adventure/open-adventure-1.16.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/games-rpg/open-adventure/open-adventure-1.16.ebuild b/games-rpg/open-adventure/open-adventure-1.16.ebuild
index 2d4d8bd038..0f7514b293 100644
--- a/games-rpg/open-adventure/open-adventure-1.16.ebuild
+++ b/games-rpg/open-adventure/open-adventure-1.16.ebuild
@@ -15,12 +15,15 @@ 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 )
+python_check_deps() {
+ python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
+}
+
src_compile() {
emake advent advent.6
}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: games-rpg/open-adventure/
@ 2023-11-27 18:11 Nicola Smaniotto
0 siblings, 0 replies; 11+ messages in thread
From: Nicola Smaniotto @ 2023-11-27 18:11 UTC (permalink / raw
To: gentoo-commits
commit: 654f7c091911546ff572c95804d86846860805ca
Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Mon Nov 27 17:53:11 2023 +0000
Commit: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Mon Nov 27 18:11:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=654f7c09
games-rpg/open-adventure: add dev-libs/libedit dependency
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>
games-rpg/open-adventure/open-adventure-1.16.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/games-rpg/open-adventure/open-adventure-1.16.ebuild b/games-rpg/open-adventure/open-adventure-1.16.ebuild
index 0f7514b293..051da13c62 100644
--- a/games-rpg/open-adventure/open-adventure-1.16.ebuild
+++ b/games-rpg/open-adventure/open-adventure-1.16.ebuild
@@ -14,6 +14,8 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
+DEPEND="dev-libs/libedit"
+RDEPEND="${DEPEND}"
BDEPEND="
$(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]' )
"
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: games-rpg/open-adventure/
@ 2023-11-27 18:11 Nicola Smaniotto
0 siblings, 0 replies; 11+ messages in thread
From: Nicola Smaniotto @ 2023-11-27 18:11 UTC (permalink / raw
To: gentoo-commits
commit: 019f1a2752e9e2ff0e3b8b03be4059e161498c77
Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Mon Nov 27 17:55:01 2023 +0000
Commit: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Mon Nov 27 18:11:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=019f1a27
games-rpg/open-adventure: expose compilation flags
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>
games-rpg/open-adventure/metadata.xml | 4 ++++
.../open-adventure/open-adventure-1.16.ebuild | 25 +++++++++++++++++++++-
2 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/games-rpg/open-adventure/metadata.xml b/games-rpg/open-adventure/metadata.xml
index a4448d805b..31d3db3238 100644
--- a/games-rpg/open-adventure/metadata.xml
+++ b/games-rpg/open-adventure/metadata.xml
@@ -5,6 +5,10 @@
<email>smaniotto.nicola@gmail.com</email>
<name>Nicola Smaniotto</name>
</maintainer>
+ <use>
+ <flag name="autosave">Build with auto-save/resume enabled</flag>
+ <flag name="nosave">Build with save/resume disabled</flag>
+ </use>
<upstream>
<remote-id type="gitlab">esr/open-adventure</remote-id>
</upstream>
diff --git a/games-rpg/open-adventure/open-adventure-1.16.ebuild b/games-rpg/open-adventure/open-adventure-1.16.ebuild
index 051da13c62..2fde826c47 100644
--- a/games-rpg/open-adventure/open-adventure-1.16.ebuild
+++ b/games-rpg/open-adventure/open-adventure-1.16.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit desktop python-any-r1
+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/"
@@ -13,6 +13,14 @@ 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}"
@@ -26,7 +34,22 @@ python_check_deps() {
python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
}
+src_prepare() {
+ eapply_user
+
+ # Add missing semicolon
+ sed -e 's/rspeak(SAVERESUME_DISABLED)/rspeak(SAVERESUME_DISABLED);/' \
+ -i saveresume.c
+}
+
src_compile() {
+ if use autosave; then
+ append-cflags "-DADVENT_AUTOSAVE"
+ fi
+ if use nosave; then
+ append-cflags "-DADVENT_NOSAVE"
+ fi
+
emake advent advent.6
}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: games-rpg/open-adventure/
@ 2023-12-04 21:59 Nicola Smaniotto
0 siblings, 0 replies; 11+ messages in thread
From: Nicola Smaniotto @ 2023-12-04 21:59 UTC (permalink / raw
To: gentoo-commits
commit: e03c28cd964837b78738a846a01559f61c0f23d6
Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Mon Dec 4 21:57:05 2023 +0000
Commit: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Mon Dec 4 21:58:42 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e03c28cd
games-rpg/open-adventure: remove uncommon flags CFLAGS
Closes: https://bugs.gentoo.org/919038
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>
games-rpg/open-adventure/open-adventure-1.16.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/games-rpg/open-adventure/open-adventure-1.16.ebuild b/games-rpg/open-adventure/open-adventure-1.16.ebuild
index 2fde826c47..45758338c5 100644
--- a/games-rpg/open-adventure/open-adventure-1.16.ebuild
+++ b/games-rpg/open-adventure/open-adventure-1.16.ebuild
@@ -35,6 +35,10 @@ python_check_deps() {
}
src_prepare() {
+ # remove uncommon flags
+ sed -e 's/-D_FORTIFY_SOURCE=2 -fstack-protector-all $(CFLAGS) -g/$(CFLAGS)/' \
+ -i Makefile
+
eapply_user
# Add missing semicolon
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: games-rpg/open-adventure/
@ 2023-12-11 8:28 Nicola Smaniotto
0 siblings, 0 replies; 11+ messages in thread
From: Nicola Smaniotto @ 2023-12-11 8:28 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: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
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] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: games-rpg/open-adventure/
@ 2024-01-03 8:22 Nicola Smaniotto
0 siblings, 0 replies; 11+ messages in thread
From: Nicola Smaniotto @ 2024-01-03 8:22 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: Nicola Smaniotto <smaniotto.nicola <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] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: games-rpg/open-adventure/
@ 2024-02-07 10:26 Nicola Smaniotto
0 siblings, 0 replies; 11+ messages in thread
From: Nicola Smaniotto @ 2024-02-07 10:26 UTC (permalink / raw
To: gentoo-commits
commit: 9af894851679be73a6756e8a73f4684510bb9b13
Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Wed Feb 7 10:15:57 2024 +0000
Commit: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Wed Feb 7 10:17:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9af89485
games-rpg/open-adventure: add 1.18
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>
games-rpg/open-adventure/Manifest | 1 +
.../open-adventure/open-adventure-1.18.ebuild | 74 ++++++++++++++++++++++
2 files changed, 75 insertions(+)
diff --git a/games-rpg/open-adventure/Manifest b/games-rpg/open-adventure/Manifest
index ffca07cfb4..9d6df5b35b 100644
--- a/games-rpg/open-adventure/Manifest
+++ b/games-rpg/open-adventure/Manifest
@@ -1,2 +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
diff --git a/games-rpg/open-adventure/open-adventure-1.18.ebuild b/games-rpg/open-adventure/open-adventure-1.18.ebuild
new file mode 100644
index 0000000000..dcee9d7174
--- /dev/null
+++ b/games-rpg/open-adventure/open-adventure-1.18.ebuild
@@ -0,0 +1,74 @@
+# 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 +doc 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}]' )
+ doc? ( dev-ruby/asciidoctor )
+"
+
+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
+
+ use doc && emake advent.6
+}
+
+src_install() {
+ if use doc; then
+ einstalldocs
+ doman advent.6
+ fi
+
+ 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] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: games-rpg/open-adventure/
@ 2024-02-08 15:25 Nicola Smaniotto
0 siblings, 0 replies; 11+ messages in thread
From: Nicola Smaniotto @ 2024-02-08 15:25 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: Nicola Smaniotto <smaniotto.nicola <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] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: games-rpg/open-adventure/
@ 2024-02-09 13:58 Nicola Smaniotto
0 siblings, 0 replies; 11+ messages in thread
From: Nicola Smaniotto @ 2024-02-09 13:58 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: Nicola Smaniotto <smaniotto.nicola <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] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: games-rpg/open-adventure/
@ 2024-03-26 11:50 Nicola Smaniotto
0 siblings, 0 replies; 11+ messages in thread
From: Nicola Smaniotto @ 2024-03-26 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: Nicola Smaniotto <smaniotto.nicola <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] 11+ messages in thread
end of thread, other threads:[~2024-03-26 11:50 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-08 15:25 [gentoo-commits] repo/proj/guru:dev commit in: games-rpg/open-adventure/ Nicola Smaniotto
-- strict thread matches above, loose matches on Subject: below --
2024-03-26 11:50 Nicola Smaniotto
2024-02-09 13:58 Nicola Smaniotto
2024-02-07 10:26 Nicola Smaniotto
2024-01-03 8:22 Nicola Smaniotto
2023-12-11 8:28 Nicola Smaniotto
2023-12-04 21:59 Nicola Smaniotto
2023-11-27 18:11 Nicola Smaniotto
2023-11-27 18:11 Nicola Smaniotto
2023-11-27 8:53 Nicola Smaniotto
2023-11-23 10:44 Nicola Smaniotto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox