Fix more recipes and update TODOs

This commit is contained in:
Ribbon 2026-07-15 18:59:11 -03:00
parent a70aca7d9a
commit e969f7662e
12 changed files with 39 additions and 28 deletions

View File

@ -4,6 +4,7 @@ git = "https://github.com/slint-ui/slint"
shallow_clone = true
[build]
template = "cargo"
cargopath = "examples"
cargopackages = [
"gallery",
"energy-monitor",
@ -17,3 +18,4 @@ cargopackages = [
"virtual_keyboard",
"7guis",
]
dependencies = ["libwayland"]

View File

@ -4,4 +4,15 @@ git = "https://github.com/gold-silver-copper/soft_ratatui"
shallow_clone = true
[build]
template = "cargo"
cargopackages = ["egui_colors_example"]
cargoexamples = [
"cosmic",
"embedded",
"ttf",
]
cargopackages = [
"soft-ratatui-egui-colors",
"soft-ratatui-bevy-cube",
"soft-ratatui-bevy-cube-colors",
"soft-ratatui-bevy-sprite",
"soft-ratatui-bevy-demo",
]

View File

@ -1,5 +1,4 @@
#TODO not compiled or tested
#TODO add condition script for multiarch compilation
#TODO linking error
# build instructions: https://github.com/p-e-w/ternimal#building
[source]
git = "https://github.com/p-e-w/ternimal"
@ -9,7 +8,7 @@ template = "custom"
script = """
DYNAMIC_INIT
cp -v "${COOKBOOK_SOURCE}"/ternimal.rs "${COOKBOOK_BUILD}"
rustc -O "${COOKBOOK_BUILD}"/ternimal.rs --target x86_64-unknown-redox
rustc -O "${COOKBOOK_BUILD}"/ternimal.rs --target ${TARGET}
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
cp -v "${COOKBOOK_BUILD}"/ternimal "${COOKBOOK_STAGE}/usr/bin"
"""

View File

@ -1,4 +1,4 @@
#TODO discover minimum dependencies from configure log
#TODO can't recognize --enable-shared and --disable-static flags
[source]
tar = "https://www.jwz.org/xscreensaver/xscreensaver-6.15.tar.gz"
[build]

View File

@ -1,4 +1,4 @@
#TODO not compiled or tested
#TODO can't find ffmpeg
#TODO missing dependencies
# build instructions: https://github.com/mpv-player/mpv#compilation
[source]

View File

@ -6,4 +6,5 @@ tar = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-0.8.7+release.aut
template = "configure"
dependencies = [
"sdl2",
"mpg123",
]

View File

@ -1,4 +1,4 @@
#TODO compile and test
#TODO probably can't find timerfd header
[source]
tar = "https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-1.0.5.tar.gz"
[build]

View File

@ -1,4 +1,4 @@
#TODO not compiled or tested
#TODO configure miniupnpc
#TODO discover minimum dependencies from cmake log
# build instructions: https://github.com/transmission/transmission/blob/4.0.x/docs/Building-Transmission.md#on-unix
# build options: https://github.com/transmission/transmission/blob/4.0.x/CMakeLists.txt#L45
@ -7,12 +7,16 @@ tar = "https://github.com/transmission/transmission/releases/download/4.0.6/tran
[build]
template = "cmake"
cmakeflags = [
"-DENABLE_GTK=OFF",
"-DENABLE_QT=OFF",
"-DENABLE_CLI=ON",
"-DINSTALL_WEB=OFF",
"-DENABLE_TESTS=OFF",
"-DINSTALL_DOC=OFF",
"-DUSE_SYSTEM_DEFAULT=ON",
]
#dependencies = [
dependencies = [
#"openssl3",
#"curl",
#]
"curl",
"miniupnpc",
]

View File

@ -1,13 +1,10 @@
#TODO can't detect the configure script
#TODO try to open a configure script in a sub-directory but can't find
[source]
git = "https://github.com/cmus/cmus"
rev = "ade6e2a7253d7a256e87fdac3da17c9158e6700e"
rev = "v2.12.0"
shallow_clone = true
[build]
template = "custom"
template = "configure"
dependencies = [
"ncursesw",
]
script = """
export CPPFLAGS="-I${COOKBOOK_SYSROOT}/include/ncurses"
cookbook_configure
"""

View File

@ -1,6 +1,7 @@
[source]
git = "https://github.com/pop-os/cosmic-player.git"
branch = "master"
shallow_clone = true
[build]
template = "custom"

View File

@ -1,12 +1,8 @@
#TODO not compiled or tested
#TODO update ahash crate version
[source]
git = "https://github.com/hinto-janai/festival"
shallow_clone = true
[build]
template = "custom"
#dependencies = [
# "dbus",
#]
script = """
#DYNAMIC_INIT # if dbus is needed
cookbook_cargo_packages festival-gui
"""
template = "cargo"
cargopackages = ["festival-gui"]
#dependencies = ["dbus"]

View File

@ -1,4 +1,4 @@
#TODO not compiled or tested
#TODO linking error
[source]
git = "https://github.com/maxcurzi/tplay"
[build]