commit:     921cd07de62c0210ebe5f37fc8c466b89edcf3e7
Author:     Florian Albrechtskirchinger <falbrechtskirchinger <AT> gmail <DOT> 
com>
AuthorDate: Fri Feb 27 13:04:26 2026 +0000
Commit:     Florian Albrechtskirchinger <falbrechtskirchinger <AT> gmail <DOT> 
com>
CommitDate: Fri Feb 27 13:04:26 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=921cd07d

games-simulation/kittenspaceagency-bin: fix QA and minor style issues

Fix pkgcheck warnings:
* EmptyGlobalAssignment: remove empty IUSE=""
* NonexistentDeps: depend on virtual/dotnet-sdk:10.0

Remove unsafe rpath from libRakNetDLL.so.

Indent heredoc wrapper script (using <<- syntax).

Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger <AT> gmail.com>

 .../kittenspaceagency-bin-2026.2.38-r3713.ebuild   | 28 ++++++++++++++--------
 1 file changed, 18 insertions(+), 10 deletions(-)

diff --git 
a/games-simulation/kittenspaceagency-bin/kittenspaceagency-bin-2026.2.38-r3713.ebuild
 
b/games-simulation/kittenspaceagency-bin/kittenspaceagency-bin-2026.2.38-r3713.ebuild
index d508e934e2..e7ebefffb0 100644
--- 
a/games-simulation/kittenspaceagency-bin/kittenspaceagency-bin-2026.2.38-r3713.ebuild
+++ 
b/games-simulation/kittenspaceagency-bin/kittenspaceagency-bin-2026.2.38-r3713.ebuild
@@ -13,14 +13,22 @@ LICENSE="all-rights-reserved"
 
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE=""
 
 RESTRICT="mirror strip"
 
-RDEPEND="media-libs/vulkan-loader
-       || ( >=dev-dotnet/dotnet-sdk-10
-            >=dev-dotnet/dotnet-sdk-bin-10
-          )"
+BDEPEND="dev-util/patchelf"
+RDEPEND="
+       media-libs/vulkan-loader
+       virtual/dotnet-sdk:10.0
+"
+
+src_prepare() {
+       default
+
+       # scanelf: rpath_security_checks(): Security problem NULL DT_RUNPATH in
+       # /var/tmp/portage/.../libRakNetDLL.so
+       patchelf --remove-rpath libRakNetDLL.so || die
+}
 
 src_install() {
        insinto "/opt/kittenspaceagency"
@@ -30,12 +38,12 @@ src_install() {
        doexe "KSA"
        doexe "Brutal.Monitor.Subprocess"
 
-       cat > kittenspaceagency << 'ENDWRAPPER'
-#!/usr/bin/env bash
+       cat > kittenspaceagency <<- 'ENDWRAPPER' || die
+               #!/usr/bin/env bash
 
-cd /opt/kittenspaceagency
-XDG_SESSION_TYPE=x11 exec ./KSA "$@"
-ENDWRAPPER
+               cd /opt/kittenspaceagency
+               XDG_SESSION_TYPE=x11 exec ./KSA "$@"
+       ENDWRAPPER
 
        dobin kittenspaceagency
 

Reply via email to