From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/armagetronad/
Date: Tue, 09 Sep 2025 22:04:05 +0000 (UTC) [thread overview]
Message-ID: <1757455430.4cd80cfb40e061830ec39f66512e7bfe74cbd477.asturm@gentoo> (raw)
commit: 4cd80cfb40e061830ec39f66512e7bfe74cbd477
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 9 20:59:45 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Sep 9 22:03:50 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cd80cfb
games-action/armagetronad: Port away from libxml2 to curl
Backports upstream MR to remain unbroken from libxml2-2.14.
Closes: https://bugs.gentoo.org/955800
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
games-action/armagetronad/Manifest | 1 +
.../armagetronad/armagetronad-0.2.9.2.3-r2.ebuild | 66 ++++++++++++++++++++++
2 files changed, 67 insertions(+)
diff --git a/games-action/armagetronad/Manifest b/games-action/armagetronad/Manifest
index bf493c1b8248..d413caa61971 100644
--- a/games-action/armagetronad/Manifest
+++ b/games-action/armagetronad/Manifest
@@ -1 +1,2 @@
+DIST armagetronad-0.2.9.2.3-libxml2-2.14.patch.xz 10516 BLAKE2B d01595479ad60706533e5848c055e2a998f56b204a95cb0c0abcbc0a173ed4dd5afbc75fcc8762baaaf01821943fe3e6f0f8d14f70e753ea774804352c420725 SHA512 8e79c6676814164f034f33f11e274fc59bb0fcdaf4bed5b138cb2f582683766792b1a0429b84b7c36b4831bdd2d5857d0ddd5de7f33278165a60ee89965aad0d
DIST armagetronad-0.2.9.2.3.tbz 1834233 BLAKE2B 9b7d09ca7952ffe67a50be01c44adef81640e8cf222158477f66487ea89c7b25e1675bb9308ba71023ce045a4ea739891ce2273d5aa017cef2fa81128c71774c SHA512 813911a75fa1b3a90d99d62c0c38e9b325166623280c0d6a8217f8ca905b4a4617401db12bda898d82aa086a1bd673b31741b95b60b0f1247e6a5677a48c98eb
diff --git a/games-action/armagetronad/armagetronad-0.2.9.2.3-r2.ebuild b/games-action/armagetronad/armagetronad-0.2.9.2.3-r2.ebuild
new file mode 100644
index 000000000000..4682dd01a71e
--- /dev/null
+++ b/games-action/armagetronad/armagetronad-0.2.9.2.3-r2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools desktop
+
+DESCRIPTION="Fast-paced 3D lightcycle game based on Tron"
+HOMEPAGE="https://www.armagetronad.org/"
+SRC_URI="https://launchpad.net/armagetronad/$(ver_cut 1-3)/${PV}/+download/${P}.tbz
+ https://dev.gentoo.org/~asturm/distfiles/${P}-libxml2-2.14.patch.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dedicated sound"
+REQUIRED_USE="sound? ( !dedicated )"
+
+RDEPEND="
+ net-misc/curl
+ !dedicated? (
+ media-libs/libpng:0=
+ media-libs/libsdl[X,opengl,video,sound?]
+ media-libs/sdl-image[jpeg,png]
+ virtual/glu
+ virtual/opengl
+ sound? ( media-libs/sdl-mixer )
+ )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.2.9.1.0-AR.patch
+ "${WORKDIR}"/${P}-libxml2-2.14.patch # bug #955800, git master
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local econfargs=(
+ $(use_enable dedicated)
+ $(use_enable sound music)
+ # following options only mess with paths and users
+ --disable-games
+ --disable-sysinstall
+ --disable-uninstall
+ --disable-useradd
+ )
+ econf ${econfargs[@]}
+}
+
+src_install() {
+ # long history of being broken without -j1 (bug #330705,698020)
+ # do not remove (again) without a proper fix or extensive tests
+ emake -j1 DESTDIR="${D}" install
+ einstalldocs
+
+ # handle misplaced .desktop / icons
+ if ! use dedicated; then
+ rm -r "${ED}"/usr/share/${PN}/desktop || die
+ doicon desktop/icons/48x48/armagetronad.png
+ make_desktop_entry ${PN}
+ fi
+}
next reply other threads:[~2025-09-09 22:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-09 22:04 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-09 22:04 [gentoo-commits] repo/gentoo:master commit in: games-action/armagetronad/ Andreas Sturmlechner
2025-05-29 21:57 Sam James
2024-08-02 22:20 James Le Cuirot
2024-08-02 22:20 James Le Cuirot
2021-06-14 15:49 Ionen Wolkens
2021-06-14 15:49 Ionen Wolkens
2017-11-19 13:34 David Seifert
2017-10-01 12:34 Michael Palimaka
2017-10-01 12:34 Michael Palimaka
2016-07-05 21:18 Austin English
2016-06-06 14:31 Agostino Sarubbo
2016-04-13 4:19 Michael Sterrett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1757455430.4cd80cfb40e061830ec39f66512e7bfe74cbd477.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox