diff --git a/recipes/servo/recipe.sh b/recipes/servo/recipe.sh new file mode 100644 index 0000000000000000000000000000000000000000..ca27d281d6994e9dd69ce9d43ecd2fcd474fff8d --- /dev/null +++ b/recipes/servo/recipe.sh @@ -0,0 +1,37 @@ +GIT=https://gitlab.redox-os.org/redox-os/servo.git +GIT_UPSTREAM=https://github.com/servo/servo.git +BRANCH=redox +BUILD_DEPENDS=(freetype gettext glib gstreamer harfbuzz libffi libiconv libpng openssl pcre zlib) +PREPARE_COPY=0 + +function recipe_version { + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + skip=1 +} + +function recipe_update { + echo "skipping update" + skip=1 +} + +function recipe_build { + source="$(realpath ../source)" + unset AR AS CC CXX LD NM OBJCOPY OBJDUMP RANLIB READELF STRIP + "$source/mach" build --target "${TARGET}" --release --with-frame-pointer # --jobs "$(nproc)" + skip=1 +} + +function recipe_test { + echo "skipping test" + skip=1 +} + +function recipe_clean { + echo "skipping clean" + skip=1 +} + +function recipe_stage { + echo "skipping stage" + skip=1 +}