mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
Add and improve recipes
This commit is contained in:
parent
d6498ca14e
commit
6ce1783aeb
6
recipes/wip/demos/anima/recipe.toml
Normal file
6
recipes/wip/demos/anima/recipe.toml
Normal file
@ -0,0 +1,6 @@
|
||||
#TODO compile and test
|
||||
[source]
|
||||
git = "https://github.com/Yazelix/anima"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "cargo"
|
||||
@ -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"
|
||||
]
|
||||
|
||||
13
recipes/wip/demos/plush/recipe.toml
Normal file
13
recipes/wip/demos/plush/recipe.toml
Normal 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"
|
||||
"""
|
||||
@ -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"
|
||||
|
||||
21
recipes/wip/kde/kweather/recipe.toml
Normal file
21
recipes/wip/kde/kweather/recipe.toml
Normal 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",
|
||||
]
|
||||
@ -9,4 +9,5 @@ template = "cmake"
|
||||
cmakeflags = [
|
||||
"-DBUILD_UNIT_TESTS=OFF",
|
||||
"-DBUILD_EXTRAS=OFF",
|
||||
"-DBUILD_OPENGL3_DEMOS=ON",
|
||||
]
|
||||
|
||||
@ -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"
|
||||
"""
|
||||
|
||||
@ -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?
|
||||
|
||||
Loading…
Reference in New Issue
Block a user