summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGonçalo Negrier Duarte <gonegrier.duarte@gmail.com>2024-04-09 18:54:06 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2024-04-11 23:49:31 +0200
commit08cbdb6de4a8132c7897bf3824889c09104a1033 (patch)
treeab79a399b6f9d36b60e4fba3b061142125c7c92b
parentapp-misc/icdiff: PEP 517 + EAPI 8 + Python 3.12 (diff)
downloadgentoo-08cbdb6de4a8132c7897bf3824889c09104a1033.tar.gz
gentoo-08cbdb6de4a8132c7897bf3824889c09104a1033.tar.bz2
gentoo-08cbdb6de4a8132c7897bf3824889c09104a1033.zip
games-util/heroic-bin: remove resolution from gamescope command
* the problem is that exist more resolution that just 1080p :) * also pipewire detect the resolution of the screen (gamescope is nested) Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36182 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
-rw-r--r--games-util/heroic-bin/heroic-bin-2.13.0-r1.ebuild2
-rw-r--r--games-util/heroic-bin/heroic-bin-2.14.1-r1.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/games-util/heroic-bin/heroic-bin-2.13.0-r1.ebuild b/games-util/heroic-bin/heroic-bin-2.13.0-r1.ebuild
index 4710be3359f5..8b937c6f4bf8 100644
--- a/games-util/heroic-bin/heroic-bin-2.13.0-r1.ebuild
+++ b/games-util/heroic-bin/heroic-bin-2.13.0-r1.ebuild
@@ -107,7 +107,7 @@ src_prepare() {
sed -i 's/Name=Heroic Games Launcher/Name=Heroic Games Launcher (Gamescope)/g' \
"${WORKDIR}"/com.heroicgameslauncher.hgl.gamescope.${PV}.desktop || die
- sed -i 's/Exec=heroic-run %u/Exec=env GDK_BACKEND=wayland gamescope -w 1920 -h 1080 -f -R --RT --force-grab-cursor --prefer-vk-device --adaptive-sync --nested-unfocused-refresh 30 -- heroic-run --ozone-platform=x11 --enable-features=UseOzonePlatform,WaylandWindowDecorations/g' \
+ sed -i 's/Exec=heroic-run %u/Exec=env GDK_BACKEND=wayland gamescope -f -R --RT --force-grab-cursor --prefer-vk-device --adaptive-sync --nested-unfocused-refresh 30 -- heroic-run --ozone-platform=x11 --enable-features=UseOzonePlatform,WaylandWindowDecorations/g' \
"${WORKDIR}"/com.heroicgameslauncher.hgl.gamescope.${PV}.desktop || die
fi
}
diff --git a/games-util/heroic-bin/heroic-bin-2.14.1-r1.ebuild b/games-util/heroic-bin/heroic-bin-2.14.1-r1.ebuild
index 4710be3359f5..8b937c6f4bf8 100644
--- a/games-util/heroic-bin/heroic-bin-2.14.1-r1.ebuild
+++ b/games-util/heroic-bin/heroic-bin-2.14.1-r1.ebuild
@@ -107,7 +107,7 @@ src_prepare() {
sed -i 's/Name=Heroic Games Launcher/Name=Heroic Games Launcher (Gamescope)/g' \
"${WORKDIR}"/com.heroicgameslauncher.hgl.gamescope.${PV}.desktop || die
- sed -i 's/Exec=heroic-run %u/Exec=env GDK_BACKEND=wayland gamescope -w 1920 -h 1080 -f -R --RT --force-grab-cursor --prefer-vk-device --adaptive-sync --nested-unfocused-refresh 30 -- heroic-run --ozone-platform=x11 --enable-features=UseOzonePlatform,WaylandWindowDecorations/g' \
+ sed -i 's/Exec=heroic-run %u/Exec=env GDK_BACKEND=wayland gamescope -f -R --RT --force-grab-cursor --prefer-vk-device --adaptive-sync --nested-unfocused-refresh 30 -- heroic-run --ozone-platform=x11 --enable-features=UseOzonePlatform,WaylandWindowDecorations/g' \
"${WORKDIR}"/com.heroicgameslauncher.hgl.gamescope.${PV}.desktop || die
fi
}