commit:     33d92fe7e026938f679f4699a2c91b405ace714a
Author:     NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Sun Jan 26 15:21:00 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 10 08:54:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33d92fe7

games-util/qstat: add 2.17

Version bump, this one supports Titanfall, KSP, others,
and fixes problems with strndup and GCC 10 compilation we patch
around in 2.14

Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40318
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-util/qstat/qstat-2.17.ebuild | 43 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/games-util/qstat/qstat-2.17.ebuild 
b/games-util/qstat/qstat-2.17.ebuild
new file mode 100644
index 000000000000..3a8577446eee
--- /dev/null
+++ b/games-util/qstat/qstat-2.17.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Server statics collector supporting many FPS games"
+HOMEPAGE="https://github.com/Unity-Technologies/qstat";
+SRC_URI="https://github.com/Unity-Technologies/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86"
+IUSE="debug"
+
+RDEPEND="!sys-cluster/torque"
+
+DOCS=( CHANGES.txt COMPILE.md template/README.txt )
+
+PATCHES=( "${FILESDIR}/${PN}-2.14-unneeded-cast.patch" )
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+       strnstr # bug #899024, there's fallback implementation
+)
+
+src_prepare() {
+       default
+       local -x QSTAT_VERSION="${PV}"
+       eautoreconf
+}
+
+src_configure() {
+       econf $(use_enable debug)
+}
+
+src_install() {
+       default
+       dosym qstat /usr/bin/quakestat
+
+       docinto html
+       dodoc template/*.html qstatdoc.html
+}

Reply via email to