summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-util')
-rw-r--r--games-util/antimicrox/Manifest1
-rw-r--r--games-util/antimicrox/antimicrox-3.5.1.ebuild88
-rw-r--r--games-util/cartridges/Manifest1
-rw-r--r--games-util/cartridges/cartridges-2.11-r1.ebuild63
-rw-r--r--games-util/cartridges/cartridges-2.9.3-r1.ebuild (renamed from games-util/cartridges/cartridges-2.9.3.ebuild)3
-rw-r--r--games-util/cartridges/cartridges-9999.ebuild3
-rw-r--r--games-util/eureka/eureka-1.27b-r1.ebuild (renamed from games-util/eureka/eureka-1.27b.ebuild)2
-rw-r--r--games-util/glbsp/glbsp-2.24-r1.ebuild (renamed from games-util/glbsp/glbsp-2.24.ebuild)2
-rw-r--r--games-util/grfcodec/Manifest2
-rw-r--r--games-util/grfcodec/files/6.0.6_p20210310/0001-Remove-brittle-apWrapper-code.patch144
-rw-r--r--games-util/grfcodec/files/6.0.6_p20210310/0002-Fix-ODR-violations.patch63
-rw-r--r--games-util/grfcodec/files/grfcodec-6.0.6_p20230811-action-5.patch30
-rw-r--r--games-util/grfcodec/grfcodec-6.0.6_p20210310-r1.ebuild40
-rw-r--r--games-util/grfcodec/grfcodec-6.0.6_p20230811-r1.ebuild46
-rw-r--r--games-util/grfcodec/grfcodec-6.1.0-r1.ebuild21
-rw-r--r--games-util/grfcodec/grfcodec-9999.ebuild38
-rw-r--r--games-util/lgogdownloader/Manifest2
-rw-r--r--games-util/lgogdownloader/lgogdownloader-3.16-r1.ebuild (renamed from games-util/lgogdownloader/lgogdownloader-3.15-r1.ebuild)31
-rw-r--r--games-util/lgogdownloader/lgogdownloader-9999.ebuild15
-rw-r--r--games-util/nml/Manifest2
-rw-r--r--games-util/nml/nml-0.7.1.ebuild35
-rw-r--r--games-util/nml/nml-0.7.5.ebuild12
-rw-r--r--games-util/nml/nml-9999.ebuild (renamed from games-util/nml/nml-0.7.4.ebuild)18
-rw-r--r--games-util/qstat/Manifest1
-rw-r--r--games-util/qstat/files/qstat-2.14-unneeded-cast.patch14
-rw-r--r--games-util/qstat/qstat-2.14-r1.ebuild (renamed from games-util/qstat/qstat-2.14.ebuild)13
-rw-r--r--games-util/qstat/qstat-2.17.ebuild43
-rw-r--r--games-util/xpadneo/Manifest2
-rw-r--r--games-util/xpadneo/files/xpadneo-0.9.6-kernel-6.12.patch24
-rw-r--r--games-util/xpadneo/xpadneo-0.9.7.ebuild (renamed from games-util/xpadneo/xpadneo-0.9.6.ebuild)8
-rw-r--r--games-util/xpadneo/xpadneo-9999.ebuild7
31 files changed, 330 insertions, 444 deletions
diff --git a/games-util/antimicrox/Manifest b/games-util/antimicrox/Manifest
index 44c67d6652f4..39c36a30d107 100644
--- a/games-util/antimicrox/Manifest
+++ b/games-util/antimicrox/Manifest
@@ -1 +1,2 @@
DIST antimicrox-3.5.0.tar.gz 2312246 BLAKE2B 5385873236bcd245a87ce9081f666ca8060b2af1631d205a64ec1fac2d6a543a573f65fe01540b725e4fca9167755de4e1d03aadfef791d9e3b86892fac2f9f8 SHA512 66578a60ea485f8becb6b81bedfb3f6ea1c58ac6e2c3a9890cd64d7443ac4244bca8138f20b2ca490d0ba54c968df1995aeb79a5b9a632b85d43072b8709af4d
+DIST antimicrox-3.5.1.tar.gz 2479077 BLAKE2B c86e76996a3d3b7a87c6f01d967f7807cdb2c2bab256493816f8a32a6539f44e73346a2fbc3f715fa793546e139b71201d401b355768985dd56b858dc0c63324 SHA512 c2363b7c8a33b413e5d92b0e8cf9781ab4aa27fd13850ac4374b5fe0ae2b3d6b6396d8dc3a84277cacf4a5c0c8b982d37d10a729babdd3ffca0d9e169ef34cff
diff --git a/games-util/antimicrox/antimicrox-3.5.1.ebuild b/games-util/antimicrox/antimicrox-3.5.1.ebuild
new file mode 100644
index 000000000000..29210bf7c271
--- /dev/null
+++ b/games-util/antimicrox/antimicrox-3.5.1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit udev xdg cmake
+
+DESCRIPTION="Graphical program used to map keyboard buttons and mouse controls to a gamepad"
+HOMEPAGE="https://github.com/AntiMicroX/antimicrox/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/AntiMicroX/${PN}.git"
+else
+ SRC_URI="https://github.com/AntiMicroX/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="doc"
+
+# Tests fail to build.
+# https://github.com/AntiMicroX/antimicrox/issues/530
+RESTRICT="test"
+
+RDEPEND="
+ dev-qt/qtbase:6[concurrent,gui,network,widgets]
+ media-libs/libsdl2[X,joystick]
+ virtual/udev
+ x11-libs/libX11
+ x11-libs/libXi
+ x11-libs/libXtst
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ dev-qt/qttools:6[linguist]
+ kde-frameworks/extra-cmake-modules
+ doc? (
+ app-text/doxygen[dot]
+ )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-man_gz.patch" )
+
+DOCS=( CHANGELOG.md README.md )
+
+src_configure() {
+ local -a mycmakeargs=(
+ -DAPPDATA="OFF"
+ -DCHECK_FOR_UPDATES="OFF"
+ -DINSTALL_UINPUT_UDEV_RULES="OFF" # Install in "src_install".
+ -DUSE_QT6_BY_DEFAULT="ON"
+ -DWITH_TESTS="OFF"
+ -DWITH_UINPUT="ON"
+ -DWITH_X11="ON"
+ -DWITH_XTEST="ON"
+
+ -DBUILD_DOCS="$(usex doc ON OFF)"
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ udev_dorules "${S}/other/60-${PN}-uinput.rules"
+
+ if use doc ; then
+ dodoc -r "${S}/docs"/{html,latex}
+ fi
+
+ rm -r "${ED}/usr/share/doc/${PN}" || die
+}
+
+pkg_postinst() {
+ udev_reload
+ xdg_pkg_postinst
+}
+
+pkg_postrm() {
+ udev_reload
+ xdg_pkg_postrm
+}
diff --git a/games-util/cartridges/Manifest b/games-util/cartridges/Manifest
index c5e78b84480f..3c23e499d789 100644
--- a/games-util/cartridges/Manifest
+++ b/games-util/cartridges/Manifest
@@ -1 +1,2 @@
+DIST cartridges-2.11.tar.gz 2303903 BLAKE2B dbb6b0349e9301585dede3a07d254258d4559bbc88f1451e498fe9f98ebcf95db91e15feaab362d67f0afec4f31e0ee18a3ee327318c1cb1f5a104ea2854a807 SHA512 ba1b23c1a2c3e73fd293c33c4ace804bb464df5c26e435c7ad9a1b8fc2f46be7ad1a46478919cd11274c69589acf06a8f0d65efcd2e0bfb90c3e2633c32417f3
DIST cartridges-2.9.3.tar.gz 2290701 BLAKE2B 0e9700e7ab78b303e6f8a50654053233f72a4e684cbee529af252a027ade1dd7d9496c6d7539c177959fd55628b9b35d785daa1152f192edf2f477e11f08d0bf SHA512 9fa9c2492b05e03379e6ead44273f1a566ad3aa25365eb5137fef6d6bc50a3e8c4937ac732609a9e72bb6cbd6d139df075ac1ebf3bfd8e2a17883f69352dbd75
diff --git a/games-util/cartridges/cartridges-2.11-r1.ebuild b/games-util/cartridges/cartridges-2.11-r1.ebuild
new file mode 100644
index 000000000000..9c20c9786ae0
--- /dev/null
+++ b/games-util/cartridges/cartridges-2.11-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit gnome2-utils python-single-r1 meson xdg
+
+DESCRIPTION="Simple game launcher written in Python using GTK4 and Libadwaita"
+HOMEPAGE="https://github.com/kra-mo/cartridges/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/kra-mo/${PN}.git"
+else
+ SRC_URI="https://github.com/kra-mo/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+RESTRICT="test" # Just appstream file validation that uses network.
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ >=gui-libs/gtk-4.16.12:4[introspection]
+ >=gui-libs/libadwaita-1.6.2:1[introspection]
+ media-libs/tiff[webp]
+ $(python_gen_cond_dep '
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ ')
+"
+BDEPEND="
+ ${RDEPEND}
+ dev-libs/appstream-glib
+ dev-util/blueprint-compiler
+ dev-util/desktop-file-utils
+"
+
+src_install() {
+ meson_src_install
+
+ python_fix_shebang "${ED}/usr/bin"
+ python_optimize "${ED}/usr"
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+ xdg_pkg_postinst
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+ xdg_pkg_postrm
+}
diff --git a/games-util/cartridges/cartridges-2.9.3.ebuild b/games-util/cartridges/cartridges-2.9.3-r1.ebuild
index 27e0ac81a903..f868994565d0 100644
--- a/games-util/cartridges/cartridges-2.9.3.ebuild
+++ b/games-util/cartridges/cartridges-2.9.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -30,6 +30,7 @@ RDEPEND="
${PYTHON_DEPS}
>=gui-libs/gtk-4.14.4:4[introspection]
>=gui-libs/libadwaita-1.5.2:1[introspection]
+ media-libs/tiff[webp]
$(python_gen_cond_dep '
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
diff --git a/games-util/cartridges/cartridges-9999.ebuild b/games-util/cartridges/cartridges-9999.ebuild
index b5d046bbe404..5aad1baa5ff4 100644
--- a/games-util/cartridges/cartridges-9999.ebuild
+++ b/games-util/cartridges/cartridges-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -30,6 +30,7 @@ RDEPEND="
${PYTHON_DEPS}
>=gui-libs/gtk-4.14.4:4[introspection]
>=gui-libs/libadwaita-1.5.2:1[introspection]
+ media-libs/tiff[webp]
$(python_gen_cond_dep '
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
diff --git a/games-util/eureka/eureka-1.27b.ebuild b/games-util/eureka/eureka-1.27b-r1.ebuild
index ef94dc07a656..5abf2cbbf180 100644
--- a/games-util/eureka/eureka-1.27b.ebuild
+++ b/games-util/eureka/eureka-1.27b-r1.ebuild
@@ -17,7 +17,7 @@ IUSE="+opengl"
DEPEND="
sys-libs/zlib
- x11-libs/fltk:1[opengl?]
+ x11-libs/fltk:1=[opengl?]
opengl? (
media-libs/glu
virtual/opengl
diff --git a/games-util/glbsp/glbsp-2.24.ebuild b/games-util/glbsp/glbsp-2.24-r1.ebuild
index d1dfbf4aca7b..f2accf2462e3 100644
--- a/games-util/glbsp/glbsp-2.24.ebuild
+++ b/games-util/glbsp/glbsp-2.24-r1.ebuild
@@ -16,7 +16,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="fltk"
-DEPEND="fltk? ( x11-libs/fltk:1 )"
+DEPEND="fltk? ( x11-libs/fltk:1= )"
RDEPEND="${DEPEND}"
PATCHES=(
diff --git a/games-util/grfcodec/Manifest b/games-util/grfcodec/Manifest
index ff37c9457ef7..4d4c483c3536 100644
--- a/games-util/grfcodec/Manifest
+++ b/games-util/grfcodec/Manifest
@@ -1,3 +1 @@
-DIST grfcodec-6.0.6_p20210310.tar.gz 205795 BLAKE2B 24d803e208b2fc465ae71611c0c0fb2737bfa8c5a28375bc08a6220581d7b07bb2f2a390e2ddb7f4beb8a80951862473919d41bce83364af70b6dc646f0f3f8e SHA512 10f4ec28c69d87e397f0fb5b497dbefce8fcd826731d3a0a864cbbd333b7df188ab0087445644ad245aeff65a8b6563dfdfa657ac1a2248e56e296c01f7d58a8
-DIST grfcodec-6.0.6_p20230811.tar.gz 205324 BLAKE2B 00d36b6785d00edec061cc0f0a695225a78c487bc66c4521f0f3da1050304bc382ed78d1df8dff8602b35b167505388ad993c46f01ac39960c131a6f5c7264eb SHA512 95a883636720ad1fdd0a2e17cba60b6cde15b5fe0337cfe2330db75d60e9a2bdb1dea3c06bb8f8acace8989b6abaf6d1845b30c5bc5f6c76f34e5aa76f36ddd4
DIST grfcodec-6.1.0-source.tar.xz 170688 BLAKE2B e9ce6ca4984e319abd5c1fd53473b1257b2b98b0948b5bef5e6275e29b50243981bf7fc837b190b37b2bb12d2ac9aecbb8595150eedb029f1d7ae64053668475 SHA512 9129e0f38b151e11c90585e0fe966e042ad08ec90f800ee80f749865aed6c72c733639b8d02ecd613409f2a0ae6d1f72fa1d3524f7c450a0f06ff42ee170f16f
diff --git a/games-util/grfcodec/files/6.0.6_p20210310/0001-Remove-brittle-apWrapper-code.patch b/games-util/grfcodec/files/6.0.6_p20210310/0001-Remove-brittle-apWrapper-code.patch
deleted file mode 100644
index e702f00160ce..000000000000
--- a/games-util/grfcodec/files/6.0.6_p20210310/0001-Remove-brittle-apWrapper-code.patch
+++ /dev/null
@@ -1,144 +0,0 @@
-From 9e928c98c8ad0767607bc421b14ac289cdc6e536 Mon Sep 17 00:00:00 2001
-From: David Seifert <soap@gentoo.org>
-Date: Sat, 8 Oct 2022 16:29:43 +0200
-Subject: [PATCH 1/2] Remove brittle `apWrapper` code
-
-* This causes issues on musl, and generally doesn't make the
- code any simpler, while also creating lots of opportunities
- for undefined behavior.
-
-Bug: https://bugs.gentoo.org/715910
----
- src/messages.cpp | 14 ++++++++++----
- src/sanity.cpp | 4 +++-
- src/sanity_defines.h | 23 -----------------------
- src/strings.cpp | 9 +++++----
- 4 files changed, 18 insertions(+), 32 deletions(-)
-
-diff --git a/src/messages.cpp b/src/messages.cpp
-index 385f217..3794f66 100644
---- a/src/messages.cpp
-+++ b/src/messages.cpp
-@@ -60,8 +60,11 @@ void ManualConsoleMessages(){
- }
-
- string mysprintf(const char*str,...){
-- WrapAp(str);
-- return myvsprintf(str,ap);
-+ va_list ap;
-+ va_start(ap, str);
-+ string result = myvsprintf(str,ap);
-+ va_end(ap);
-+ return result;
- }
-
- #if defined DEBUG || defined _DEBUG
-@@ -69,8 +72,11 @@ static RenumMessageId curMessage;
- #endif
-
- string IssueMessage(int minSan,RenumMessageId id,...){
-- WrapAp(id);
-- return vIssueMessage(minSan,id,ap);
-+ va_list ap;
-+ va_start(ap, id);
-+ string result = vIssueMessage(minSan,id,ap);
-+ va_end(ap);
-+ return result;
- }
-
- string vIssueMessage(int minSan,RenumMessageId id,va_list& arg_ptr){
-diff --git a/src/sanity.cpp b/src/sanity.cpp
-index 844d840..0793a63 100644
---- a/src/sanity.cpp
-+++ b/src/sanity.cpp
-@@ -151,13 +151,15 @@ void Before8(int action){
- }
-
- bool CheckLength(int alen,int elen,RenumMessageId message,...){
-- WrapAp(message);
-+ va_list ap;
-+ va_start(ap, message);
- if(alen<elen){
- vIssueMessage(FATAL,message,ap);
- return true;
- }
- if(alen>elen)
- vIssueMessage(WARNING2,message,ap);
-+ va_end(ap);
- return false;
- }
-
-diff --git a/src/sanity_defines.h b/src/sanity_defines.h
-index d094f21..47f9c5f 100644
---- a/src/sanity_defines.h
-+++ b/src/sanity_defines.h
-@@ -22,7 +22,6 @@
- #ifndef _RENUM_SANITY_DEFS_H_INCLUDED_
- #define _RENUM_SANITY_DEFS_H_INCLUDED_
-
--#include <cstdarg>
- #include "message_mgr.h"
-
- bool CheckLength(int,int,RenumMessageId,...);
-@@ -70,26 +69,4 @@ typedef auto_array<uint> Guintp;
- type&operator[](uint x){return _p[x];}\
- type operator[](uint x)const{return _p[x];}\
-
--class apWrapper{
--private:
-- va_list _ap;
--public:
-- ~apWrapper(){va_end(_ap);}
-- operator va_list&(){return _ap;}
-- operator const va_list&()const{return _ap;}
--#ifdef __va_copy
-- va_list&operator=(va_list&ap){
-- __va_copy(_ap,ap);
-- return _ap;
-- }
--#else
-- va_list const&operator=(va_list const&ap){
-- return _ap=ap;
-- }
--#endif
--};
--#define WrapAp(v)\
-- apWrapper ap;\
-- va_start((va_list&)ap,v);
--
- #endif//_RENUM_SANITY_DEFS_H_INCLUDED_
-diff --git a/src/strings.cpp b/src/strings.cpp
-index 2512734..e184825 100644
---- a/src/strings.cpp
-+++ b/src/strings.cpp
-@@ -23,6 +23,7 @@
- #include<string>
- #include<cerrno>
- #include<cstdlib>
-+#include<cstdarg>
-
- using namespace std;
-
-@@ -396,15 +397,15 @@ static const uchar stackSize[]={0,1,2,2,4,2,8};
-
- string MakeStack(int items,...){
- string ret;
-- WrapAp(items);
-+ va_list ap;
-+ va_start(ap, items);
- uint item;
- for(int i=0;i<items;i++){
-- item=va_arg(ap.operator va_list&(),uint);
-- // ^^^^^^^^^^^^^^^^^^^
-- // gcc complains without that call.
-+ item=va_arg(ap, uint);
- VERIFY(item&&item<STACK_INVALID,item);
- ret+=string(stackSize[item],char(item|i<<4));
- }
-+ va_end(ap);
- return ret;
- }
-
---
-2.38.0
-
diff --git a/games-util/grfcodec/files/6.0.6_p20210310/0002-Fix-ODR-violations.patch b/games-util/grfcodec/files/6.0.6_p20210310/0002-Fix-ODR-violations.patch
deleted file mode 100644
index d76a904efd9a..000000000000
--- a/games-util/grfcodec/files/6.0.6_p20210310/0002-Fix-ODR-violations.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From f2e16cca87e8a324ce7ccc9cc2d82235b1e490c1 Mon Sep 17 00:00:00 2001
-From: David Seifert <soap@gentoo.org>
-Date: Sat, 8 Oct 2022 16:29:44 +0200
-Subject: [PATCH 2/2] Fix ODR violations
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-* When compiling with `-flto`, ODR violations pop up:
-
- src/escapes.h:98:1: error: type ‘struct esc’ violates the C++ One Definition Rule [-Werror=odr]
- 98 | START_ESCAPES()
- | ^
- src/escapes.h:98:1: note: a different type is defined in another translation unit
- 98 | START_ESCAPES()
- | ^
- src/escapes.h:98:1: note: the first difference of corresponding definitions is field ‘additional’
- 98 | START_ESCAPES()
- | ^
- src/escapes.h:98:1: note: a type with different number of fields is defined in another translation unit
- 98 | START_ESCAPES()
- | ^
-
- by wrapping the `struct esc` definitions in unnamed namespaces, we can avoid running afoul of ODR.
-
-Bug: https://bugs.gentoo.org/859310
----
- src/escapes.h | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/src/escapes.h b/src/escapes.h
-index 91da82f..d3d2bea 100644
---- a/src/escapes.h
-+++ b/src/escapes.h
-@@ -8,6 +8,7 @@
- #ifndef GRFCODEC
-
- #define START_ESCAPES()\
-+ namespace {\
- const struct esc{\
- char byte;\
- char*str;\
-@@ -30,6 +31,7 @@
- #else /* GRFCODEC */
-
- #define START_ESCAPES()\
-+ namespace {\
- const struct esc{\
- char byte;\
- char*str;\
-@@ -59,7 +61,8 @@
- #endif /* GRFCODEC */
-
- #define END_ESCAPES() };\
-- static const unsigned int num_esc=sizeof(escapes)/sizeof(escapes[0]);
-+ static const unsigned int num_esc=sizeof(escapes)/sizeof(escapes[0]);\
-+ }
-
- #ifdef GRFCODEC
-
---
-2.38.0
-
diff --git a/games-util/grfcodec/files/grfcodec-6.0.6_p20230811-action-5.patch b/games-util/grfcodec/files/grfcodec-6.0.6_p20230811-action-5.patch
deleted file mode 100644
index 333c9f5ed2e9..000000000000
--- a/games-util/grfcodec/files/grfcodec-6.0.6_p20230811-action-5.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Bug: https://bugs.gentoo.org/912189
-Upstream: https://github.com/OpenTTD/grfcodec/pull/23
-
-From de32367a6896c9f310fa48929e29643beaa08af4 Mon Sep 17 00:00:00 2001
-From: Matthew Smith <matthew@gentoo.org>
-Date: Sun, 13 Aug 2023 09:30:01 +0100
-Subject: [PATCH] data: Fix Action5 table
-
-The alternative sprite counts were added into the action 5 table, but
-the counts were not updated. This caused all of the types defined after
-type 0x09 to be mis-read.
-
-Fixes: d5a7b850bcef30c0bfd17ceeb4a18c431770f468
---- a/src/data.cpp
-+++ b/src/data.cpp
-@@ -170,9 +170,9 @@ NDF_HEADER(0x04, 17),
- /*06*/ OFFSET, OPTIONS(2), 0x4A, 0x5A,
- /*07*/ OPTIONS(1), 0x5D,
- /*08*/ OFFSET, OPTIONS(1), 0x41,
--/*09*/ OFFSET, OPTIONS(1), 0x06, 0x12,
-+/*09*/ OFFSET, OPTIONS(2), 0x06, 0x12,
- /*0A*/ OFFSET | RECOLOUR | WORD, OPTIONS(1), W(0x100),
--/*0B*/ OFFSET, OPTIONS(1), 0x71, 0x77,
-+/*0B*/ OFFSET, OPTIONS(2), 0x71, 0x77,
- /*0C*/ OPTIONS(1), 0x85,
- /*0D*/ OPTIONS(2), 0x10, 0x12,
- /*0E*/ MIXED, OPTIONS(1), 0x00,
---
-2.41.0
-
diff --git a/games-util/grfcodec/grfcodec-6.0.6_p20210310-r1.ebuild b/games-util/grfcodec/grfcodec-6.0.6_p20210310-r1.ebuild
deleted file mode 100644
index 90d01d7a6794..000000000000
--- a/games-util/grfcodec/grfcodec-6.0.6_p20210310-r1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake vcs-snapshot
-
-COMMIT=045774dee7cab1a618a3e0d9b39bff78a12b6efa
-
-DESCRIPTION="A suite of programs to modify openttd/Transport Tycoon Deluxe's GRF files"
-HOMEPAGE="https://github.com/OpenTTD/grfcodec"
-SRC_URI="https://github.com/OpenTTD/grfcodec/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
-
-RDEPEND="media-libs/libpng:="
-DEPEND="${RDEPEND}
- dev-libs/boost"
-
-PATCHES=( "${FILESDIR}"/${PV} )
-
-src_configure() {
- local mycmakeargs=(
- # Make sure we don't use git by accident.
- # Build system does not care much if it's
- # executed successfully and populates
- # YEARS / VERSION with empty values.
- -DGIT_EXECUTABLE=/bin/do-not-use-git-executable
- )
-
- cmake_src_configure
-}
-
-src_install() {
- dobin "${BUILD_DIR}"/{grfcodec,grfid,grfstrip,nforenum}
- doman docs/*.1
- dodoc changelog.txt docs/*.txt
-}
diff --git a/games-util/grfcodec/grfcodec-6.0.6_p20230811-r1.ebuild b/games-util/grfcodec/grfcodec-6.0.6_p20230811-r1.ebuild
deleted file mode 100644
index 600aa5d3e4a8..000000000000
--- a/games-util/grfcodec/grfcodec-6.0.6_p20230811-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake vcs-snapshot
-
-COMMIT=d5a7b850bcef30c0bfd17ceeb4a18c431770f468
-
-DESCRIPTION="A suite of programs to modify openttd/Transport Tycoon Deluxe's GRF files"
-HOMEPAGE="https://github.com/OpenTTD/grfcodec"
-SRC_URI="https://github.com/OpenTTD/grfcodec/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
-
-RDEPEND="media-libs/libpng:="
-DEPEND="${RDEPEND}
- dev-libs/boost"
-
-PATCHES=(
- # Bug #894648
- "${FILESDIR}"/${P}-no-fortify-source.patch
-
- # Bug #912189
- "${FILESDIR}"/${P}-action-5.patch
-)
-
-src_configure() {
- local mycmakeargs=(
- # Make sure we don't use git by accident.
- # Build system does not care much if it's
- # executed successfully and populates
- # YEARS / VERSION with empty values.
- -DGIT_EXECUTABLE=/bin/do-not-use-git-executable
- )
-
- cmake_src_configure
-}
-
-src_install() {
- dobin "${BUILD_DIR}"/{grfcodec,grfid,grfstrip,nforenum}
- doman docs/*.1
- dodoc changelog.txt docs/*.txt
-}
diff --git a/games-util/grfcodec/grfcodec-6.1.0-r1.ebuild b/games-util/grfcodec/grfcodec-6.1.0-r1.ebuild
index ce2b664d42de..a84ac889ed7d 100644
--- a/games-util/grfcodec/grfcodec-6.1.0-r1.ebuild
+++ b/games-util/grfcodec/grfcodec-6.1.0-r1.ebuild
@@ -1,21 +1,30 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
-DESCRIPTION="A suite of programs to modify openttd/Transport Tycoon Deluxe's GRF files"
+DESCRIPTION="Suite of programs to modify openttd/Transport Tycoon Deluxe's GRF files"
HOMEPAGE="https://github.com/OpenTTD/grfcodec"
-SRC_URI="https://github.com/OpenTTD/grfcodec/releases/download/${PV}/${P}-source.tar.xz"
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/OpenTTD/grfcodec"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/OpenTTD/grfcodec/releases/download/${PV}/${P}-source.tar.xz"
+
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
RDEPEND="media-libs/libpng:="
-DEPEND="${RDEPEND}
- dev-libs/boost"
+DEPEND="
+ ${RDEPEND}
+ dev-libs/boost
+"
PATCHES=(
"${FILESDIR}"/${PN}-6.1.0-cmake-install.patch
diff --git a/games-util/grfcodec/grfcodec-9999.ebuild b/games-util/grfcodec/grfcodec-9999.ebuild
new file mode 100644
index 000000000000..fec48e34967f
--- /dev/null
+++ b/games-util/grfcodec/grfcodec-9999.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Suite of programs to modify openttd/Transport Tycoon Deluxe's GRF files"
+HOMEPAGE="https://github.com/OpenTTD/grfcodec"
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/OpenTTD/grfcodec"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/OpenTTD/grfcodec/releases/download/${PV}/${P}-source.tar.xz"
+
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+RDEPEND="media-libs/libpng:="
+DEPEND="
+ ${RDEPEND}
+ dev-libs/boost
+"
+
+PATCHES=(
+ # Bug #894648
+ "${FILESDIR}"/${PN}-6.0.6_p20230811-no-fortify-source.patch
+)
+
+src_install() {
+ cmake_src_install
+
+ rm "${ED}"/usr/share/doc/${PF}/COPYING || die
+}
diff --git a/games-util/lgogdownloader/Manifest b/games-util/lgogdownloader/Manifest
index 13a032bc54f2..21c9bf750c70 100644
--- a/games-util/lgogdownloader/Manifest
+++ b/games-util/lgogdownloader/Manifest
@@ -1 +1 @@
-DIST lgogdownloader-3.15.tar.gz 103592 BLAKE2B a3f12662310fa258265ece2b4bf9510f391d08a58b2a9f6770f0408fdee952f45e96f6bdda50d4f8b95ecf19c249ff782d9967ef12da923994b5715b0fae16a6 SHA512 f38980f27701593e8dfd07ce25b0afa1d92813f864e9cdf8f680a57d239eea1fc68c4e8ae2a525230c788280bbfa1dc678292982d8836913bfa36046679d0c27
+DIST lgogdownloader-3.16.tar.gz 105119 BLAKE2B 4b181bf6b5b81503610cc45273fc014f535c8ed0dec686dd419db3cd2dea364b7d53692420986d16a227d955fecae012f1643ab6dbd4ed10a798d18cf883685d SHA512 09c4b851a4589e67d78ac530886c9700f997b711199ff003f35296463e5e877d0f84d5f4a2507627ee35e8cf351808f2d7c53288727c5e9e84c8401ff2215eb3
diff --git a/games-util/lgogdownloader/lgogdownloader-3.15-r1.ebuild b/games-util/lgogdownloader/lgogdownloader-3.16-r1.ebuild
index 8e8825bc6865..e231df5f2241 100644
--- a/games-util/lgogdownloader/lgogdownloader-3.15-r1.ebuild
+++ b/games-util/lgogdownloader/lgogdownloader-3.16-r1.ebuild
@@ -1,17 +1,24 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/Sude-/lgogdownloader.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/Sude-/${PN}/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
DESCRIPTION="Unofficial GOG.com downloader for Linux"
HOMEPAGE="https://sites.google.com/site/gogdownloader/"
-SRC_URI="https://github.com/Sude-/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
LICENSE="WTFPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="gui qt6"
+IUSE="gui"
RDEPEND="
>=app-crypt/rhash-1.3.3-r2:0=
@@ -21,16 +28,8 @@ RDEPEND="
dev-libs/tinyxml2:0=
>=net-misc/curl-7.55:0=[ssl]
gui? (
- !qt6? (
- dev-qt/qtcore:5
- dev-qt/qtnetwork:5
- dev-qt/qtwebengine:5[widgets]
- dev-qt/qtwidgets:5
- )
- qt6? (
- dev-qt/qtbase:6[network,widgets]
- dev-qt/qtwebengine:6[widgets]
- )
+ dev-qt/qtbase:6[network,widgets]
+ dev-qt/qtwebengine:6[widgets]
)
"
@@ -40,15 +39,13 @@ DEPEND="
BDEPEND="
virtual/pkgconfig
+ gui? ( dev-qt/qtbase:6 )
"
src_configure() {
local mycmakeargs=(
-DUSE_QT_GUI=$(usex gui)
)
- use gui && mycmakeargs+=(
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt6=$(usex !qt6)
- )
cmake_src_configure
}
diff --git a/games-util/lgogdownloader/lgogdownloader-9999.ebuild b/games-util/lgogdownloader/lgogdownloader-9999.ebuild
index 653b4c27add5..e231df5f2241 100644
--- a/games-util/lgogdownloader/lgogdownloader-9999.ebuild
+++ b/games-util/lgogdownloader/lgogdownloader-9999.ebuild
@@ -1,13 +1,21 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit cmake git-r3
+inherit cmake
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/Sude-/lgogdownloader.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/Sude-/${PN}/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
DESCRIPTION="Unofficial GOG.com downloader for Linux"
HOMEPAGE="https://sites.google.com/site/gogdownloader/"
-EGIT_REPO_URI="https://github.com/Sude-/lgogdownloader.git"
+
LICENSE="WTFPL-2"
SLOT="0"
IUSE="gui"
@@ -31,6 +39,7 @@ DEPEND="
BDEPEND="
virtual/pkgconfig
+ gui? ( dev-qt/qtbase:6 )
"
src_configure() {
diff --git a/games-util/nml/Manifest b/games-util/nml/Manifest
index 18d2d57c1b4b..bc8ac35aad72 100644
--- a/games-util/nml/Manifest
+++ b/games-util/nml/Manifest
@@ -1,3 +1 @@
-DIST nml-0.7.1.tar.gz 562101 BLAKE2B 3c29bde63048ea276d868df8aa3e13c4f1d3949c1e2c4a973e6f5f5bff7a6e57ce5c56d6605f44d91602209967cbe732f7f9031b471de3104d6c04a41582541f SHA512 a123680f89243f29ad88f2c0bc50fe7c801bd70d7cd49d71d3e5d199b1f4042e4143b71340aea3c47d938f838647016cebc0b56e39ede627497139755c9b829e
-DIST nml-0.7.4.tar.gz 569348 BLAKE2B 620f6100627d7c1cd67bbf481c96abb8be4574e0ec70cf529502980c9d8aca3660f1469fbdce99d5736d21287053b6c199a5a390f56f3704d7ceb16e6ba6582e SHA512 78a0961db3a56684fbc999f69bc5e02b9f002ba7b7a2afd39c7d4c9695b3306339ee55c4b9d711d85ca7c4c0e4d53abc71c9e0720904d44a0c388a793a28fc4b
DIST nml-0.7.5.tar.gz 578976 BLAKE2B 630afc4b532a76ff7dea84b231636cbf8fa50197e43c11eaa1fdaa80b2acadb61d35dc07119f57417d7cdae88d39d516f52bac49aa56fa3177e287ab11bd07b2 SHA512 6c92ce5124e2c4bc641ff8c14a2e88e2576ef06dccce8fb5ffee1b1dbcee2b9640fa51410bfb7aa6b800b00274020b38161617aa41712d4d358612493ea8fe26
diff --git a/games-util/nml/nml-0.7.1.ebuild b/games-util/nml/nml-0.7.1.ebuild
deleted file mode 100644
index f4ed77cc0974..000000000000
--- a/games-util/nml/nml-0.7.1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
-
-DESCRIPTION="Compiler of NML files into GRF/NFO files"
-HOMEPAGE="https://github.com/OpenTTD/nml/"
-SRC_URI="https://github.com/OpenTTD/nml/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-
-RDEPEND="
- $(python_gen_cond_dep '
- dev-python/pillow[${PYTHON_USEDEP},zlib]
- dev-python/ply[${PYTHON_USEDEP}]
- ')
-"
-
-python_test() {
- emake regression
-}
-
-src_install() {
- local DOCS=( README.md docs/changelog.txt )
- distutils-r1_src_install
-
- doman docs/nmlc.1
-}
diff --git a/games-util/nml/nml-0.7.5.ebuild b/games-util/nml/nml-0.7.5.ebuild
index 6754dea0b4c2..83230f125d58 100644
--- a/games-util/nml/nml-0.7.5.ebuild
+++ b/games-util/nml/nml-0.7.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,11 +11,17 @@ inherit distutils-r1
DESCRIPTION="Compiler of NML files into GRF/NFO files"
HOMEPAGE="https://github.com/OpenTTD/nml/"
-SRC_URI="https://github.com/OpenTTD/nml/releases/download/${PV}/${P}.tar.gz"
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/OpenTTD/nml"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/OpenTTD/nml/releases/download/${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
RDEPEND="
$(python_gen_cond_dep '
diff --git a/games-util/nml/nml-0.7.4.ebuild b/games-util/nml/nml-9999.ebuild
index 103717df9f3b..7003f3d9bf97 100644
--- a/games-util/nml/nml-0.7.4.ebuild
+++ b/games-util/nml/nml-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,16 +6,22 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
DESCRIPTION="Compiler of NML files into GRF/NFO files"
HOMEPAGE="https://github.com/OpenTTD/nml/"
-SRC_URI="https://github.com/OpenTTD/nml/releases/download/${PV}/${P}.tar.gz"
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/OpenTTD/nml"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/OpenTTD/nml/releases/download/${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
RDEPEND="
$(python_gen_cond_dep '
@@ -24,10 +30,6 @@ RDEPEND="
')
"
-src_prepare() {
- default
-}
-
python_test() {
# the tests involving sprites seem to fail when running in the ebuild,
# unless --no-cache is passed.
diff --git a/games-util/qstat/Manifest b/games-util/qstat/Manifest
index c61dfd63739f..02338ff54a78 100644
--- a/games-util/qstat/Manifest
+++ b/games-util/qstat/Manifest
@@ -1 +1,2 @@
DIST qstat-2.14.tar.gz 210440 BLAKE2B 2a33287a69fe63c59a1cb136e84ea29cccd27f4468cb4b38b4e9ce49f28a558dc67793eaa7ead7addd828730e084a15f9684ccba7753852ce1c2795c7c94cb78 SHA512 f2054d74399fe1773a19ca43629e10364fdd87e551459719685c11f38245a05906631b456848b1a3764b4e6843baf654af6a9b174c7b16908b6bcb97ac64c6d6
+DIST qstat-2.17.tar.gz 233981 BLAKE2B e66aad52931443183ad91b19d5ed775c78babb0a5bd679c57fdf4c0ef604aab4e071bd16f97d151b84eb0b9b9814da271342a3494ec4123c5cf0ca10a8786341 SHA512 880549d220a9a9046910bc2e5564b09349870110c77249b66d2ca77143327c83473da31c00e7b70df45f48e6a5bcb3310487f73983d745a69e6aa6278a125278
diff --git a/games-util/qstat/files/qstat-2.14-unneeded-cast.patch b/games-util/qstat/files/qstat-2.14-unneeded-cast.patch
new file mode 100644
index 000000000000..c1bf19b502c5
--- /dev/null
+++ b/games-util/qstat/files/qstat-2.14-unneeded-cast.patch
@@ -0,0 +1,14 @@
+packet_funcs are already have correct type, no need to cast function pointer to wrong
+function pointer
+https://bugs.gentoo.org/944360
+--- a/packet_manip.c
++++ b/packet_manip.c
+@@ -131,7 +131,7 @@
+ }
+ // Call the server's packet processing method flagging as a combine call
+ server->combined = 1;
+- ret = ((int (*)())server->type->packet_func)(server, combined, datalen);
++ ret = (server->type->packet_func)(server, combined, datalen);
+ free(combined);
+ server->combined = 0;
+
diff --git a/games-util/qstat/qstat-2.14.ebuild b/games-util/qstat/qstat-2.14-r1.ebuild
index 5de977de37a5..33da72b64bfd 100644
--- a/games-util/qstat/qstat-2.14.ebuild
+++ b/games-util/qstat/qstat-2.14-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools
@@ -14,12 +14,17 @@ SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc64 x86"
IUSE="debug"
-DEPEND="!sys-cluster/torque"
+RDEPEND="!sys-cluster/torque"
DOCS=( CHANGES.txt COMPILE.txt template/README.txt )
PATCHES=(
- "${FILESDIR}"/${P}-gcc-10.patch
+ "${FILESDIR}"/"${P}"-gcc-10.patch
+ "${FILESDIR}"/"${P}"-unneeded-cast.patch
+)
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+ strnstr #bug #899024, there's fallback implementation
)
src_prepare() {
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
+}
diff --git a/games-util/xpadneo/Manifest b/games-util/xpadneo/Manifest
index eb4635d595c1..9b6e0ef7a37d 100644
--- a/games-util/xpadneo/Manifest
+++ b/games-util/xpadneo/Manifest
@@ -1 +1 @@
-DIST xpadneo-0.9.6.tar.gz 1344171 BLAKE2B 22a85732de2894d310e0994c101ed62b7358f1b6b8ba5b389fc273bfd48a1ce619ebc04f3699818290f61833234d4c444fff25ea852d9dcf420b99ab28687a03 SHA512 f423fb89cf911c727917591d79909acaecc9fdb68ca10c5cc2a128bd66174799f3efb2b9a87e43bb315ab92ddb7513f79300f06d347fabc9de11e63fc1d25689
+DIST xpadneo-0.9.7.tar.gz 1348791 BLAKE2B 6715e684d046ad3162db65196896d23f0c70046d02adbf5886d849818120fb731acb86da0a9e18e54b56b31220911ea25c296f1b8473eb0f0fca4fe96b98712b SHA512 c5a3438fef6215f3dd733099f8d5fc86b55b092f3d808969040eb38b29c4fd786f5d3ee547cfc403e6f2c0af90106f91c4d4cf3954295f2e5b11e12949ca3069
diff --git a/games-util/xpadneo/files/xpadneo-0.9.6-kernel-6.12.patch b/games-util/xpadneo/files/xpadneo-0.9.6-kernel-6.12.patch
deleted file mode 100644
index 9e5115345111..000000000000
--- a/games-util/xpadneo/files/xpadneo-0.9.6-kernel-6.12.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-https://bugs.gentoo.org/943776
-https://github.com/atar-axis/xpadneo/issues/498
-https://github.com/atar-axis/xpadneo/commit/4bfe0a1c35
-(+ include required linux/version.h from 242e9b46bb)
---- a/hid-xpadneo/src/hid-xpadneo.c
-+++ b/hid-xpadneo/src/hid-xpadneo.c
-@@ -713,5 +713,9 @@
- }
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(6,12,0)
- static u8 *xpadneo_report_fixup(struct hid_device *hdev, u8 *rdesc, unsigned int *rsize)
-+#else
-+static const u8 *xpadneo_report_fixup(struct hid_device *hdev, u8 *rdesc, unsigned int *rsize)
-+#endif
- {
- struct xpadneo_devdata *xdata = hid_get_drvdata(hdev);
---- a/hid-xpadneo/src/xpadneo.h
-+++ b/hid-xpadneo/src/xpadneo.h
-@@ -13,4 +13,5 @@
-
- #include <linux/hid.h>
-+#include <linux/version.h>
-
- #include "hid-ids.h"
diff --git a/games-util/xpadneo/xpadneo-0.9.6.ebuild b/games-util/xpadneo/xpadneo-0.9.7.ebuild
index 02e62e777f88..1daeda7486f6 100644
--- a/games-util/xpadneo/xpadneo-0.9.6.ebuild
+++ b/games-util/xpadneo/xpadneo-0.9.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -22,10 +22,6 @@ SLOT="0"
CONFIG_CHECK="INPUT_FF_MEMLESS"
-PATCHES=(
- "${FILESDIR}"/${P}-kernel-6.12.patch
-)
-
src_compile() {
local modlist=( hid-${PN}=kernel/drivers/hid:hid-${PN}:hid-${PN}/src )
local modargs=( KERNEL_SOURCE_DIR="${KV_OUT_DIR}" )
@@ -40,7 +36,7 @@ src_install() {
insinto /etc/modprobe.d
doins hid-${PN}/etc-modprobe.d/${PN}.conf
- udev_dorules hid-${PN}/etc-udev-rules.d/60-${PN}.rules
+ udev_dorules hid-${PN}/etc-udev-rules.d/*.rules
}
pkg_postinst() {
diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild
index d57edd3bce17..7947f5c05d92 100644
--- a/games-util/xpadneo/xpadneo-9999.ebuild
+++ b/games-util/xpadneo/xpadneo-9999.ebuild
@@ -30,13 +30,10 @@ src_compile() {
}
src_install() {
- local DOCS=( docs/{[^i]*.md,descriptors,reports} NEWS.md )
linux-mod-r1_src_install
- insinto /etc/modprobe.d
- doins hid-${PN}/etc-modprobe.d/${PN}.conf
-
- udev_dorules hid-${PN}/etc-udev-rules.d/60-${PN}.rules
+ # install modprobe.d/rules.d files and docs
+ emake PREFIX="${ED}" ETC_PREFIX=/usr/lib DOC_PREFIX=/usr/share/doc/${PF} install
}
pkg_postinst() {