mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 13:54:19 +08:00
Merge branch 'cleanup_recipes' into 'master'
Remove a bunch of recipes and convert one to wip See merge request redox-os/cookbook!375
This commit is contained in:
commit
5d3769b4c6
@ -1,23 +0,0 @@
|
||||
GIT=https://gitlab.redox-os.org/redox-os/glium.git
|
||||
GIT_UPSTREAM=https://github.com/glium/glium.git
|
||||
BUILD_DEPENDS=(llvm18 mesa zlib)
|
||||
BRANCH=redox
|
||||
CARGOFLAGS="--example teapot"
|
||||
|
||||
function recipe_build {
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
set -x
|
||||
cargo rustc --target "$TARGET" --release ${CARGOFLAGS} \
|
||||
-- \
|
||||
-L "${sysroot}/lib" \
|
||||
-C link-args="-Wl,-Bstatic $("${PKG_CONFIG}" --libs osmesa) -lz -lstdc++ -lc -lgcc"
|
||||
set +x
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_stage {
|
||||
dest="$(realpath $1)"
|
||||
mkdir -pv "$dest/bin"
|
||||
cp -v "target/${TARGET}/release/examples/teapot" "$dest/bin/glium"
|
||||
skip=1
|
||||
}
|
||||
@ -1,22 +0,0 @@
|
||||
GIT=https://gitlab.redox-os.org/redox-os/keyboard-sfx.git
|
||||
|
||||
function recipe_version {
|
||||
echo "0.0.1"
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_build {
|
||||
echo "skipping build"
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_clean {
|
||||
echo "skipping clean"
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_stage {
|
||||
mkdir -pv "$1/sfx"
|
||||
cp -Rv ./* "$1/sfx"
|
||||
skip=1
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user