commit: 50e4f3a4b476448441ad8e9d153b66f76dd8b47f Author: Vincent Ahluwalia <vincentahluwalia <AT> protonmail <DOT> com> AuthorDate: Thu Jan 30 15:29:18 2025 +0000 Commit: Vincent Ahluwalia <vincentahluwalia <AT> protonmail <DOT> com> CommitDate: Thu Jan 30 15:29:18 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=50e4f3a4
games-util/steamtinkerlaunch: add 12.12 & 9999, drop 12.0 Signed-off-by: Vincent Ahluwalia <vincentahluwalia <AT> protonmail.com> Was abandoned a while ago. Updated the ebuild and gave a warning because upstream only releases updates on master. games-util/steamtinkerlaunch/Manifest | 2 +- games-util/steamtinkerlaunch/metadata.xml | 11 ++- .../steamtinkerlaunch-12.0.ebuild | 59 --------------- .../steamtinkerlaunch-12.12.ebuild | 85 ++++++++++++++++++++++ .../steamtinkerlaunch-9999.ebuild | 79 ++++++++++++++++++++ 5 files changed, 170 insertions(+), 66 deletions(-) diff --git a/games-util/steamtinkerlaunch/Manifest b/games-util/steamtinkerlaunch/Manifest index ffb3e48f9..c8a63e086 100644 --- a/games-util/steamtinkerlaunch/Manifest +++ b/games-util/steamtinkerlaunch/Manifest @@ -1 +1 @@ -DIST steamtinkerlaunch-12.0.tar.gz 402462 BLAKE2B 832a643bd967ca5129144ed11aa73c89bbbb936d67b49d7167e7139854e0de12fe4da3541442f61fb0bcf10c96179ed34516f2f7b2c8c8a626b12695b662e78d SHA512 7a952fc0e3dcaf8ed6199f2338e023d4580fd85203b1c49decca52c47c9c6fa7ace5d708ebc783bd2bb72a97feaf52c549e2e4932d46d6785e20298f4aaa0d3c +DIST steamtinkerlaunch-12.12.tar.gz 439377 BLAKE2B a59d61e7161460aaa73645af0ee8f179e23d41fee11a0fc1ff2f0637f53b02a2dd98832ff1e20312d85864c8fd160a55f40430df3dad9fe658471eec210b0be5 SHA512 4ba6a10e049069f0ef31f7d624bc41409777fe9f549a4281d4cc9276f37907b2b344daa2651e38ebebc6897bbd8ae33bfa194b01a920ad277a362dfae19beacd diff --git a/games-util/steamtinkerlaunch/metadata.xml b/games-util/steamtinkerlaunch/metadata.xml index 361f7bde5..f99697f7c 100644 --- a/games-util/steamtinkerlaunch/metadata.xml +++ b/games-util/steamtinkerlaunch/metadata.xml @@ -2,13 +2,12 @@ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <description>new maintainers welcome</description> - <name>Peter Levine</name> - <email>[email protected]</email> + <name>Vincent Ahluwalia</name> + <email>[email protected]</email> </maintainer> <upstream> - <bugs-to>https://github.com/frostworx/steamtinkerlaunch/issues</bugs-to> - <changelog>https://github.com/frostworx/steamtinkerlaunch/wiki/Changelog</changelog> - <remote-id type="github">frostworx/steamtinkerlaunch</remote-id> + <bugs-to>https://github.com/sonic2kk/steamtinkerlaunch/issues</bugs-to> + <changelog>https://github.com/sonic2kk/steamtinkerlaunch/wiki/Changelog</changelog> + <remote-id type="github">sonic2kk/steamtinkerlaunch</remote-id> </upstream> </pkgmetadata> diff --git a/games-util/steamtinkerlaunch/steamtinkerlaunch-12.0.ebuild b/games-util/steamtinkerlaunch/steamtinkerlaunch-12.0.ebuild deleted file mode 100644 index 198ff4202..000000000 --- a/games-util/steamtinkerlaunch/steamtinkerlaunch-12.0.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit optfeature xdg - -DESCRIPTION="Wrapper script for Steam custom launch options" -HOMEPAGE="https://github.com/frostworx/steamtinkerlaunch" -SRC_URI="https://github.com/frostworx/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-3" -SLOT="0" - -KEYWORDS="~amd64" - -DEPEND= - -RDEPEND=" - app-arch/unzip - || ( app-editors/vim-core dev-util/xxd ) - x11-apps/xprop - x11-apps/xrandr - x11-apps/xwininfo - x11-misc/xdotool - - >=gnome-extra/yad-7.2 -" - -src_prepare() { - default - - sed -e 's|PREFIX := /usr|PREFIX := $(DESTDIR)/usr|g' \ - -e "s|share/doc/${PN}|share/doc/${PF}|g" \ - -e '/sed "s:^PREFIX/d' \ - -i Makefile || die -} - -pkg_postinst() { - xdg_pkg_postinst - - optfeature "writing an strace log of the launched game" dev-util/strace - optfeature "using GameMode per game" games-util/gamemode - optfeature "using MangoHUD per game" games-util/mangohud - optfeature "using vkBasalt per game" games-util/vkbasalt - optfeature "winetricks support" app-emulation/winetricks - optfeature "playing regular games side-by-side in VR" media-gfx/vr-video-player - optfeature "using Nyrna per game" x11-misc/nyrna - optfeature "network monitoring" sys-apps/net-tools - optfeature "Boxtron support" games-engines/boxtron - optfeature "ScummVM support via Roberta" games-engines/scummvm - optfeature "wine support" virtual/wine - optfeature "GameScope support" games-util/gamescope - optfeature "Notifier" x11-libs/libnotify - optfeature "extracting the Cheat Engine setup archive" app-arch/innoextract - optfeature "a quick VR HMD presence check" sys-apps/usbutils - optfeature "extracting game names from the steam api" app-misc/jq - optfeature "scaling a custom installed game header picture and for converting game icons" media-gfx/imagemagick - optfeature "extracting SpecialK archives" app-arch/p7zip -} diff --git a/games-util/steamtinkerlaunch/steamtinkerlaunch-12.12.ebuild b/games-util/steamtinkerlaunch/steamtinkerlaunch-12.12.ebuild new file mode 100644 index 000000000..65e3ddb22 --- /dev/null +++ b/games-util/steamtinkerlaunch/steamtinkerlaunch-12.12.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature xdg + +DESCRIPTION="Wrapper script for Steam custom launch options" +HOMEPAGE="https://github.com/sonic2kk/steamtinkerlaunch" +if [ "${PV}" == 9999 ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/sonic2kk/${PN}" +else + SRC_URI="https://github.com/sonic2kk/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi +LICENSE="GPL-3" +SLOT="0" +RESTRICT="test" + +BDEPEND=" + app-alternatives/awk + app-shells/bash + dev-vcs/git + app-arch/unzip + net-misc/wget + x11-misc/xdotool + x11-apps/xprop + x11-apps/xrandr + dev-util/xxd + x11-apps/xwininfo + >=gnome-extra/yad-7.2 +" + +src_prepare() { + default + + sed -i \ + -e 's|PREFIX := /usr|PREFIX := $(DESTDIR)/usr|' \ + -e "s|share/doc/${PN}|share/doc/${PF}|" \ + -e '/sed "s:^PREFIX=/d' \ + Makefile +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature_header "Optional programs for additional features:" + optfeature "running DOSBox games natively." games-engines/boxtron + optfeature "optimizing games with a configurable tool." games-util/gamemode + optfeature "running games in an insolated Xwayland instance." gui-wm/gamescope + optfeature "debugging programs from GNU." sys-devel/gdb + optfeature "Game Icons for Game Desktop Files." media-gfx/imagemagick + optfeature "JSON Parser utility. Used to get updated Proton versions for Vortex and other things.\ + Highly recommended." app-misc/jq + optfeature "sending desktop notifications. A custom notifier may be defined." x11-libs/libnotify + optfeature "monitoring performance metrics such as FPS, temperatures, CPU/GPU load and more." games-util/mangohud + optfeature "game network activity monitoring." sys-apps/net-tools + optfeature "putting games and applications to sleep to free up resources." x11-misc/nyrna-bin + optfeature "extracting SpecialK archives." app-arch/p7zip + optfeature "extracting data from game executables." app-misc/pev + optfeature "backing up and restoring the steamuser folder of a Proton prefix." net-misc/rsync + optfeature "starting ScummVM games natively via Roberta." games-engines/scummvm + optfeature "writing game logs." dev-util/strace + optfeature "checking if a VR headset is present." sys-apps/usbutils + optfeature "Vulkan post-processing (shader) layer similar to and \ + mostly compatible with ReShade shaders." games-util/vkbasalt + optfeature "playing stereoscopic videos, regular videos \ + and games in VR." media-gfx/vr-video-player + optfeature "running applications with system Wine and performing \ + associated Wine configurations." app-emulation/wine-vanilla + optfeature "installing Winetricks workarounds/verbs on Wine/Proton prefixes." app-emulation/winetricks + optfeature "Desktop environment application integration, such as \ + opening default browsers or text editors." x11-misc/xdg-utils + + ewarn "" + ewarn "This is the latest stable release of this package." + ewarn "It has LOTS of bugs and is currently UNSUPPORTED by upstream!" + ewarn "Users are STRONGLY encouraged to use the -9999 version of this package." + +} + +pkg_postrm() { + xdg_pkg_postrm +} diff --git a/games-util/steamtinkerlaunch/steamtinkerlaunch-9999.ebuild b/games-util/steamtinkerlaunch/steamtinkerlaunch-9999.ebuild new file mode 100644 index 000000000..993023f90 --- /dev/null +++ b/games-util/steamtinkerlaunch/steamtinkerlaunch-9999.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature xdg + +DESCRIPTION="Wrapper script for Steam custom launch options" +HOMEPAGE="https://github.com/sonic2kk/steamtinkerlaunch" +if [ "${PV}" == 9999 ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/sonic2kk/${PN}" +else + SRC_URI="https://github.com/sonic2kk/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi +LICENSE="GPL-3" +SLOT="0" +RESTRICT="test" + +BDEPEND=" + app-alternatives/awk + app-shells/bash + dev-vcs/git + app-arch/unzip + net-misc/wget + x11-misc/xdotool + x11-apps/xprop + x11-apps/xrandr + dev-util/xxd + x11-apps/xwininfo + >=gnome-extra/yad-7.2 +" + +src_prepare() { + default + + sed -i \ + -e 's|PREFIX := /usr|PREFIX := $(DESTDIR)/usr|' \ + -e "s|share/doc/${PN}|share/doc/${PF}|" \ + -e '/sed "s:^PREFIX=/d' \ + Makefile +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature_header "Optional programs for additional features:" + optfeature "running DOSBox games natively." games-engines/boxtron + optfeature "optimizing games with a configurable tool." games-util/gamemode + optfeature "running games in an insolated Xwayland instance." gui-wm/gamescope + optfeature "debugging programs from GNU." sys-devel/gdb + optfeature "Game Icons for Game Desktop Files." media-gfx/imagemagick + optfeature "JSON Parser utility. Used to get updated Proton versions for Vortex and other things.\ + Highly recommended." app-misc/jq + optfeature "sending desktop notifications. A custom notifier may be defined." x11-libs/libnotify + optfeature "monitoring performance metrics such as FPS, temperatures, CPU/GPU load and more." games-util/mangohud + optfeature "game network activity monitoring." sys-apps/net-tools + optfeature "putting games and applications to sleep to free up resources." x11-misc/nyrna-bin + optfeature "extracting SpecialK archives." app-arch/p7zip + optfeature "extracting data from game executables." app-misc/pev + optfeature "backing up and restoring the steamuser folder of a Proton prefix." net-misc/rsync + optfeature "starting ScummVM games natively via Roberta." games-engines/scummvm + optfeature "writing game logs." dev-util/strace + optfeature "checking if a VR headset is present." sys-apps/usbutils + optfeature "Vulkan post-processing (shader) layer similar to and \ + mostly compatible with ReShade shaders." games-util/vkbasalt + optfeature "playing stereoscopic videos, regular videos \ + and games in VR." media-gfx/vr-video-player + optfeature "running applications with system Wine and performing \ + associated Wine configurations." app-emulation/wine-vanilla + optfeature "installing Winetricks workarounds/verbs on Wine/Proton prefixes." app-emulation/winetricks + optfeature "Desktop environment application integration, such as \ + opening default browsers or text editors." x11-misc/xdg-utils +} + +pkg_postrm() { + xdg_pkg_postrm +}
