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 2700cf713..d99ca0044 100644 --- a/recipes/wip/emulators/game-console/nintendo/dolphin-emu/recipe.toml +++ b/recipes/wip/emulators/game-console/nintendo/dolphin-emu/recipe.toml @@ -13,17 +13,19 @@ dependencies = [ "cairo", "qt6-base", "qt6-svg", - "mesa", + "mesa-x11", "curl", "libvulkan", "openal", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/emulators/game-console/nintendo/lime3ds/recipe.toml b/recipes/wip/emulators/game-console/nintendo/lime3ds/recipe.toml index 773a72b30..a73772c3f 100644 --- a/recipes/wip/emulators/game-console/nintendo/lime3ds/recipe.toml +++ b/recipes/wip/emulators/game-console/nintendo/lime3ds/recipe.toml @@ -14,11 +14,13 @@ dependencies = [ "pipewire", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/emulators/game-console/ps1/duckstation/recipe.toml b/recipes/wip/emulators/game-console/ps1/duckstation/recipe.toml index dd6603e65..238e89df3 100644 --- a/recipes/wip/emulators/game-console/ps1/duckstation/recipe.toml +++ b/recipes/wip/emulators/game-console/ps1/duckstation/recipe.toml @@ -11,11 +11,13 @@ dependencies = [ "qt6-tools", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/emulators/game-console/ps2/pcsx2/recipe.toml b/recipes/wip/emulators/game-console/ps2/pcsx2/recipe.toml index c72c13f32..31166adb9 100644 --- a/recipes/wip/emulators/game-console/ps2/pcsx2/recipe.toml +++ b/recipes/wip/emulators/game-console/ps2/pcsx2/recipe.toml @@ -12,7 +12,7 @@ dependencies = [ "libpng", "qt6-base", "qt6-svg", - "mesa", + "mesa-x11", "libaio", "harfbuzz", "libpcap", @@ -24,11 +24,13 @@ dependencies = [ "ffmpeg6", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/emulators/game-console/ps2/play/recipe.toml b/recipes/wip/emulators/game-console/ps2/play/recipe.toml index b8e47b7ef..58de310ac 100644 --- a/recipes/wip/emulators/game-console/ps2/play/recipe.toml +++ b/recipes/wip/emulators/game-console/ps2/play/recipe.toml @@ -13,11 +13,13 @@ dependencies = [ "sqlite3", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/emulators/game-console/ps3/rpcs3/recipe.toml b/recipes/wip/emulators/game-console/ps3/rpcs3/recipe.toml index e5b282ba9..cf3994a9f 100644 --- a/recipes/wip/emulators/game-console/ps3/rpcs3/recipe.toml +++ b/recipes/wip/emulators/game-console/ps3/rpcs3/recipe.toml @@ -1,38 +1,45 @@ -#TODO probably wrong script, see https://github.com/RPCS3/rpcs3/blob/master/BUILDING.md#linux-1 -#TODO make all dependencies work +#TODO finish script, see https://github.com/RPCS3/rpcs3/blob/master/BUILDING.md#linux-1 +#TODO missing dependencies # customization - https://wiki.rpcs3.net/index.php?title=Help:Building_RPCS3#CMake_Build_Options [source] git = "https://github.com/RPCS3/rpcs3" [build] template = "custom" dependencies = [ - "mesa", - "qt5-base", + "mesa-x11", + "qt6-base", + "qt6-multimedia", + "qt6-svg", "sdl2", "eudev", "glew", "openal", "zlib", "libpng", - "libevdev", + #"libevdev", "libedit", - "libvulkan", + #"libvulkan", "pulseaudio", + "ffmpeg6", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -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_SYSTEM_LIBPNG=ON + -DUSE_VULKAN=OFF "${COOKBOOK_SOURCE}" ) cookbook_configure diff --git a/recipes/wip/emulators/game-console/ps4/obliteration/recipe.toml b/recipes/wip/emulators/game-console/ps4/obliteration/recipe.toml index e8b69d709..787704512 100644 --- a/recipes/wip/emulators/game-console/ps4/obliteration/recipe.toml +++ b/recipes/wip/emulators/game-console/ps4/obliteration/recipe.toml @@ -9,11 +9,13 @@ dependencies = [ "qt6-base", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/emulators/game-console/ps4/shadPS4/recipe.toml b/recipes/wip/emulators/game-console/ps4/shadPS4/recipe.toml index 2b1c631df..ed53ad0c3 100644 --- a/recipes/wip/emulators/game-console/ps4/shadPS4/recipe.toml +++ b/recipes/wip/emulators/game-console/ps4/shadPS4/recipe.toml @@ -19,11 +19,13 @@ dependencies = [ "libvulkan", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/emulators/game-console/psp/ppsspp/recipe.toml b/recipes/wip/emulators/game-console/psp/ppsspp/recipe.toml index 727ca584f..8d1a4d79b 100644 --- a/recipes/wip/emulators/game-console/psp/ppsspp/recipe.toml +++ b/recipes/wip/emulators/game-console/psp/ppsspp/recipe.toml @@ -1,4 +1,4 @@ -#TODO make glew work +#TODO not compiled or tested yet [source] git = "https://github.com/jackpot51/ppsspp" @@ -14,13 +14,15 @@ dependencies = [ "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" -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_EXE_LINKER_FLAGS="-L${COOKBOOK_SYSROOT}/lib -static" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/emulators/game-console/psvita/vita3k/recipe.toml b/recipes/wip/emulators/game-console/psvita/vita3k/recipe.toml index 6a3ada92a..efdc97f54 100644 --- a/recipes/wip/emulators/game-console/psvita/vita3k/recipe.toml +++ b/recipes/wip/emulators/game-console/psvita/vita3k/recipe.toml @@ -1,5 +1,4 @@ #TODO probalby wrong script, see https://github.com/Vita3K/Vita3K/blob/master/building.md#linux -#TODO make gtk3 work [source] git = "https://github.com/Vita3K/Vita3K" [build] @@ -10,11 +9,13 @@ dependencies = [ "openssl1", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/emulators/game-console/xbox360/xenia-canary/recipe.toml b/recipes/wip/emulators/game-console/xbox360/xenia-canary/recipe.toml index a4ef80b35..1cbd646d6 100644 --- a/recipes/wip/emulators/game-console/xbox360/xenia-canary/recipe.toml +++ b/recipes/wip/emulators/game-console/xbox360/xenia-canary/recipe.toml @@ -7,7 +7,7 @@ template = "custom" dependencies = [ "gtk3", "sdl2", - "mesa", + "mesa-x11", "lz4", "libunwind", "libpthread-stubs", diff --git a/recipes/wip/emulators/pc/darling/recipe.toml b/recipes/wip/emulators/pc/darling/recipe.toml index b5107e2fd..c6f74ba58 100644 --- a/recipes/wip/emulators/pc/darling/recipe.toml +++ b/recipes/wip/emulators/pc/darling/recipe.toml @@ -21,11 +21,13 @@ dependencies = [ "libxkbfile", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE="cmake" COOKBOOK_CONFIGURE_FLAGS=( -DCMAKE_BUILD_TYPE=Release -DCMAKE_CROSSCOMPILING=True - -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_CXX_COMPILER="${TARGET}-g++" + -DCMAKE_C_COMPILER="${TARGET}-gcc" -DCMAKE_INSTALL_PREFIX="/" -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" -DCMAKE_SYSTEM_NAME=Generic diff --git a/recipes/wip/emulators/windows/hangover/recipe.toml b/recipes/wip/emulators/windows/hangover/recipe.toml index d17af8490..a9c02800d 100644 --- a/recipes/wip/emulators/windows/hangover/recipe.toml +++ b/recipes/wip/emulators/windows/hangover/recipe.toml @@ -11,7 +11,7 @@ dependencies = [ "gnutls3", "gstreamer", "sdl2", - "mesa", + "mesa-x11", "libx11", "libxcomposite", "libxcursor", @@ -24,6 +24,7 @@ dependencies = [ "libxkbregistry", ] script = """ +DYNAMIC_INIT mkdir -p "${COOKBOOK_BUILD}"/wine/build cd "${COOKBOOK_BUILD}"/wine/build COOKBOOK_CONFIGURE_FLAGS+=( diff --git a/recipes/wip/emulators/windows/wine-stable/recipe.toml b/recipes/wip/emulators/windows/wine-stable/recipe.toml index 5be78d77b..1c4b3f70d 100644 --- a/recipes/wip/emulators/windows/wine-stable/recipe.toml +++ b/recipes/wip/emulators/windows/wine-stable/recipe.toml @@ -10,7 +10,7 @@ dependencies = [ "gnutls3", "gstreamer", "sdl2", - "mesa", + "mesa-x11", "libx11", "libxcomposite", "libxcursor", @@ -23,6 +23,7 @@ dependencies = [ "libxkbregistry", ] script = """ +DYNAMIC_INIT COOKBOOK_CONFIGURE_FLAGS+=( --enable-win64 --disable-kerberos