mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03:00
Ports: Add hotkeys for games system menu
This commit is contained in:
parent
d59707d1f2
commit
6272ee3104
Notes:
sideshowbarker
2024-07-17 11:06:06 +09:00
Author: https://github.com/hughdavenport Commit: https://github.com/SerenityOS/serenity/commit/6272ee3104 Pull-request: https://github.com/SerenityOS/serenity/pull/22560 Reviewed-by: https://github.com/ADKaster ✅
@ -2,7 +2,7 @@
|
||||
Demos=/res/icons/16x16/demos.png
|
||||
Development=/res/icons/16x16/development.png
|
||||
&Games=/res/icons/16x16/games.png
|
||||
Games/Puzzles=/res/icons/16x16/games.png
|
||||
&Games/Puzzles=/res/icons/16x16/games.png
|
||||
Graphics=/res/icons/16x16/graphics.png
|
||||
Internet=/res/icons/16x16/internet.png
|
||||
Office=/res/icons/16x16/office.png
|
||||
|
@ -9,7 +9,7 @@ files=(
|
||||
"https://github.com/fabiensanglard/Another-World-Bytecode-Interpreter/archive/refs/heads/master.zip#326de7622e5f83a83fce76e6032240157a9dde83c0d65319095c7e0b312af317"
|
||||
)
|
||||
launcher_name="Another World"
|
||||
launcher_category=Games
|
||||
launcher_category='&Games'
|
||||
launcher_command="/opt/Another-World/raw --datapath=/opt/Another-World"
|
||||
|
||||
configure() {
|
||||
|
@ -12,7 +12,7 @@ depends=(
|
||||
'libopenal'
|
||||
)
|
||||
launcher_name='ClassiCube'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_workdir='/home/anon/Games/ClassiCube'
|
||||
launcher_command='/usr/local/bin/ClassiCube'
|
||||
icon_file='misc/CCicon.ico'
|
||||
|
@ -21,7 +21,7 @@ configopts=(
|
||||
)
|
||||
|
||||
launcher_name=RetroArch
|
||||
launcher_category=Games
|
||||
launcher_category='&Games'
|
||||
launcher_command=/usr/local/bin/retroarch
|
||||
icon_file=media/retroarch.ico
|
||||
|
||||
|
@ -15,7 +15,7 @@ files=(
|
||||
"https://github.com/NagyD/SDLPoP/archive/${commitid}.zip#d18cae8541fb8cbcc374fd998316993d561429a83f92061bc0754337ada774c5"
|
||||
)
|
||||
launcher_name='Prince of Persia'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/opt/PrinceOfPersia/prince'
|
||||
icon_file='src/icon.ico'
|
||||
|
||||
|
@ -9,7 +9,7 @@ files=(
|
||||
"https://github.com/Bennyhwanggggg/Super-Mario-Clone-Cpp/archive/refs/heads/master.zip#fcacc15d3b5afccb3227f982d3e05f2cfeb198f0fffd008fdcda005cb7f87f91"
|
||||
)
|
||||
launcher_name="Super Mario"
|
||||
launcher_category=Games
|
||||
launcher_category='&Games'
|
||||
launcher_command=/opt/Super_Mario/uMario
|
||||
|
||||
configure() {
|
||||
|
@ -8,7 +8,7 @@ files=(
|
||||
)
|
||||
workdir="${port}-${version}-src"
|
||||
launcher_name='SuperTuxKart'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/supertuxkart'
|
||||
icon_file='data/supertuxkart_16.png'
|
||||
depends=(
|
||||
|
@ -13,7 +13,7 @@ configopts=(
|
||||
depends=("SDL2" "SDL2_mixer")
|
||||
icon_file='desktop_version/icon.ico'
|
||||
launcher_name='VVVVVV'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/opt/VVVVVV/VVVVVV'
|
||||
|
||||
configure() {
|
||||
|
@ -9,7 +9,7 @@ depends=("scummvm")
|
||||
bass_resource_path="/usr/local/share/games/${port}-${version}"
|
||||
|
||||
launcher_name="Beneath a Steel Sky"
|
||||
launcher_category=Games
|
||||
launcher_category='&Games'
|
||||
launcher_command="/usr/local/bin/scummvm --path=${bass_resource_path} sky"
|
||||
|
||||
build() {
|
||||
|
@ -13,7 +13,7 @@ makeopts+=(
|
||||
'bin/brogue'
|
||||
)
|
||||
launcher_name='Brogue'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/brogue'
|
||||
icon_file='bin/assets/icon.png'
|
||||
|
||||
|
@ -14,7 +14,7 @@ depends=(
|
||||
)
|
||||
workdir="nxengine-evo-b427ed7bcd403a4dbb07703fe0eb015c3350bbfc"
|
||||
launcher_name='Cave Story'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/nxengine-evo'
|
||||
icon_file='platform/switch/icon.jpg'
|
||||
useconfigure='true'
|
||||
|
@ -16,6 +16,6 @@ depends=(
|
||||
)
|
||||
|
||||
launcher_name='Chocolate Doom'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/chocolate-doom'
|
||||
icon_file='data/doom.png'
|
||||
|
@ -12,7 +12,7 @@ files=(
|
||||
"https://github.com/abishekvashok/cmatrix/archive/${version}.tar.gz#a1d313d49a39cb5ae3a1c675872712f9f871114a161c38cbe94ce78967825f87"
|
||||
)
|
||||
launcher_name='cmatrix'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/cmatrix'
|
||||
launcher_run_in_terminal='true'
|
||||
|
||||
|
@ -19,7 +19,7 @@ configopts=(
|
||||
)
|
||||
install_dir='/opt/devilutionx'
|
||||
launcher_name='DevilutionX'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command="${install_dir}/devilutionx"
|
||||
icon_file='Packaging/resources/icon_32.png'
|
||||
|
||||
|
@ -19,5 +19,5 @@ installopts=(
|
||||
'--file=Makefile.sdl'
|
||||
)
|
||||
launcher_name='Doom'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/doom'
|
||||
|
@ -24,7 +24,7 @@ depends=(
|
||||
'SDL2_net'
|
||||
)
|
||||
launcher_name='DOSBox'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/dosbox'
|
||||
icon_file='contrib/icons/dosbox-staging.ico'
|
||||
|
||||
|
@ -9,7 +9,7 @@ depends=("scummvm")
|
||||
resource_path="/usr/local/share/games/${port}-${version}"
|
||||
|
||||
launcher_name="Dráscula: The Vampire Strikes Back"
|
||||
launcher_category=Games
|
||||
launcher_category='&Games'
|
||||
launcher_command="/usr/local/bin/scummvm --path=${resource_path} drascula"
|
||||
|
||||
build() {
|
||||
|
@ -9,7 +9,7 @@ depends=("scummvm")
|
||||
resource_path="/usr/local/share/games/${port}-${version}"
|
||||
|
||||
launcher_name="DreamWeb"
|
||||
launcher_category=Games
|
||||
launcher_category='&Games'
|
||||
launcher_command="/usr/local/bin/scummvm --path=${resource_path} dreamweb"
|
||||
|
||||
build() {
|
||||
|
@ -9,7 +9,7 @@ files=(
|
||||
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
|
||||
depends=("SDL2" "SDL2_image" "SDL2_mixer" "SDL2_ttf" "SDL2_net")
|
||||
launcher_name="DungeonRush"
|
||||
launcher_category=Games
|
||||
launcher_category='&Games'
|
||||
launcher_command=/opt/DungeonRush/dungeon_rush
|
||||
icon_file=dungeonrush.png
|
||||
|
||||
|
@ -27,6 +27,6 @@ install() {
|
||||
}
|
||||
|
||||
launcher_name='Flare'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/games/flare'
|
||||
icon_file='distribution/flare_logo_icon.png'
|
||||
|
@ -9,7 +9,7 @@ depends=("scummvm")
|
||||
resource_path="/usr/local/share/games/${port}-${version}"
|
||||
|
||||
launcher_name="Flight of the Amazon Queen"
|
||||
launcher_category=Games
|
||||
launcher_category='&Games'
|
||||
launcher_command="/usr/local/bin/scummvm --path=${resource_path} queen"
|
||||
|
||||
build() {
|
||||
|
@ -10,6 +10,6 @@ files=(
|
||||
)
|
||||
depends=("SDL2" "SDL2_image" "SDL2_mixer" "SDL2_ttf" "SDL2_gfx" "zstd" "libicu" "xz" "gettext" "curl")
|
||||
launcher_name=Freeciv
|
||||
launcher_category=Games
|
||||
launcher_category='&Games'
|
||||
launcher_command=/usr/local/bin/freeciv-sdl2
|
||||
icon_file=windows/client.ico
|
||||
|
@ -29,7 +29,7 @@ configopts=(
|
||||
)
|
||||
|
||||
launcher_name='FreeDink'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/freedink --software-rendering --truecolor --nosound'
|
||||
icon_file='src/media/freedink.ico'
|
||||
|
||||
|
@ -23,7 +23,7 @@ configopts=(
|
||||
)
|
||||
icon_file='artwork/gemrb-logo.ico'
|
||||
launcher_name='GemRB'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/gemrb'
|
||||
|
||||
configure() {
|
||||
|
@ -14,6 +14,6 @@ configopts=(
|
||||
"LIBS=-lm -lSDL_sound"
|
||||
)
|
||||
launcher_name='GLTron'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/gltron'
|
||||
icon_file='art/default/gltron.png'
|
||||
|
@ -9,7 +9,7 @@ depends=("scummvm")
|
||||
resource_path="/usr/local/share/games/${port}-${version}"
|
||||
|
||||
launcher_name="The Griffon Legend"
|
||||
launcher_category=Games
|
||||
launcher_category='&Games'
|
||||
launcher_command="/usr/local/bin/scummvm --path=${resource_path} griffon"
|
||||
|
||||
build() {
|
||||
|
@ -9,7 +9,7 @@ files=(
|
||||
"https://github.com/FWGS/hlsdk-portable/archive/${_hlsdk_commit}.tar.gz#b010c94ed400e44508f43706aeea68b82615c6ad22d2b1b892e8d6201d97503d"
|
||||
)
|
||||
launcher_name='Half-Life'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='sh /home/anon/Games/halflife/hl.sh'
|
||||
|
||||
export PKG_CONFIG_PATH="${SERENITY_INSTALL_ROOT}/usr/local/lib/pkgconfig"
|
||||
|
@ -13,7 +13,7 @@ files=(
|
||||
"https://github.com/hatari/hatari/archive/refs/tags/v${version}.tar.gz#68c5edbe60db7a83e6e9b427eaac1136b62653846d64e415850e88d9a6a2cbc2"
|
||||
)
|
||||
launcher_name='Hatari'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/hatari'
|
||||
icon_file='share/icons/hicolor/32x32/apps/hatari.png'
|
||||
|
||||
|
@ -12,7 +12,7 @@ makeopts+=(
|
||||
'SERENITY=1'
|
||||
)
|
||||
launcher_name='Jagged Alliance 2'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/opt/ja2/ja2'
|
||||
icon_file='Build/Res/jagged3.ico'
|
||||
|
||||
|
@ -4,7 +4,7 @@ version='41cd46bc00633e7457d07d88c8add9f99a7d9d41'
|
||||
workdir="jfduke3d-${version}"
|
||||
install_dir='/usr/local/share/games/jfduke3d'
|
||||
launcher_name='Duke Nukem 3D'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command="${install_dir}/duke3d"
|
||||
icon_file='rsrc/game_icon.ico'
|
||||
depends=(
|
||||
|
@ -15,7 +15,7 @@ configopts=(
|
||||
)
|
||||
data_dir='/home/anon/Games/julius'
|
||||
launcher_name='Julius'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_workdir="${data_dir}/"
|
||||
launcher_command="/usr/local/bin/julius"
|
||||
icon_file='res/julius_32.png'
|
||||
|
@ -10,7 +10,7 @@ workdir="lure"
|
||||
resource_path="/usr/local/share/games/${port}-${version}"
|
||||
|
||||
launcher_name="Lure of the Temptress"
|
||||
launcher_category=Games
|
||||
launcher_category='&Games'
|
||||
launcher_command="/usr/local/bin/scummvm --path=${resource_path} lure"
|
||||
|
||||
build() {
|
||||
|
@ -9,7 +9,7 @@ depends=("scummvm")
|
||||
resource_path="/usr/local/share/games/${port}-${version}"
|
||||
|
||||
launcher_name="Hi-Res Adventure #1: Mystery House"
|
||||
launcher_category=Games
|
||||
launcher_category='&Games'
|
||||
launcher_command="/usr/local/bin/scummvm --path=${resource_path} hires1-apple2"
|
||||
|
||||
build() {
|
||||
|
@ -9,7 +9,7 @@ depends=("scummvm")
|
||||
resource_path="/usr/local/share/games/${port}-${version}"
|
||||
|
||||
launcher_name="Nippon Safes Inc."
|
||||
launcher_category=Games
|
||||
launcher_category='&Games'
|
||||
launcher_command="/usr/local/bin/scummvm --path=${resource_path} nippon"
|
||||
|
||||
build() {
|
||||
|
@ -7,6 +7,6 @@ files=(
|
||||
"https://github.com/klange/nyancat/archive/${commit_hash}.tar.gz#d9c3ea82ce59f0d7db86db9e8a626f8f8fa2fbd9544104557e4c59a31893ca31"
|
||||
)
|
||||
launcher_name='Nyancat'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/nyancat'
|
||||
launcher_run_in_terminal='true'
|
||||
|
@ -25,7 +25,7 @@ useconfigure='true'
|
||||
workdir="OpenRCT2-${version}"
|
||||
icon_file='resources/logo/icon_x16.png'
|
||||
launcher_name='OpenRCT2'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/openrct2'
|
||||
|
||||
configure() {
|
||||
|
@ -19,7 +19,7 @@ configopts=(
|
||||
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
||||
)
|
||||
launcher_name='OpenTTD'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/games/openttd'
|
||||
icon_file='media/openttd.32.png'
|
||||
|
||||
|
@ -16,7 +16,7 @@ depends=(
|
||||
)
|
||||
|
||||
launcher_name='OpenTyrian'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/opentyrian'
|
||||
icon_file='linux/icons/tyrian-128.png'
|
||||
|
||||
|
@ -9,7 +9,7 @@ files=(
|
||||
"https://github.com/FWGS/hlsdk-portable/archive/${_hlsdk_commit}.tar.gz#0cf2cb120c3e350d05233cc718126436e68f4f2f1289c1f31623a4c8aef419eb"
|
||||
)
|
||||
launcher_name='Half-Life: Opposing Force'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='sh /home/anon/Games/halflife/opfor.sh'
|
||||
|
||||
configure() {
|
||||
|
@ -17,7 +17,7 @@ configopts=(
|
||||
use_fresh_config_sub='true'
|
||||
config_sub_paths=('config.sub')
|
||||
launcher_name='Pacman'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/pacman'
|
||||
icon_file='data/gfx/pacman_desktop.png'
|
||||
|
||||
|
@ -10,7 +10,7 @@ files=(
|
||||
workdir="The-Powder-Toy-${version}"
|
||||
launcher_name="The Powder Toy"
|
||||
icon_file="resources/icon.ico"
|
||||
launcher_category="Games"
|
||||
launcher_category="&Games"
|
||||
launcher_command="/usr/local/bin/powder"
|
||||
launcher_run_in_terminal=false
|
||||
|
||||
|
@ -28,7 +28,7 @@ configopts=(
|
||||
)
|
||||
|
||||
launcher_name='PrBoom+'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/prboom-plus -vidmode gl'
|
||||
icon_file='ICONS/prboom-plus.ico'
|
||||
|
||||
|
@ -15,6 +15,6 @@ depends=(
|
||||
'SDL2'
|
||||
)
|
||||
launcher_name='Quake'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/bin/quake'
|
||||
icon_file='quake.png'
|
||||
|
@ -15,7 +15,7 @@ configopts=(
|
||||
)
|
||||
depends=('SDL2')
|
||||
launcher_name='Quake II'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/quake2'
|
||||
icon_file='docs/quake2.gif'
|
||||
|
||||
|
@ -9,7 +9,7 @@ files=(
|
||||
workdir="ioq3-${commit_hash}"
|
||||
depends=("SDL2")
|
||||
launcher_name="Quake III Arena"
|
||||
launcher_category="Games"
|
||||
launcher_category="&Games"
|
||||
launcher_command=/usr/local/games/quake3/ioquake3
|
||||
icon_file="misc/quake3.png"
|
||||
|
||||
|
@ -21,7 +21,7 @@ configopts=(
|
||||
"--with-sdl-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
|
||||
)
|
||||
launcher_name='ScummVM'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/scummvm'
|
||||
icon_file='icons/scummvm.ico'
|
||||
|
||||
|
@ -13,7 +13,7 @@ depends=(
|
||||
workdir="SeriousSamClassic-${version}"
|
||||
|
||||
launcher_name='Serious Sam - The First Encounter'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command="/usr/local/bin/serioussam"
|
||||
icon_file='SamTFE/Sources/SeriousSam/res/SeriousSam.ico'
|
||||
|
||||
|
@ -10,7 +10,7 @@ workdir="${port}-en-v${version}"
|
||||
resource_path="/usr/local/share/games/${port}-${version}"
|
||||
|
||||
launcher_name="Sfinx"
|
||||
launcher_category=Games
|
||||
launcher_category="&Games"
|
||||
launcher_command="/usr/local/bin/scummvm --path=${resource_path} sfinx"
|
||||
|
||||
build() {
|
||||
|
@ -9,7 +9,7 @@ depends=("scummvm")
|
||||
resource_path="/usr/local/share/games/${port}-${version}"
|
||||
|
||||
launcher_name="Soltys"
|
||||
launcher_category=Games
|
||||
launcher_category='&Games'
|
||||
launcher_command="/usr/local/bin/scummvm --path=${resource_path} soltys"
|
||||
|
||||
build() {
|
||||
|
@ -16,7 +16,7 @@ install() {
|
||||
run make install
|
||||
|
||||
for puzzle in bridges cube dominosa fifteen filling flip flood galaxies guess inertia keen lightup loopy magnets map mines mosaic net netslide palisade pattern pearl pegs range rect samegame signpost singles sixteen slant solo tents towers tracks twiddle undead unequal unruly untangle; do
|
||||
install_launcher "$puzzle" "Games/Puzzles" "/usr/local/bin/$puzzle" ""
|
||||
install_launcher "$puzzle" "&Games/Puzzles" "/usr/local/bin/$puzzle" ""
|
||||
install_icon "static-icons/${puzzle}.ico" "/usr/local/bin/$puzzle"
|
||||
done
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ configopts=(
|
||||
"--without-x"
|
||||
)
|
||||
launcher_name="Tux Racer"
|
||||
launcher_category="Games"
|
||||
launcher_category="&Games"
|
||||
launcher_command="/usr/local/bin/tuxracer"
|
||||
|
||||
# isnan() is a macro -> not linkable
|
||||
|
@ -11,7 +11,7 @@ configopts=(
|
||||
'--without-network'
|
||||
)
|
||||
launcher_name='vitetris'
|
||||
launcher_category='Games'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/tetris'
|
||||
launcher_run_in_terminal='true'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user