Add, improve, move and remove recipes

This commit is contained in:
Ribbon 2026-06-16 22:17:58 -03:00
parent 18724f2e39
commit 091573f3be
22 changed files with 186 additions and 43 deletions

View File

@ -0,0 +1,5 @@
#TODO compile and test
[source]
tar = "https://ftp.gnu.org/gnu/cpio/cpio-2.15.tar.bz2"
[build]
template = "configure"

View File

@ -0,0 +1,8 @@
#TODO add script for building: https://arduino.github.io/arduino-cli/1.5/CONTRIBUTING/#building-the-source-code
# does the go template can be used?
[source]
git = "https://github.com/arduino/arduino-cli"
rev = "v1.5.1"
shallow_clone = true
[build]
template = "custom"

View File

@ -0,0 +1,10 @@
#TODO compile and test
[source]
git = "https://github.com/esp-rs/espflash"
shallow_clone = true
[build]
template = "cargo"
cargopackages = [
"espflash",
"cargo-espflash",
]

View File

@ -0,0 +1,15 @@
#TODO add script for installation: https://docs.espressif.com/projects/esptool/en/latest/esp32/installation.html
[source]
git = "https://github.com/espressif/esptool"
rev = "v5.3.0"
shallow_clone = true
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}/home/user/esptool"
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/home/user/esptool"
"""
[package]
dependencies = [
"python312",
]

View File

@ -0,0 +1,14 @@
#TODO discover minimum dependencies from meson log
# build instructions: https://www.flashrom.org/dev_guide/building_from_source.html
[source]
git = "https://github.com/flashrom/flashrom"
rev = "v1.7.0"
shallow_clone = true
[build]
template = "meson"
mesonflags = [
"-Dtests=disabled",
"-Dbash-completion=disabled",
"-Dman-pages=disabled",
"-Ddocumentation=disabled",
]

View File

@ -0,0 +1,17 @@
#TODO determine minimum dependencies from meson log
# build instructions: https://gtkwave.github.io/gtkwave/install/unix_linux.html
[source]
tar = "https://gtkwave.sourceforge.net/gtkwave-gtk3-3.3.127.tar.gz"
[build]
template = "configure"
configureflags = [
"--enable-gtk3"
]
#dependencies = [
#"gtk3",
#"bzip2",
#"xz",
#"judy",
#"tcl",
#"tk",
#]

View File

@ -1,16 +0,0 @@
#TODO not compiled or tested
[source]
git = "https://github.com/libratbag/piper"
rev = "0.8"
shallow_clone = true
[build]
template = "meson"
mesonflags = [
"-Druntime-dependency-checks=false",
]
dependencies = [
"libratbag",
"gtk3",
"cairo",
"libevdev",
]

View File

@ -0,0 +1,14 @@
#TODO add script for gnu make: https://github.com/Arcachofo/SimulIDE-dev#building-simulide
# probably missing dependencies
[source]
git = "https://github.com/Arcachofo/SimulIDE-dev"
rev = "ed253d6612b1293a320d68d6e27968cd7e6523c4"
shallow_clone = true
[build]
template = "custom"
dependencies = [
"qt5-base",
"qt5-svg",
"qt5-multimedia",
"qt5-serialport",
]

View File

@ -0,0 +1,8 @@
#TODO compile and test
[source]
git = "https://gitlab.com/surfer-project/surfer"
shallow_clone = true
[build]
template = "cargo"
cargopackages = ["surfer"]
cargoflags = ["--no-default-features"]

View File

@ -0,0 +1,9 @@
#TODO compile and test
# quickthreads seems to be better than posix threads, does it's worth to port?
# build instructions: https://github.com/accellera-official/systemc/blob/main/INSTALL.md
[source]
git = "https://github.com/accellera-official/systemc"
rev = "3.0.2"
shallow_clone = true
[build]
template = "cmake"

View File

@ -0,0 +1,8 @@
#TODO discover minimum dependencies from configure log
# build instructions: https://verilator.org/guide/latest/install.html
[source]
git = "https://github.com/verilator/verilator"
rev = "v5.048"
shallow_clone = true
[build]
template = "configure"

View File

@ -6,6 +6,21 @@
tar = "https://inkscape.org/gallery/item/58914/inkscape-1.4.3.tar.xz" tar = "https://inkscape.org/gallery/item/58914/inkscape-1.4.3.tar.xz"
[build] [build]
template = "cmake" template = "cmake"
cmakeflags = [
"-DWITH_GNU_READLINE=OFF",
"-DENABLE_LCMS=OFF",
"-DWITH_SVG2=OFF",
"-DWITH_POPPLER=OFF",
"-DWITH_CAPYPDF=OFF",
"-DWITH_IMAGE_MAGICK=OFF",
"-DWITH_GRAPHICS_MAGICK=OFF",
"-DWITH_LIBCDR=OFF",
"-DWITH_LIBVISIO=OFF",
"-DWITH_LIBWPG=OFF",
"-DWITH_LIBSPELLING=OFF",
"-DWITH_GSOURCEVIEW=OFF",
"-DWITH_NLS=OFF",
]
# dependencies = [ # dependencies = [
# "boost", # "boost",
# "glib", # "glib",

View File

@ -10,6 +10,7 @@ template = "cmake"
cmakeflags = [ cmakeflags = [
"-DLIMIT_LONG_TESTS=OFF", "-DLIMIT_LONG_TESTS=OFF",
"-DENABLE_UPDATERS=OFF", "-DENABLE_UPDATERS=OFF",
"-DBUILD_WITH_QT6=ON",
] ]
# dependencies = [ # dependencies = [
# "gexiv2", # "gexiv2",

View File

@ -0,0 +1,10 @@
#TODO discover minimum dependencies from configure log
[source]
tar = "https://sourceforge.net/projects/tcl/files/Tcl/8.6.18/tk8.6.18-src.tar.gz"
[build]
template = "custom"
script = """
DYNAMIC_INIT
COOKBOOK_CONFIGURE="$COOKBOOK_SOURCE/unix/configure"
cookbook_configure
"""

View File

@ -1,20 +0,0 @@
#TODO not compiled or tested
[source]
git = "https://github.com/libratbag/libratbag"
rev = "v0.18"
shallow_clone = true
[build]
template = "meson"
mesonflags = [
"-Dtests=false",
"-Dlogind-provider=elogind",
"-Dsystemd=false",
]
dependencies = [
"elogind",
"eudev",
"libevdev",
"libunistring",
"json-glib",
"glib",
]

View File

@ -0,0 +1,15 @@
#TODO determine minimum dependencies from configure log
# build instructions: https://docs.rsyslog.com/doc/installation/install_from_source.html
[source]
tar = "https://www.rsyslog.com/files/download/rsyslog/rsyslog-8.2604.0.tar.gz"
[build]
template = "configure"
#dependencies = [
#"zlib",
#"json-c",
#"libgcrypt",
#"libuuid",
#"libestr",
#"liblognorm",
#"libfastjson",
#]

View File

@ -9,6 +9,8 @@ cmakeflags = [
"-DENABLE_UI=OFF", "-DENABLE_UI=OFF",
"-DENABLE_SCRIPTING=OFF", "-DENABLE_SCRIPTING=OFF",
"-DENABLE_HEVC=OFF", "-DENABLE_HEVC=OFF",
"-DENABLE_PULSEAUDIO=OFF",
"-DENABLE_WAYLAND=OFF",
] ]
# dependencies = [ # dependencies = [
# "boost", # "boost",
@ -27,7 +29,6 @@ cmakeflags = [
# "libva", # "libva",
# "qt5-base", # "qt5-base",
# "qt5-svg", # "qt5-svg",
# "eudev",
# "pciutils", # "pciutils",
# "libqrcodegenc", # "libqrcodegenc",
# "librist", # "librist",

View File

@ -1,26 +1,39 @@
#TODO not compiled or tested #TODO not compiled or tested
#TODO discover minimum dependencies from meson log #TODO discover minimum dependencies from meson log
# build instructions: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md#building-from-source # build instructions: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md#building-from-source
# freebsd has a shim to bypass linux dependencies: https://github.com/freebsd/freebsd-ports/blob/main/net-mgmt/networkmanager-shim/Makefile
[source] [source]
tar = "https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/releases/1.56.0/downloads/NetworkManager-1.56.0.tar.xz" tar = "https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/releases/1.56.0/downloads/NetworkManager-1.56.0.tar.xz"
[build] [build]
template = "meson" template = "meson"
mesonflags = [ mesonflags = [
"-Dsession_tracking=no", "-Dsession_tracking=no",
"-Dsuspend_resume=elogind", #"-Dsuspend_resume=consolekit", # maybe unnecessary
"-Dpolkit=false", "-Dpolkit=false",
"-Dselinux=false", "-Dselinux=false",
"-Dsystemd_journal=false", "-Dsystemd_journal=false",
"-Dsystemdsystemunitdir=disabled",
"-Dwifi=false", "-Dwifi=false",
"-Dmodem_manager=false",
"-Dnm_cloud_setup=false",
"-Dnbft=false",
"-Dclat=false",
"-Dintrospection=false", "-Dintrospection=false",
"-Dman=false", "-Dman=false",
"-Dtests=no", "-Dtests=no",
"-Dfirewalld_zone=false", "-Dfirewalld_zone=false",
"-Dcrypto=gnutls", "-Dcrypto=gnutls",
"-Dqt=false", "-Dqt=false",
"-Dlibpsl=false",
"-Dreadline=none",
"-Dconcheck=false",
"-Dovs=false",
"-Dlibaudit=no",
"-Dcrypto=null",
"-Dppp=false",
] ]
dependencies = [ #dependencies = [
"libpsl", #"libpsl",
"readline", #"readline",
"gnutls3", #"gnutls3",
] #]

View File

@ -0,0 +1,10 @@
#TODO compile and test
[source]
git = "https://gitlab.freedesktop.org/xdg/desktop-file-utils"
rev = "0.28"
shallow_clone = true
[build]
template = "meson"
dependencies = [
"glib",
]

View File

@ -0,0 +1,6 @@
#TODO compile and test
[source]
git = "https://github.com/reekta92/pinstar"
shallow_clone = true
[build]
template = "cargo"