Add and improve recipes

This commit is contained in:
Ribbon 2026-09-06 01:21:06 -03:00
parent d6498ca14e
commit 6ce1783aeb
8 changed files with 78 additions and 11 deletions

View File

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

View File

@ -1,10 +1,11 @@
#TODO make it use raylib recipe
#TODO compile and test
[source]
git = "https://github.com/IceWizard7/simulation-orbit"
rev = "e772641909df7a0876093b9ffea0377e5bea82bf"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = ["-DUSE_SYSTEM_RAYLIB=ON"]
dependencies = [
"raylib"
]

View File

@ -0,0 +1,13 @@
#TODO compile and test
[source]
git = "https://github.com/maximecb/plush"
shallow_clone = true
[build]
template = "custom"
dependencies = ["sdl2"]
script = """
DYNAMIC_INIT
cookbook_cargo
mkdir -pv "${COOKBOOK_STAGE}/usr/share/plush"
cp -rv "${COOKBOOK_SOURCE}"/examples/* "${COOKBOOK_STAGE}/usr/share/plush"
"""

View File

@ -1,9 +1,10 @@
# using DuckStation fork from when it was licensed as GPLv3 and the fork still had the Qt and ImGui? frontends (libretro fork don't have them anymore)
#TODO not compiled or tested yet
#TODO determine minimum dependencies from cmake log
# build instructions: https://github.com/stenzek/duckstation#linux-1
# build instructions: https://github.com/piepacker/swanstation#linux-1
[source]
git = "https://github.com/stenzek/duckstation"
rev = "16e56d7824e15657be26e30030394d0668493635"
git = "https://github.com/piepacker/swanstation"
rev = "096c810"
shallow_clone = true
[build]
template = "cmake"

View File

@ -0,0 +1,21 @@
#TODO compile and test
[source]
tar = "https://invent.kde.org/utilities/kweather/-/archive/v26.04.3/kweather-v26.04.3.tar.bz2"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DBUILD_PLASMOID=OFF",
"-DBUILD_KRUNNER=OFF",
]
dev-dependencies = ["host:ecm"]
dependencies = [
"qt6-base",
"kconfig6",
"kirigami6",
"ki18n6",
"kcoreaddons6",
"knotifications6",
"kweathercore",
"kirigami-addons",
]

View File

@ -9,4 +9,5 @@ template = "cmake"
cmakeflags = [
"-DBUILD_UNIT_TESTS=OFF",
"-DBUILD_EXTRAS=OFF",
"-DBUILD_OPENGL3_DEMOS=ON",
]

View File

@ -14,7 +14,8 @@ rsync -av --delete "${COOKBOOK_SOURCE}/" ./
DYNAMIC_INIT
MAKEFLAGS=(
SDL_BACKEND=sdl2
XCB=1
)
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" "${MAKEFLAGS[@]}" \
"${COOKBOOK_MAKE}" install examples DESTDIR="${COOKBOOK_STAGE}/usr"
"${COOKBOOK_MAKE}" all examples -j "${COOKBOOK_MAKE_JOBS}" "${MAKEFLAGS[@]}" \
"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}/usr"
"""

View File

@ -4,10 +4,11 @@
#TODO verify if feature flags are correct
#TODO compile and test
# execution script: https://github.com/pelya/xserver-xsdl/blob/xsdl-1.20/start-linux.sh
# linux build script: https://github.com/pelya/xserver-xsdl/blob/xsdl-1.20/build-xsdl-for-linux.sh
# linux build with x11 extensions script: https://github.com/pelya/xserver-xsdl/blob/xsdl-1.20/build-xsdl-for-linux.sh
# linux build without x11 extensions script: https://github.com/pelya/xserver-xsdl/blob/xsdl-1.20/build-xsdl-for-linux-no-extensions.sh
[source]
git = "https://github.com/pelya/xserver-xsdl"
rev = "6696d69"
rev = "ccd3a7c"
shallow_clone = true
script = """
autotools_recursive_regenerate
@ -47,6 +48,8 @@ DYNAMIC_INIT
COOKBOOK_CONFIGURE_FLAGS+=(
#--prefix="${COOKBOOK_STAGE}/usr" # previous path: `pwd`/data/usr
#--with-xkb-path=/usr/share/X11/xkb # previous path: `pwd`/data/xkb
--enable-xsdl
--enable-kdrive
--disable-xorg
--disable-dmx
--disable-xvfb
@ -58,14 +61,34 @@ COOKBOOK_CONFIGURE_FLAGS+=(
--disable-unit-tests
--disable-dri
--disable-dri2
--disable-dri3
--disable-glx
--disable-xf86vidmode
--disable-config-udev
--disable-libdrm
--disable-mitshm
--disable-composite
--disable-xres
--disable-record
--disable-xv
--disable-xvmc
--disable-dga
--disable-screensaver
--disable-xdmcp
--disable-xdm-auth-1
--disable-present
--disable-xinerama
--disable-xf86vidmode
--disable-xace
--disable-dbe
--disable-dpms
--disable-config-hal
--disable-clientids
--disable-linux-acpi
--disable-linux-apm
--disable-glamor
--disable-xshmfence
--with-systemd-daemon=no
--enable-xsdl
--enable-kdrive
--enable-mitshm
)
cookbook_configure
# ln -sf /usr/bin/xkbcomp data/usr/bin/xkbcomp # needed?