mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 22:04:19 +08:00
Update and enable dynamic linking in some recipes
This commit is contained in:
parent
37247080fa
commit
f8f0a4361a
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -7,7 +7,7 @@ template = "custom"
|
||||
dependencies = [
|
||||
"gtk3",
|
||||
"sdl2",
|
||||
"mesa",
|
||||
"mesa-x11",
|
||||
"lz4",
|
||||
"libunwind",
|
||||
"libpthread-stubs",
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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+=(
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user