games-util/watt-toolkit-bin - 3.1.0 (gentoo-zh)

Search

Install

Install this version:

emerge -a =games-util/watt-toolkit-bin-3.1.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =games-util/watt-toolkit-bin-3.1.0

Or alternatively:

emerge --autounmask-write -a =games-util/watt-toolkit-bin-3.1.0

Package Information

Description:
Multi-purpose Steam toolbox (Watt Toolkit, formerly Steam++)
Homepage:
https://steampp.net/ https://github.com/BeyondDimension/SteamTools
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
3.1.0 8 -* ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop fcaps optfeature xdg

DESCRIPTION="Multi-purpose Steam toolbox (Watt Toolkit, formerly Steam++)"
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"
S="${WORKDIR}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="-* ~amd64"

RDEPEND="
	dev-libs/nss[utils]
	media-libs/fontconfig
	sys-auth/polkit
	sys-libs/libcap
	virtual/dotnet-sdk:10.0
	x11-misc/xdg-utils
"

QA_PREBUILT="/usr/lib/watt-toolkit/*"

FILECAPS=(
	cap_net_bind_service=ep "/usr/lib/watt-toolkit/modules/Accelerator/Steam++.Accelerator"
)

src_install() {
	local appdir=/usr/lib/watt-toolkit

	insinto "${appdir}"
	doins -r assemblies/* modules native
	fperms 0755 "${appdir}/modules/Accelerator/Steam++.Accelerator"

	insinto "${appdir}/script"
	doins script/environment_check.sh
	fperms 0755 "${appdir}/script/environment_check.sh"

	# the program runs this name from its own directory, with pkexec
	exeinto "${appdir}"
	newexe "${FILESDIR}"/watt-toolkit-bin.sh Steam++.sh
	dosym ../lib/watt-toolkit/Steam++.sh /usr/bin/watt-toolkit

	newicon -s 512 Icons/Watt-Toolkit.png net.steampp.app.png
	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() {
	fcaps_pkg_postinst
	xdg_pkg_postinst
	optfeature "making the main feature work (available in Steam overlay)" games-util/steam-launcher
}

Inherited Eclasses

xdg

Dependencies

RDEPEND

	dev-libs/nss[utils]
	media-libs/fontconfig
	sys-auth/polkit
	sys-libs/libcap
	virtual/dotnet-sdk:10.0
	x11-misc/xdg-utils

Manifest for 3.1.0

Type File Size Source URLs
DIST watt-toolkit-bin-3.1.0.tgz 85626421 bytes https://github.com/BeyondDimension/SteamTools/releases/download/3.1.0/Steam%2B%2B_v3.1.0_linux_x64.tgz