mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 13:54:19 +08:00
WIP: Servo recipe
This commit is contained in:
parent
1101a4c216
commit
a49ca24a15
37
recipes/servo/recipe.sh
Normal file
37
recipes/servo/recipe.sh
Normal file
@ -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
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user