From d99093fb4bb5652015c06274d64083daa2439e4f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Mar 2021 10:28:17 +0000 Subject: gentoo resync : 03.03.2021 --- games-util/gamemode/Manifest | 6 +- games-util/gamemode/gamemode-1.6.1.ebuild | 131 ++++++++++++++++++++++++++++++ games-util/gamemode/gamemode-1.6.ebuild | 131 ------------------------------ games-util/gamemode/gamemode-9999.ebuild | 4 +- 4 files changed, 136 insertions(+), 136 deletions(-) create mode 100644 games-util/gamemode/gamemode-1.6.1.ebuild delete mode 100644 games-util/gamemode/gamemode-1.6.ebuild (limited to 'games-util/gamemode') diff --git a/games-util/gamemode/Manifest b/games-util/gamemode/Manifest index 86ac4f14ae8d..f1672011e3d3 100644 --- a/games-util/gamemode/Manifest +++ b/games-util/gamemode/Manifest @@ -1,4 +1,4 @@ -DIST gamemode-1.6.tar.xz 69916 BLAKE2B 2fbb680de4043a004a91005647208fd9ca25de250bffe97acc0cabea47dba90d1ef670478582203d616704ea1f5a771115aadef4971e1e41f078104116b08cc4 SHA512 7cb4f4dd51b35e3a0164092342be56ce70bf1a81a8ff071725b429378cf92a100e263bc33890d5f5e281ad87fb72e2f820cb716c5aedf14f387610dcb59eb690 -EBUILD gamemode-1.6.ebuild 4046 BLAKE2B b5dd9ca1701843027fd0533a27d3ae4d938995bc635d18cdc45084e8d5cbeea3819c8b5c54a5a33dce74bdae0a47294f48b8df774b5c67120c20c7bd8cbb4e1f SHA512 5c1c8f455ea61bf62aaa9794cb47d244105bf4d4e0d0aaed985a00759e8276ef39216e0366d340947034656577c40f4614b4b90e5cf468a7f6770e5f5a7e3386 -EBUILD gamemode-9999.ebuild 4046 BLAKE2B b5dd9ca1701843027fd0533a27d3ae4d938995bc635d18cdc45084e8d5cbeea3819c8b5c54a5a33dce74bdae0a47294f48b8df774b5c67120c20c7bd8cbb4e1f SHA512 5c1c8f455ea61bf62aaa9794cb47d244105bf4d4e0d0aaed985a00759e8276ef39216e0366d340947034656577c40f4614b4b90e5cf468a7f6770e5f5a7e3386 +DIST gamemode-1.6.1.tar.xz 71224 BLAKE2B aafa3123a2c672197d28fafbc7331004b6e4c87808e831f5e0341fd9a690acda8305da114651391fe39e6702bac805cede9d696280d03d4cc3d03d6f4d782efd SHA512 99403a68675522d3b412424591ab7f0cef54968a699f8f68aa59a42a43df73db4bc8a84ee8f97b9f78f329ecd1ed2f3a50e3cb539458f23e7c5fbe28f7978e47 +EBUILD gamemode-1.6.1.ebuild 4051 BLAKE2B 6962384b196f2d3f762ce4220aad1467b79e1badf13c09a30a49443469391a908d58a08a016d816d185852551e9d5f8cbd530bf33c34e8948e4ae26296dfeb0f SHA512 43df152c784d3838207d8c0512e86412ccf92839bec4f80aa4f0ab88451973cc0ad4c400df93ca38f5cbcab4f58f9bcf3b48b6b8e1c24b72ded0e9d5e1f9e363 +EBUILD gamemode-9999.ebuild 4051 BLAKE2B 6962384b196f2d3f762ce4220aad1467b79e1badf13c09a30a49443469391a908d58a08a016d816d185852551e9d5f8cbd530bf33c34e8948e4ae26296dfeb0f SHA512 43df152c784d3838207d8c0512e86412ccf92839bec4f80aa4f0ab88451973cc0ad4c400df93ca38f5cbcab4f58f9bcf3b48b6b8e1c24b72ded0e9d5e1f9e363 MISC metadata.xml 530 BLAKE2B 14e10e8800bca7ad7e412916ee250a4c9dbc5ed78feb99fbb9ec1feb6cc60cbf96494676eaf48200781f9e25bd330d97e16e7cbd46120df79a3e7affb8361d7e SHA512 6a080b2ec0af531ef9c5d989927a2bef7dd8870c27a5edccc9e61bc9c35cb8bc11c1b781aa003dbca470a2c8172b10f5317be6cca6c6d3d6bef206e91fe7e75c diff --git a/games-util/gamemode/gamemode-1.6.1.ebuild b/games-util/gamemode/gamemode-1.6.1.ebuild new file mode 100644 index 000000000000..65304e1c6223 --- /dev/null +++ b/games-util/gamemode/gamemode-1.6.1.ebuild @@ -0,0 +1,131 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MULTILIB_COMPAT=( abi_x86_{32,64} ) + +inherit meson multilib-minimal ninja-utils systemd + +DESCRIPTION="Optimise Linux system performance on demand" +HOMEPAGE="https://github.com/FeralInteractive/gamemode" + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/FeralInteractive/gamemode.git" + GAMEMODE_GIT_PTR="master" + inherit git-r3 +else + GAMEMODE_GIT_PTR="${PV}" + SRC_URI="https://github.com/FeralInteractive/gamemode/releases/download/${GAMEMODE_GIT_PTR}/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="systemd elogind" + +REQUIRED_USE="^^ ( systemd elogind )" + +RDEPEND=" + acct-group/gamemode + >=dev-libs/inih-53 + sys-apps/dbus[${MULTILIB_USEDEP},systemd(+)=,elogind(-)=] + sys-auth/polkit + sys-libs/libcap +" +DEPEND="${RDEPEND}" + +DOCS=( + CHANGELOG.md + LICENSE.txt + README.md + example/gamemode.ini +) + +pkg_pretend() { + elog + elog "GameMode needs a kernel capable of SCHED_ISO to use its soft realtime" + elog "feature. Example of a kernel providing that is sys-kernel/pf-sources." + elog + elog "Support for soft realtime is completely optional. It may provide the" + elog "following benefits with systems having at least four CPU cores:" + elog + elog " * more CPU shares allocated exclusively to the game" + elog " * reduced input lag and reduced thread latency" + elog " * more consistent frame times resulting in less microstutters" + elog + elog "You probably won't benefit from soft realtime mode and thus don't need" + elog "SCHED_ISO if:" + elog + elog " * Your CPU has less than four cores because the game may experience" + elog " priority inversion with the graphics driver (thus heuristics" + elog " automatically disable SCHED_ISO usage then)" + elog " * Your game uses busy-loops to interface with the graphics driver" + elog " but you may still force SCHED_ISO per configuation file, YMMV," + elog " it depends on the graphics driver implementation, i.e. usage of" + elog " __GL_THREADED_OPTIMIZATIONS or similar." + elog " * If your game causes more than 70% CPU usage across all cores," + elog " SCHED_ISO automatically turns off and on depending on usage and" + elog " is processed with higher-than-normal priority then (renice)." + elog " This auto-switching may result in a lesser game experience." + elog + elog "For more info look at:" + elog "https://github.com/FeralInteractive/gamemode/blob/${GAMEMODE_GIT_PTR}/README.md" + elog +} + +multilib_src_configure() { + local emesonargs=( + -Dwith-sd-bus-provider=$(usex systemd "systemd" "elogind") + -Dwith-systemd-user-unit-dir="$(systemd_get_userunitdir)" + ) + if ! multilib_is_native_abi; then + emesonargs+=( + -Dwith-examples=false + -Dwith-sd-bus-provider=no-daemon + ) + fi + + meson_src_configure +} + +multilib_src_compile() { + eninja +} + +multilib_src_install() { + DESTDIR="${D}" eninja install + if multilib_is_native_abi; then + insinto /etc/security/limits.d + newins - 45-gamemode.conf <<-EOF + @gamemode - nice -10 + EOF + fi +} + +pkg_postinst() { + elog + elog "GameMode has optional support for adjusting nice and ioprio of games" + elog "running with it. You may need to adjust your PAM limits to make use" + elog "of this. You need to be in the gamemode group for this to work." + elog + elog "Run the following command as root to add your user:" + elog "# gpasswd -a USER gamemode # with USER = your user name" + elog + elog "You can run the following command to test your settings:" + elog + elog "# gamemoded -t" + elog + elog "GameMode supports GPU optimizations. It defaults to OFF. Any" + elog "damage resulting from usage of this is your own responsibility." + elog + elog "systemd user sessions will automatically run the daemon on demand," + elog "it does not need to be enabled explicitly. Games not supporting" + elog "GameMode natively can still make use of it, just add" + elog + elog "gamemoderun %command%" + elog + elog "to the start options of any steam game to enable optimizations" + elog "automatically as you start the game." + elog +} diff --git a/games-util/gamemode/gamemode-1.6.ebuild b/games-util/gamemode/gamemode-1.6.ebuild deleted file mode 100644 index aff871628598..000000000000 --- a/games-util/gamemode/gamemode-1.6.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MULTILIB_COMPAT=( abi_x86_{32,64} ) - -inherit meson multilib-minimal ninja-utils systemd - -DESCRIPTION="Optimise Linux system performance on demand" -HOMEPAGE="https://github.com/FeralInteractive/gamemode" - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/FeralInteractive/gamemode.git" - GAMEMODE_GIT_PTR="master" - inherit git-r3 -else - GAMEMODE_GIT_PTR="${PV}" - SRC_URI="https://github.com/FeralInteractive/gamemode/releases/download/${GAMEMODE_GIT_PTR}/${P}.tar.xz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="systemd elogind" - -REQUIRED_USE="^^ ( systemd elogind )" - -RDEPEND=" - acct-group/gamemode - dev-libs/inih - sys-apps/dbus[${MULTILIB_USEDEP},systemd(+)=,elogind(-)=] - sys-auth/polkit - sys-libs/libcap -" -DEPEND="${RDEPEND}" - -DOCS=( - CHANGELOG.md - LICENSE.txt - README.md - example/gamemode.ini -) - -pkg_pretend() { - elog - elog "GameMode needs a kernel capable of SCHED_ISO to use its soft realtime" - elog "feature. Example of a kernel providing that is sys-kernel/pf-sources." - elog - elog "Support for soft realtime is completely optional. It may provide the" - elog "following benefits with systems having at least four CPU cores:" - elog - elog " * more CPU shares allocated exclusively to the game" - elog " * reduced input lag and reduced thread latency" - elog " * more consistent frame times resulting in less microstutters" - elog - elog "You probably won't benefit from soft realtime mode and thus don't need" - elog "SCHED_ISO if:" - elog - elog " * Your CPU has less than four cores because the game may experience" - elog " priority inversion with the graphics driver (thus heuristics" - elog " automatically disable SCHED_ISO usage then)" - elog " * Your game uses busy-loops to interface with the graphics driver" - elog " but you may still force SCHED_ISO per configuation file, YMMV," - elog " it depends on the graphics driver implementation, i.e. usage of" - elog " __GL_THREADED_OPTIMIZATIONS or similar." - elog " * If your game causes more than 70% CPU usage across all cores," - elog " SCHED_ISO automatically turns off and on depending on usage and" - elog " is processed with higher-than-normal priority then (renice)." - elog " This auto-switching may result in a lesser game experience." - elog - elog "For more info look at:" - elog "https://github.com/FeralInteractive/gamemode/blob/${GAMEMODE_GIT_PTR}/README.md" - elog -} - -multilib_src_configure() { - local emesonargs=( - -Dwith-sd-bus-provider=$(usex systemd "systemd" "elogind") - -Dwith-systemd-user-unit-dir="$(systemd_get_userunitdir)" - ) - if ! multilib_is_native_abi; then - emesonargs+=( - -Dwith-examples=false - -Dwith-sd-bus-provider=no-daemon - ) - fi - - meson_src_configure -} - -multilib_src_compile() { - eninja -} - -multilib_src_install() { - DESTDIR="${D}" eninja install - if multilib_is_native_abi; then - insinto /etc/security/limits.d - newins - 45-gamemode.conf <<-EOF - @gamemode - nice -10 - EOF - fi -} - -pkg_postinst() { - elog - elog "GameMode has optional support for adjusting nice and ioprio of games" - elog "running with it. You may need to adjust your PAM limits to make use" - elog "of this. You need to be in the gamemode group for this to work." - elog - elog "Run the following command as root to add your user:" - elog "# gpasswd -a USER gamemode # with USER = your user name" - elog - elog "You can run the following command to test your settings:" - elog - elog "# gamemoded -t" - elog - elog "GameMode supports GPU optimizations. It defaults to OFF. Any" - elog "damage resulting from usage of this is your own responsibility." - elog - elog "systemd user sessions will automatically run the daemon on demand," - elog "it does not need to be enabled explicitly. Games not supporting" - elog "GameMode natively can still make use of it, just add" - elog - elog "gamemoderun %command%" - elog - elog "to the start options of any steam game to enable optimizations" - elog "automatically as you start the game." - elog -} diff --git a/games-util/gamemode/gamemode-9999.ebuild b/games-util/gamemode/gamemode-9999.ebuild index aff871628598..65304e1c6223 100644 --- a/games-util/gamemode/gamemode-9999.ebuild +++ b/games-util/gamemode/gamemode-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -28,7 +28,7 @@ REQUIRED_USE="^^ ( systemd elogind )" RDEPEND=" acct-group/gamemode - dev-libs/inih + >=dev-libs/inih-53 sys-apps/dbus[${MULTILIB_USEDEP},systemd(+)=,elogind(-)=] sys-auth/polkit sys-libs/libcap -- cgit v1.2.3