Improve recipes

This commit is contained in:
Ribbon 2025-11-16 08:57:03 -03:00
parent b82d8f992d
commit a8050a7382
17 changed files with 125 additions and 90 deletions

View File

@ -0,0 +1,7 @@
#TODO not compiled or tested
# lacking build instructions
[source]
git = "https://github.com/knik0/faad2"
rev = "2.11.2"
[build]
template = "cmake"

View File

@ -0,0 +1,13 @@
#TODO not compiled or tested
#TODO determine minimum dependencies from cmake log
# build instructions - https://github.com/azahar-emu/azahar/wiki/Building-From-Source#linux
[source]
git = "https://github.com/azahar-emu/azahar"
rev = "2123.3"
shallow_clone = true
[build]
template = "cmake"
dependencies = [
"qt6-base",
"qt6-multimedia",
]

View File

@ -1,20 +1,22 @@
#TODO not compiled or tested yet
#TODO discover minimum dependencies from cmake log
# build instructions: https://github.com/dolphin-emu/dolphin/wiki/Building-for-Linux
#TODO probably missing dependencies
[source]
git = "https://github.com/dolphin-emu/dolphin"
rev = "71e15c2875f36458c8f29ee160f01606967bcd13"
shallow_clone = true
[build]
template = "cmake"
dependencies = [
"ffmpeg6",
"libevdev",
"libusb",
"pango",
"cairo",
#"ffmpeg6",
#"libevdev",
#"libusb",
#"pango",
#"cairo",
"qt6-base",
"qt6-svg",
"mesa-x11",
"curl",
"libvulkan",
"openal",
#"mesa-x11",
#"curl",
#"libvulkan",
#"openal",
]

View File

