mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 20:17:46 +08:00
Improve and update recipe TODOs
This commit is contained in:
parent
f26cf175f3
commit
bcc7d2dcde
@ -1,7 +1,7 @@
|
||||
[source]
|
||||
git = "https://github.com/pop-os/cosmic-settings.git"
|
||||
branch = "master"
|
||||
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[source]
|
||||
git = "https://github.com/pop-os/cosmic-store.git"
|
||||
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
|
||||
@ -1,9 +1,5 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/dynamic-example.git"
|
||||
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo
|
||||
"""
|
||||
template = "cargo"
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
[source]
|
||||
git = "https://github.com/jackpot51/libretro-super.git"
|
||||
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
"zlib",
|
||||
]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
CORES=(
|
||||
snes9x
|
||||
)
|
||||
@ -18,7 +19,6 @@ popd
|
||||
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
||||
|
||||
export platform=Redox
|
||||
export STATIC_LINKING=1
|
||||
./libretro-build.sh "${CORES[@]}"
|
||||
./libretro-install.sh "${COOKBOOK_STAGE}/share/libretro"
|
||||
"""
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
#TODO: fix linking error
|
||||
[source]
|
||||
git = "https://github.com/jackpot51/retroarch.git"
|
||||
shallow_clone = true
|
||||
script = """
|
||||
./fetch-submodules.sh
|
||||
"""
|
||||
@ -18,24 +20,24 @@ script = """
|
||||
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
||||
|
||||
# For now, we will statically link with the snes9x libretro
|
||||
mkdir -pv "${COOKBOOK_SYSROOT}/lib"
|
||||
cp -v "${COOKBOOK_SYSROOT}/share/libretro/snes9x_libretro.a" "${COOKBOOK_SYSROOT}/lib/libretro.a"
|
||||
#mkdir -pv "${COOKBOOK_SYSROOT}/lib"
|
||||
#cp -v "${COOKBOOK_SYSROOT}/share/libretro/snes9x_libretro.a" "${COOKBOOK_SYSROOT}/lib/libretro.a"
|
||||
|
||||
COOKBOOK_CONFIGURE_FLAGS=(
|
||||
--host="${TARGET}"
|
||||
--prefix="/"
|
||||
--disable-builtinzlib # conflicts with zlib
|
||||
--disable-discord # does not link
|
||||
--disable-dylib
|
||||
--disable-dynamic
|
||||
#--disable-dylib
|
||||
#--disable-dynamic
|
||||
--disable-netplaydiscovery # missing ifaddrs.h
|
||||
--disable-thread_storage # crash in pthread_setspecific called by sthread_tls_set
|
||||
--disable-threads # prevents hang
|
||||
--enable-opengl
|
||||
#--enable-opengl # can't find header
|
||||
--enable-sdl2
|
||||
--enable-ssl
|
||||
--enable-zlib
|
||||
--with-libretro="-lretro -lstdc++ -lz"
|
||||
#--with-libretro="-lretro -lstdc++ -lz"
|
||||
)
|
||||
cookbook_configure
|
||||
"""
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
#TODO: fix rustc-serialize crate error, update?
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/2048-rs.git"
|
||||
#git_upstream = "https://github.com/pierrechevalier83/2048-rs.git"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/book.git"
|
||||
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/redox.git"
|
||||
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo
|
||||
|
||||
mkdir -pv "${COOKBOOK_STAGE}/home/user/cookbook"
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/website"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#TODO compile and test
|
||||
#TODO can't find make target
|
||||
[source]
|
||||
tar = "https://gitlab.com/OldManProgrammer/unix-tree/-/archive/2.3.2/unix-tree-2.3.2.tar.bz2"
|
||||
[build]
|
||||
|
||||
@ -10,5 +10,6 @@ mkdir -pv "${COOKBOOK_STAGE}"/usr/share/icons
|
||||
cp -rv "${COOKBOOK_SOURCE}"/res/io.github.Kartonrealista.cosmic-ext-2048.desktop "${COOKBOOK_STAGE}"/usr/share/applications
|
||||
cp -rv "${COOKBOOK_SOURCE}"/res/io.github.Kartonrealista.cosmic-ext-2048.metainfo.xml "${COOKBOOK_STAGE}"/usr/share/metainfo
|
||||
cp -rv "${COOKBOOK_SOURCE}"/res/icons/hicolor "${COOKBOOK_STAGE}"/usr/share/icons
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo
|
||||
"""
|
||||
|
||||
@ -4,7 +4,6 @@
|
||||
git = "https://github.com/tux4kids/tuxmath"
|
||||
shallow_clone = true
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
autotools_recursive_regenerate
|
||||
"""
|
||||
[build]
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#TODO compile and test
|
||||
#TODO compiled but not tested
|
||||
[source]
|
||||
git = "https://github.com/de-sh/twozero48"
|
||||
shallow_clone = true
|
||||
|
||||
@ -2,10 +2,8 @@
|
||||
[source]
|
||||
git = "https://github.com/matrixfrog/crossword"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
cookbook_cargo_packages crosstui
|
||||
"""
|
||||
template = "cargo"
|
||||
cargopackages = ["crosstui"]
|
||||
[package]
|
||||
dependencies = [
|
||||
"crosshare-data"
|
||||
|
||||
20
recipes/wip/libs/sdl/libx11-compat/recipe.toml
Normal file
20
recipes/wip/libs/sdl/libx11-compat/recipe.toml
Normal file
@ -0,0 +1,20 @@
|
||||
#TODO compile and test
|
||||
[source]
|
||||
git = "https://github.com/sysprog21/libx11-compat"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
"sdl2",
|
||||
"sdl2-ttf",
|
||||
"pixman",
|
||||
]
|
||||
script = """
|
||||
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
||||
DYNAMIC_INIT
|
||||
MAKEFLAGS=(
|
||||
SDL_BACKEND=sdl2
|
||||
)
|
||||
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" "${MAKEFLAGS[@]}" \
|
||||
"${COOKBOOK_MAKE}" install examples DESTDIR="${COOKBOOK_STAGE}/usr"
|
||||
"""
|
||||
Loading…
Reference in New Issue
Block a user