From c5c0d78533c2d4f7eb100f40589b28caf27029e3 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Sun, 22 Jun 2025 16:04:54 +0200 Subject: [PATCH] Remove webrender recipe While it has some demo executables, it is meant to be used as rust dependency rather than a standalone library. And in fact can't be installed as standalone library. --- recipes/libs/webrender/recipe.sh | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 recipes/libs/webrender/recipe.sh diff --git a/recipes/libs/webrender/recipe.sh b/recipes/libs/webrender/recipe.sh deleted file mode 100644 index a275c3fb1..000000000 --- a/recipes/libs/webrender/recipe.sh +++ /dev/null @@ -1,32 +0,0 @@ -GIT=https://gitlab.redox-os.org/redox-os/webrender.git -GIT_UPSTREAM=https://github.com/servo/webrender.git -BRANCH=redox -BUILD_DEPENDS=(freetype2 libpng llvm18 mesa zlib) - -function recipe_build { - sysroot="$(realpath ../sysroot)" - for rs in $(find examples/ -maxdepth 1 -type f -name '*.rs') - do - bin="$(basename "$rs" .rs)" - set -x - cargo rustc --target "$TARGET" --release --manifest-path examples/Cargo.toml --bin "$bin" \ - -- \ - -L "${sysroot}/lib" \ - -l static=freetype \ - -l static=png \ - -C link-args="-Wl,-Bstatic $("${PKG_CONFIG}" --libs osmesa) -lz -lstdc++ -lc -lgcc" - set +x - done - skip=1 -} - -function recipe_stage { - dest="$(realpath $1)" - mkdir -pv "$dest/bin" - for rs in $(find examples/ -maxdepth 1 -type f -name '*.rs') - do - bin="$(basename "$rs" .rs)" - "${STRIP}" -v "target/$TARGET/release/$bin" -o "$dest/bin/webrender_$bin" - done - skip=1 -}