diff --git a/recipes/wip/emulators/cpu/unicorn/recipe.toml b/recipes/wip/emulators/cpu/unicorn/recipe.toml index 0897f7381..0e0977ccb 100644 --- a/recipes/wip/emulators/cpu/unicorn/recipe.toml +++ b/recipes/wip/emulators/cpu/unicorn/recipe.toml @@ -1,4 +1,5 @@ -#TODO maybe incomplete script, read https://github.com/unicorn-engine/unicorn/blob/master/docs/COMPILE.md +#TODO not compiled or tested +# build instructions: https://github.com/unicorn-engine/unicorn/blob/master/docs/COMPILE.md [source] git = "https://github.com/unicorn-engine/unicorn" rev = "e9c1c17f6df8f8f5da85ee80ad527452db5870ce" diff --git a/recipes/wip/emulators/game-console/nds/melonds/recipe.toml b/recipes/wip/emulators/game-console/nds/melonds/recipe.toml index d9d881938..58a0fc1f6 100644 --- a/recipes/wip/emulators/game-console/nds/melonds/recipe.toml +++ b/recipes/wip/emulators/game-console/nds/melonds/recipe.toml @@ -1,5 +1,5 @@ -#TODO maybe incomplete script, see https://github.com/melonDS-emu/melonDS#linux -#TODO make all dependencies work +#TODO not compiled or tested yet +# build instructions: https://github.com/melonDS-emu/melonDS#linux [source] git = "https://github.com/melonDS-emu/melonDS" rev = "430de6b2702bb93faa8c2004aff3fbd084db4a1e" diff --git a/recipes/wip/emulators/game-console/nintendo/dolphin-emu/recipe.toml b/recipes/wip/emulators/game-console/nintendo/dolphin-emu/recipe.toml index 67548418d..4a21189ab 100644 --- a/recipes/wip/emulators/game-console/nintendo/dolphin-emu/recipe.toml +++ b/recipes/wip/emulators/game-console/nintendo/dolphin-emu/recipe.toml @@ -1,6 +1,6 @@ -#TODO probably wrong script, see https://github.com/dolphin-emu/dolphin/wiki/Building-for-Linux +#TODO not compiled or tested yet +# build instructions: https://github.com/dolphin-emu/dolphin/wiki/Building-for-Linux #TODO probably missing dependencies -#TODO make all dependencies work [source] git = "https://github.com/dolphin-emu/dolphin" [build] diff --git a/recipes/wip/emulators/game-console/ps1/duckstation/recipe.toml b/recipes/wip/emulators/game-console/ps1/duckstation/recipe.toml index 238e89df3..aaa892f86 100644 --- a/recipes/wip/emulators/game-console/ps1/duckstation/recipe.toml +++ b/recipes/wip/emulators/game-console/ps1/duckstation/recipe.toml @@ -1,29 +1,13 @@ -#TODO probably wrong script, see https://github.com/stenzek/duckstation#linux-1 +#TODO not compiled or tested yet +# build instructions: https://github.com/stenzek/duckstation#linux-1 #TODO make qt6 work [source] tar = "https://github.com/stenzek/duckstation" [build] -template = "custom" +template = "cmake" dependencies = [ "sdl2", "qt6-base", "qt6-svg", "qt6-tools", ] -script = """ -DYNAMIC_INIT -COOKBOOK_CONFIGURE="cmake" -COOKBOOK_CONFIGURE_FLAGS=( - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CROSSCOMPILING=True - -DCMAKE_CXX_COMPILER="${TARGET}-g++" - -DCMAKE_C_COMPILER="${TARGET}-gcc" - -DCMAKE_INSTALL_PREFIX="/" - -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" - -DCMAKE_SYSTEM_NAME=Generic - -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" - -DCMAKE_VERBOSE_MAKEFILE=On -"${COOKBOOK_SOURCE}" -) -cookbook_configure -""" diff --git a/recipes/wip/emulators/game-console/ps2/pcsx2/recipe.toml b/recipes/wip/emulators/game-console/ps2/pcsx2/recipe.toml index 31166adb9..e974c3587 100644 --- a/recipes/wip/emulators/game-console/ps2/pcsx2/recipe.toml +++ b/recipes/wip/emulators/game-console/ps2/pcsx2/recipe.toml @@ -1,11 +1,12 @@ -#TODO probably wrong script, see https://github.com/PCSX2/pcsx2/wiki/10-Building-on-Linux +#TODO not compiled or tested yet +# build instructions: https://github.com/PCSX2/pcsx2/wiki/10-Building-on-Linux #TODO probably need patches on submodules #TODO determine dependencies - https://aur.archlinux.org/packages/pcsx2-git #TODO make all dependencies work [source] git = "https://github.com/PCSX2/pcsx2.git" [build] -template = "custom" +template = "cmake" dependencies = [ "sdl2", "xz", @@ -23,20 +24,3 @@ dependencies = [ "libxml2", "ffmpeg6", ] -script = """ -DYNAMIC_INIT - COOKBOOK_CONFIGURE="cmake" - COOKBOOK_CONFIGURE_FLAGS=( - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CROSSCOMPILING=True - -DCMAKE_CXX_COMPILER="${TARGET}-g++" - -DCMAKE_C_COMPILER="${TARGET}-gcc" - -DCMAKE_INSTALL_PREFIX="/" - -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" - -DCMAKE_SYSTEM_NAME=Generic - -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" - -DCMAKE_VERBOSE_MAKEFILE=On -"${COOKBOOK_SOURCE}" -) -cookbook_configure -""" diff --git a/recipes/wip/emulators/game-console/ps2/play/recipe.toml b/recipes/wip/emulators/game-console/ps2/play/recipe.toml index 58de310ac..b65ade643 100644 --- a/recipes/wip/emulators/game-console/ps2/play/recipe.toml +++ b/recipes/wip/emulators/game-console/ps2/play/recipe.toml @@ -3,7 +3,7 @@ [source] git = "https://github.com/jpd002/Play-" [build] -template = "custom" +template = "cmake" dependencies = [ "openal", "libevdev", @@ -12,20 +12,3 @@ dependencies = [ "qt5-x11extras", "sqlite3", ] -script = """ -DYNAMIC_INIT -COOKBOOK_CONFIGURE="cmake" -COOKBOOK_CONFIGURE_FLAGS=( - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CROSSCOMPILING=True - -DCMAKE_CXX_COMPILER="${TARGET}-g++" - -DCMAKE_C_COMPILER="${TARGET}-gcc" - -DCMAKE_INSTALL_PREFIX="/" - -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" - -DCMAKE_SYSTEM_NAME=Generic - -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" - -DCMAKE_VERBOSE_MAKEFILE=On -"${COOKBOOK_SOURCE}" -) -cookbook_configure -""" diff --git a/recipes/wip/emulators/game-console/ps3/rpcs3/recipe.toml b/recipes/wip/emulators/game-console/ps3/rpcs3/recipe.toml index cf3994a9f..1dee01cb5 100644 --- a/recipes/wip/emulators/game-console/ps3/rpcs3/recipe.toml +++ b/recipes/wip/emulators/game-console/ps3/rpcs3/recipe.toml @@ -1,10 +1,22 @@ -#TODO finish script, see https://github.com/RPCS3/rpcs3/blob/master/BUILDING.md#linux-1 +#TODO not compiled or tested yet #TODO missing dependencies +# build instructions: https://github.com/RPCS3/rpcs3/blob/master/BUILDING.md#linux-1 # customization - https://wiki.rpcs3.net/index.php?title=Help:Building_RPCS3#CMake_Build_Options [source] git = "https://github.com/RPCS3/rpcs3" [build] -template = "custom" +template = "cmake" +cmakeflags = [ + "-DUSE_NATIVE_INSTRUCTIONS=OFF", + "-DWITH_LLVM=OFF", + "-DUSE_ALSA=OFF", + "-DUSE_PULSE=OFF", + "-DUSE_LIBEVDEV=OFF", + "-DUSE_DISCORD_RPC=OFF", + "-DBUILD_LLVM_SUBMODULE=OFF", + "-DUSE_SYSTEM_FFMPEG=ON", + "-DUSE_VULKAN=OFF", +] dependencies = [ "mesa-x11", "qt6-base", @@ -22,25 +34,3 @@ dependencies = [ "pulseaudio", "ffmpeg6", ] -script = """ -DYNAMIC_INIT - COOKBOOK_CONFIGURE="cmake" - COOKBOOK_CONFIGURE_FLAGS=( - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CROSSCOMPILING=True - -DCMAKE_CXX_COMPILER="${TARGET}-g++" - -DCMAKE_C_COMPILER="${TARGET}-gcc" - -DCMAKE_INSTALL_PREFIX="/" - -DUSE_NATIVE_INSTRUCTIONS=OFF - -DWITH_LLVM=OFF - -DUSE_ALSA=OFF - -DUSE_PULSE=OFF - -DUSE_LIBEVDEV=OFF - -DUSE_DISCORD_RPC=OFF - -DBUILD_LLVM_SUBMODULE=OFF - -DUSE_SYSTEM_FFMPEG=ON - -DUSE_VULKAN=OFF -"${COOKBOOK_SOURCE}" -) -cookbook_configure -""" \ No newline at end of file diff --git a/recipes/wip/emulators/game-console/ps4/obliteration/recipe.toml b/recipes/wip/emulators/game-console/ps4/obliteration/recipe.toml index 787704512..7a361a3c9 100644 --- a/recipes/wip/emulators/game-console/ps4/obliteration/recipe.toml +++ b/recipes/wip/emulators/game-console/ps4/obliteration/recipe.toml @@ -1,27 +1,5 @@ -#TODO maybe incomplete script, see https://github.com/obhq/obliteration#configure-build-system -#TODO probably missing dependencies -#TODO make qt6 work +#TODO missing script, see: https://github.com/obhq/obliteration/blob/main/docs/building.md [source] git = "https://github.com/obhq/obliteration" [build] template = "custom" -dependencies = [ - "qt6-base", -] -script = """ -DYNAMIC_INIT -COOKBOOK_CONFIGURE="cmake" -COOKBOOK_CONFIGURE_FLAGS=( - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CROSSCOMPILING=True - -DCMAKE_CXX_COMPILER="${TARGET}-g++" - -DCMAKE_C_COMPILER="${TARGET}-gcc" - -DCMAKE_INSTALL_PREFIX="/" - -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" - -DCMAKE_SYSTEM_NAME=Generic - -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" - -DCMAKE_VERBOSE_MAKEFILE=On -"${COOKBOOK_SOURCE}" -) -cookbook_configure -""" diff --git a/recipes/wip/emulators/game-console/ps4/shadPS4/recipe.toml b/recipes/wip/emulators/game-console/ps4/shadPS4/recipe.toml index ed53ad0c3..d90202479 100644 --- a/recipes/wip/emulators/game-console/ps4/shadPS4/recipe.toml +++ b/recipes/wip/emulators/game-console/ps4/shadPS4/recipe.toml @@ -1,10 +1,13 @@ -#TODO maybe incomplete script for cmake +#TODO not compiled or tested #TODO missing dependencies # build instructions - https://github.com/shadps4-emu/shadPS4/blob/main/documents/building-linux.md [source] git = "https://github.com/shadps4-emu/shadPS4" [build] -template = "custom" +template = "cmake" +cmakeflags = [ + "-DENABLE_QT_GUI=ON" +] dependencies = [ "pulseaudio", "openal", @@ -18,21 +21,3 @@ dependencies = [ "qt6-multimedia", "libvulkan", ] -script = """ -DYNAMIC_INIT -COOKBOOK_CONFIGURE="cmake" -COOKBOOK_CONFIGURE_FLAGS=( - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CROSSCOMPILING=True - -DCMAKE_CXX_COMPILER="${TARGET}-g++" - -DCMAKE_C_COMPILER="${TARGET}-gcc" - -DCMAKE_INSTALL_PREFIX="/" - -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" - -DCMAKE_SYSTEM_NAME=Generic - -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" - -DCMAKE_VERBOSE_MAKEFILE=On - -DENABLE_QT_GUI=ON -"${COOKBOOK_SOURCE}" -) -cookbook_configure -""" diff --git a/recipes/wip/emulators/game-console/psp/ppsspp/recipe.toml b/recipes/wip/emulators/game-console/psp/ppsspp/recipe.toml index 8d1a4d79b..b8d6a00ca 100644 --- a/recipes/wip/emulators/game-console/psp/ppsspp/recipe.toml +++ b/recipes/wip/emulators/game-console/psp/ppsspp/recipe.toml @@ -1,33 +1,13 @@ #TODO not compiled or tested yet +# build instructions: https://github.com/hrydgard/ppsspp/wiki/Build-instructions +#git = "https://github.com/jackpot51/ppsspp" # wip port to orbital [source] -git = "https://github.com/jackpot51/ppsspp" - +git = "https://github.com/hrydgard/ppsspp" [build] -template = "custom" -dependencies = [ - "liborbital", - "llvm18", - "mesa", - "mesa-glu", - "sdl2", - "zlib", - "glew", -] -script = """ -DYNAMIC_INIT -COOKBOOK_CONFIGURE="cmake" -COOKBOOK_CONFIGURE_FLAGS=( - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CROSSCOMPILING=True - -DCMAKE_CXX_COMPILER="${TARGET}-g++" - -DCMAKE_C_COMPILER="${TARGET}-gcc" +template = "cmake" +cmakeflags = [ -DCMAKE_C_FLAGS="-I${COOKBOOK_SYSROOT}/include -I${COOKBOOK_SYSROOT}/include/SDL2" -DCMAKE_CXX_FLAGS="-I${COOKBOOK_SYSROOT}/include -I${COOKBOOK_SYSROOT}/include/SDL2" - -DCMAKE_INSTALL_PREFIX="/" - -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" - -DCMAKE_SYSTEM_NAME=Generic - -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" - -DCMAKE_VERBOSE_MAKEFILE=On -DOPENGL_opengl_LIBRARY="/dev/null" -DOPENGL_glx_LIBRARY="/dev/null" -DUSE_DISCORD=OFF @@ -39,7 +19,16 @@ COOKBOOK_CONFIGURE_FLAGS=( -DUSING_GLES2=OFF -DUSING_X11_VULKAN=OFF -DUNIX=ON - "${COOKBOOK_SOURCE}" -) -cookbook_configure -""" +] +dependencies = [ + #"liborbital", + "llvm18", + "mesa", + "mesa-glu", + "sdl2", + "sdl2-ttf", + "zlib", + "glew", + "fontconfig", + "curl", +] diff --git a/recipes/wip/emulators/game-console/psvita/vita3k/recipe.toml b/recipes/wip/emulators/game-console/psvita/vita3k/recipe.toml index efdc97f54..65de26d1e 100644 --- a/recipes/wip/emulators/game-console/psvita/vita3k/recipe.toml +++ b/recipes/wip/emulators/game-console/psvita/vita3k/recipe.toml @@ -1,27 +1,11 @@ -#TODO probalby wrong script, see https://github.com/Vita3K/Vita3K/blob/master/building.md#linux +#TODO not compiled or tested yet +# build instructions: https://github.com/Vita3K/Vita3K/blob/master/building.md#linux [source] git = "https://github.com/Vita3K/Vita3K" [build] -template = "custom" +template = "cmake" dependencies = [ "sdl2", "gtk3", "openssl1", ] -script = """ -DYNAMIC_INIT -COOKBOOK_CONFIGURE="cmake" -COOKBOOK_CONFIGURE_FLAGS=( - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CROSSCOMPILING=True - -DCMAKE_CXX_COMPILER="${TARGET}-g++" - -DCMAKE_C_COMPILER="${TARGET}-gcc" - -DCMAKE_INSTALL_PREFIX="/" - -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" - -DCMAKE_SYSTEM_NAME=Generic - -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" - -DCMAKE_VERBOSE_MAKEFILE=On -"${COOKBOOK_SOURCE}" -) -cookbook_configure -""" diff --git a/recipes/wip/emulators/game-console/sega/uoyabause/recipe.toml b/recipes/wip/emulators/game-console/sega/uoyabause/recipe.toml index 2eb3b900a..f5d3c5c69 100644 --- a/recipes/wip/emulators/game-console/sega/uoyabause/recipe.toml +++ b/recipes/wip/emulators/game-console/sega/uoyabause/recipe.toml @@ -1,27 +1,13 @@ -#TODO maybe incomplete script, see https://github.com/devmiyax/yabause/blob/master/yabause/README.LIN#L77 +#TODO not compiled or tested yet +# build instructions: https://github.com/devmiyax/yabause/blob/master/yabause/README.LIN#L77 #TODO make gtk2 work [source] git = "https://github.com/devmiyax/yabause" [build] -template = "custom" +template = "cmake" dependencies = [ "gtk2", "sdl2", "mesa", "gtkglext", ] -script = """ -COOKBOOK_CONFIGURE="cmake" -COOKBOOK_CONFIGURE_FLAGS=( - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" - -DCMAKE_INSTALL_PREFIX="/" - -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" - -DCMAKE_SYSTEM_NAME=Generic - -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" - -DCMAKE_VERBOSE_MAKEFILE=On -"${COOKBOOK_SOURCE}" -) -cookbook_configure -""" diff --git a/recipes/wip/emulators/game-console/snes/snes9x/recipe.toml b/recipes/wip/emulators/game-console/snes/snes9x/recipe.toml index a44ada03f..a00eedcb8 100644 --- a/recipes/wip/emulators/game-console/snes/snes9x/recipe.toml +++ b/recipes/wip/emulators/game-console/snes/snes9x/recipe.toml @@ -1,10 +1,10 @@ -#TODO probably wrong script, see https://github.com/snes9xgit/snes9x/wiki/Compiling -#TODO make gtk3 work +#TODO not compiled or tested +# build instructions: https://github.com/snes9xgit/snes9x/wiki/Compiling [source] git = "https://github.com/snes9xgit/snes9x" rev = "8b82d487937d9ea39f7229d280c6f6686c415fe7" [build] -template = "custom" +template = "cmake" dependencies = [ "sdl2", "gtk3mm", @@ -13,18 +13,3 @@ dependencies = [ "libx11", "libepoxy", ] -script = """ -COOKBOOK_CONFIGURE="cmake" -COOKBOOK_CONFIGURE_FLAGS=( - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" - -DCMAKE_INSTALL_PREFIX="/" - -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" - -DCMAKE_SYSTEM_NAME=Generic - -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" - -DCMAKE_VERBOSE_MAKEFILE=On -"${COOKBOOK_SOURCE}" -) -cookbook_configure -"""