@ -1,6 +1,8 @@
#TODO missing script for "make", see https://github.com/finalburnneo/FBNeo/blob/master/README-SDL.md#sdl2
[source]
git = "https://github.com/finalburnneo/FBNeo"
rev = "9cc496e02a8d1588e1226b648852488a491f1b75"
shallow_clone = true
[build]
template = "custom"
dependencies = [

View File

@ -2,7 +2,11 @@
[source]
git = "https://github.com/gopher64/gopher64"
[build]
template = "cargo"
template = "custom"
dependencies = [
"sdl2",
]
script = """
DYNAMIC_INIT
cookbook_cargo
"""

View File

@ -7,5 +7,6 @@ dependencies = [
"sdl2",
]
script = """
DYNAMIC_INIT
cookbook_cargo_packages jgenesis-cli
"""

View File

@ -1,15 +0,0 @@
#TODO not compiled or tested
# build instructions - https://github.com/Lime3DS/Lime3DS/wiki/Building-From-Source#linux
[source]
git = "https://github.com/Lime3DS/Lime3DS"
[build]
template = "cmake"
dependencies = [
"sdl2",
"qt6-base",
"qt6-multimedia",
"portaudio",
"libx11",
"libxext",
"pipewire",
]

View File

@ -1,8 +1,8 @@
#TODO missing script for "make", see https://docs.mamedev.org/initialsetup/compilingmame.html
#TODO make qt5 work
#TODO missing script for gnu make: https://docs.mamedev.org/initialsetup/compilingmame.html
[source]
git = "https://github.com/mamedev/mame"
rev = "ca50094e8d5467aed7a18c718cdff8903e1bfe27"
rev = "mame0282"
shallow_clone = true
[build]
template = "custom"
dependencies = [

View File

@ -1,17 +1,20 @@
#TODO not compiled or tested yet
# build instructions: https://github.com/melonDS-emu/melonDS#linux
# build instructions: https://github.com/melonDS-emu/melonDS/blob/master/BUILD.md#linux
[source]
git = "https://github.com/melonDS-emu/melonDS"
rev = "430de6b2702bb93faa8c2004aff3fbd084db4a1e"
rev = "1.0"
shallow_clone = true
[build]
template = "cmake"
dependencies = [
"curl",
"libpcap",
"libenet",
"sdl2",
"qt5-base",
"qt5-multimedia",
"libslirp",
"qt6-base",
"qt6-multimedia",
"qt6-svg",
"libarchive",
"zstd",
"faad2",
]

View File

@ -1,26 +1,29 @@
#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
#TODO not compiled or tested
# build instructions: https://pcsx2.net/docs/advanced/building#building-on-linux
[source]
git = "https://github.com/PCSX2/pcsx2.git"
git = "https://github.com/PCSX2/pcsx2"
rev = "2.4.x"
shallow_clone = true
[build]
template = "cmake"
dependencies = [
"sdl2",
"xz",
"libpng",
"qt6-base",
"qt6-svg",
"mesa-x11",
"libaio",
"harfbuzz",
"libpcap",
"pipewire",
"libsamplerate",
"soundtouch",
"zlib",
"libxml2",
"ffmpeg6",
cmakeflags = [
"-DCMAKE_CXX_COMPILER_LAUNCHER=ccache",
"-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON",
]
# dependencies = [
# "sdl2",
# "xz",
# "libpng",
# "qt6-base",
# "qt6-svg",
# "mesa-x11",
# "libaio",
# "harfbuzz",
# "libpcap",
# "pipewire",
# "libsamplerate",
# "soundtouch",
# "zlib",
# "libxml2",
# "ffmpeg6",
# ]

View File

@ -2,24 +2,9 @@
# build instructions: https://github.com/hrydgard/ppsspp/wiki/Build-instructions
#git = "https://github.com/jackpot51/ppsspp" # wip orbital port
[source]
git = "https://github.com/hrydgard/ppsspp"
tar = "https://github.com/hrydgard/ppsspp/releases/download/v1.19.3/ppsspp-1.19.3.tar.xz"
[build]
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"
-DOPENGL_opengl_LIBRARY="/dev/null"
-DOPENGL_glx_LIBRARY="/dev/null"
-DUSE_DISCORD=OFF
-DUSE_FFMPEG=OFF
-DUSE_MINIUPNPC=OFF
-DUSE_SYSTEM_LIBSDL2=ON
-DUSING_EGL=OFF
-DUSING_FBDEV=OFF
-DUSING_GLES2=OFF
-DUSING_X11_VULKAN=OFF
-DUNIX=ON
]
template = "custom"
dependencies = [
#"liborbital",
"llvm18",
@ -32,3 +17,22 @@ dependencies = [
"fontconfig",
"curl",
]
script = """
DYNAMIC_INIT
COOKBOOK_CMAKE_FLAGS+=(
-DCMAKE_C_FLAGS="-I"${COOKBOOK_SYSROOT}/include" -I"${COOKBOOK_SYSROOT}/include/SDL2""
-DCMAKE_CXX_FLAGS="-I"${COOKBOOK_SYSROOT}/include" -I"${COOKBOOK_SYSROOT}/include/SDL2""
-DOPENGL_opengl_LIBRARY="/dev/null"
-DOPENGL_glx_LIBRARY="/dev/null"
-DUSE_DISCORD=OFF
-DUSE_FFMPEG=OFF
-DUSE_MINIUPNPC=OFF
-DUSE_SYSTEM_LIBSDL2=ON
-DUSING_EGL=OFF
-DUSING_FBDEV=OFF
-DUSING_GLES2=OFF
-DUSING_X11_VULKAN=OFF
-DUNIX=ON
)
cookbook_cmake
"""

View File

@ -1,9 +1,11 @@
#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
#TODO determine minimum dependencies from cmake log
# build instructions: https://github.com/RPCS3/rpcs3/blob/master/BUILDING.md
# customization: https://wiki.rpcs3.net/index.php?title=Help:Building_RPCS3#CMake_Build_Options
[source]
git = "https://github.com/RPCS3/rpcs3"
rev = "db8437b01cf24ba1146cf7d22e1be02202cc98f4"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
@ -18,19 +20,20 @@ cmakeflags = [
"-DUSE_VULKAN=OFF",
]
dependencies = [
"mesa-x11",
#"mesa-x11",
"qt6-base",
"qt6-multimedia",
"qt6-svg",
"sdl2",
"eudev",
"glew",
"openal",
"zlib",
"libpng",
"qt6-declarative",
#"sdl2",
#"eudev",
#"glew",
#"openal",
#"zlib",
#"libpng",
#"libevdev",
"libedit",
#"libedit",
#"libvulkan",
"pulseaudio",
"ffmpeg6",
#"pulseaudio",
#"ffmpeg6",
]

View File

@ -0,0 +1,8 @@
#TODO not compiled or tested
# build instructions: https://github.com/KhronosGroup/glslang#building-cmake
[source]
git = "https://github.com/KhronosGroup/glslang"
rev = "16.0.0"
shallow_clone = true
[build]
template = "cmake"

View File

@ -1,6 +1,6 @@
#TODO not compiled or tested
#TODO determine dependencies
[source]
tar = "https://download.qt.io/official_releases/qt/6.6/6.6.1/submodules/qtbase-everywhere-src-6.6.1.tar.xz"
tar = "https://download.qt.io/official_releases/qt/6.10/6.10.0/submodules/qtbase-everywhere-src-6.10.0.tar.xz"
[build]
template = "configure"

View File

@ -1,5 +1,5 @@
#TODO not compiled or tested
[source]
tar = "https://download.qt.io/official_releases/qt/6.6/6.6.1/submodules/qtdeclarative-everywhere-src-6.6.1.tar.xz"
tar = "https://download.qt.io/official_releases/qt/6.10/6.10.0/submodules/qtdeclarative-everywhere-src-6.10.0.tar.xz"
[build]
template = "configure"

View File

@ -1,5 +1,5 @@
#TODO not compiled or tested
[source]
tar = "https://download.qt.io/official_releases/qt/6.6/6.6.1/submodules/qtmultimedia-everywhere-src-6.6.1.tar.xz"
tar = "https://download.qt.io/official_releases/qt/6.10/6.10.0/submodules/qtmultimedia-everywhere-src-6.10.0.tar.xz"
[build]
template = "configure"

View File

@ -1,5 +1,5 @@
#TODO not compiled or tested
[source]
tar = "https://download.qt.io/official_releases/qt/6.6/6.6.1/submodules/qtsvg-everywhere-src-6.6.1.tar.xz"
tar = "https://download.qt.io/official_releases/qt/6.10/6.10.0/submodules/qtsvg-everywhere-src-6.10.0.tar.xz"
[build]
template = "configure"