games-util/watt-toolkit-bin: add 3.3.0, drop 3.2.0
Upstream replaced the JIT tarball with Native AOT builds for x64 and arm64, so the bundled dotnet runtime and assemblies are gone. The program still runs Steam++.sh from its own directory to restart itself and through pkexec to import its certificate (Startup.RunSelfProcess.cs, LinuxPlatformServiceImpl.Certificate.cs at the 3.3.0 tag), but the AOT tarball no longer ships it, so install a wrapper under that name and keep sys-auth/polkit. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
1 parent
97497901f0
commit
3e550eb84e
3 files changed
+19
-25
No files matched your search
@@ -1 +1,2 @@
|
|||||||
DIST watt-toolkit-bin-3.2.0.tgz 90240184 BLAKE2B 9f1e373066e779fd7d35be61d9b1aaa263bb9afb98b3f1c2b724a61240303b5424b7a80e3446b46db7f8cec6d331812eb2d8f2788dc816e1816c6c215ab1c877 SHA512 9a77218a68f3ba5ea7e69342b96d41f5aaa3304988bd21231c1a39165cf802d6ed18dde713ff73ba0cb14bfa26c09a3ba0d2df0ee869b00ecae75db69cc9a4e7
|
DIST watt-toolkit-bin-3.3.0-amd64.tgz 66168940 BLAKE2B 738452e20b2a38e034ab2ba52d0faa1c87bbff33417c78f174dc5f7cdf3c61e4f127f44f4ce2f1047d152c28e37b447d5ce75991560c7b21ddd8092e57917276 SHA512 ebe0c45497edbfdab1bfacc6bf0bbbd1c9a73cded029674273fe8339d3e49d2bedfc59ee7921c462e1017e22c3ebc2791798ab35f637c33bbed283a015b15ab8
|
||||||
|
DIST watt-toolkit-bin-3.3.0-arm64.tgz 63053333 BLAKE2B 6c7c638cb40ee337f2b7dd38db12388a4c2a147b89004e3207ab4e7c0eb8ab471f585ae561bb759b6e056bda9da8380890ce2ab2caf492055bca6ac7751524ba SHA512 41980c21048c2377747a2c4db759b35a3766e233927a64b6c96b10297b52f6bc1805336d0404313a5f5ff312068052ece244a00b902fd141d1e66e1578b5aa3f
|
||||||
@@ -1,10 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Installed as Steam++.sh in the application directory, and linked as
|
# Installed as Steam++.sh in the application directory, and linked as
|
||||||
# /usr/bin/watt-toolkit. The program itself runs Steam++.sh with pkexec for
|
# /usr/bin/watt-toolkit. The program runs Steam++.sh to restart itself and
|
||||||
# privileged work, so this file has to stay on that path.
|
# with pkexec to import its certificate, so this file has to stay on that path.
|
||||||
|
|
||||||
appdir=/usr/lib/watt-toolkit
|
exec /usr/lib/watt-toolkit/Steam++ "$@"
|
||||||
|
|
||||||
DOTNET_ROOT="${appdir}/dotnet"
|
|
||||||
export DOTNET_ROOT
|
|
||||||
exec "${DOTNET_ROOT}/dotnet" exec "${appdir}/Steam++.dll" "$@"
|
|
||||||
+14
-17
@@ -7,12 +7,16 @@ inherit desktop fcaps optfeature xdg
|
|||||||
|
|
||||||
DESCRIPTION="Multi-purpose Steam toolbox (Watt Toolkit, formerly Steam++)"
|
DESCRIPTION="Multi-purpose Steam toolbox (Watt Toolkit, formerly Steam++)"
|
||||||
HOMEPAGE="https://steampp.net/ https://github.com/BeyondDimension/SteamTools"
|
HOMEPAGE="https://steampp.net/ https://github.com/BeyondDimension/SteamTools"
|
||||||
SRC_URI="https://github.com/BeyondDimension/SteamTools/releases/download/${PV}/Steam%2B%2B_v${PV}_linux_x64.tgz -> ${P}.tgz"
|
URI_PREFIX="https://github.com/BeyondDimension/SteamTools/releases/download/${PV}"
|
||||||
|
SRC_URI="
|
||||||
|
amd64? ( ${URI_PREFIX}/Steam%2B%2B_v${PV}_linux_x64_aot.tgz -> ${P}-amd64.tgz )
|
||||||
|
arm64? ( ${URI_PREFIX}/Steam%2B%2B_v${PV}_linux_arm64_aot.tgz -> ${P}-arm64.tgz )
|
||||||
|
"
|
||||||
S="${WORKDIR}"
|
S="${WORKDIR}"
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="-* ~amd64"
|
KEYWORDS="-* ~amd64 ~arm64"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
app-crypt/mit-krb5
|
app-crypt/mit-krb5
|
||||||
@@ -21,6 +25,7 @@ RDEPEND="
|
|||||||
dev-libs/openssl
|
dev-libs/openssl
|
||||||
media-libs/fontconfig
|
media-libs/fontconfig
|
||||||
sys-auth/polkit
|
sys-auth/polkit
|
||||||
|
sys-libs/glibc
|
||||||
sys-libs/libcap
|
sys-libs/libcap
|
||||||
x11-misc/xdg-utils
|
x11-misc/xdg-utils
|
||||||
"
|
"
|
||||||
@@ -34,30 +39,22 @@ FILECAPS=(
|
|||||||
src_install() {
|
src_install() {
|
||||||
local appdir=/usr/lib/watt-toolkit
|
local appdir=/usr/lib/watt-toolkit
|
||||||
|
|
||||||
insinto "${appdir}"
|
exeinto "${appdir}"
|
||||||
doins -r assemblies/* modules native
|
doexe Steam++ libHarfBuzzSharp.so libSkiaSharp.so libe_sqlite3.so
|
||||||
fperms 0755 "${appdir}/modules/Accelerator/Steam++.Accelerator"
|
|
||||||
|
|
||||||
# the app targets net11.0, which the tree does not provide
|
exeinto "${appdir}/modules/Accelerator"
|
||||||
rm dotnet/dnx dotnet/shared/Microsoft.NETCore.App/*/libcoreclrtraceptprovider.so || die
|
doexe modules/Accelerator/Steam++.Accelerator
|
||||||
doins -r dotnet
|
|
||||||
fperms 0755 "${appdir}/dotnet/dotnet"
|
|
||||||
find "${ED}${appdir}/dotnet" -name '*.so' -exec chmod 0755 {} + || die
|
|
||||||
|
|
||||||
insinto "${appdir}/script"
|
exeinto "${appdir}/script"
|
||||||
doins script/environment_check.sh
|
doexe script/environment_check.sh
|
||||||
fperms 0755 "${appdir}/script/environment_check.sh"
|
|
||||||
|
|
||||||
# the program runs this name from its own directory, with pkexec
|
# the program runs this name from its own directory, also with pkexec
|
||||||
exeinto "${appdir}"
|
exeinto "${appdir}"
|
||||||
newexe "${FILESDIR}"/watt-toolkit-bin.sh Steam++.sh
|
newexe "${FILESDIR}"/watt-toolkit-bin.sh Steam++.sh
|
||||||
dosym ../lib/watt-toolkit/Steam++.sh /usr/bin/watt-toolkit
|
dosym ../lib/watt-toolkit/Steam++.sh /usr/bin/watt-toolkit
|
||||||
|
|
||||||
newicon -s 512 Icons/Watt-Toolkit.png net.steampp.app.png
|
newicon -s 512 Icons/Watt-Toolkit.png net.steampp.app.png
|
||||||
newmenu "${FILESDIR}"/watt-toolkit-bin.desktop net.steampp.app.desktop
|
newmenu "${FILESDIR}"/watt-toolkit-bin.desktop net.steampp.app.desktop
|
||||||
|
|
||||||
# the single-file bundle is appended to this executable, strip truncates it
|
|
||||||
dostrip -x /usr/lib/watt-toolkit/modules/Accelerator/Steam++.Accelerator
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
Reference in new issue
Block a user