Skip to content
Snippets Groups Projects
Verified Commit a792793b authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Update install paths for some recipes that compile examples, add zlib to recipes that use mesa

parent 86458754
No related branches found
No related tags found
No related merge requests found
GIT=https://gitlab.redox-os.org/redox-os/glutin.git
GIT_UPSTREAM=https://github.com/tomaka/glutin.git
BUILD_DEPENDS=(mesa)
BUILD_DEPENDS=(mesa zlib)
BRANCH=redox
CARGOFLAGS="--example window"
......@@ -12,7 +12,15 @@ function recipe_build {
-L "${sysroot}/lib" \
-l OSMesa \
-l glapi \
-l z \
-l stdc++ \
-C link-args="-Wl,--whole-archive -lpthread -Wl,--no-whole-archive"
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
mkdir -pv "$dest/bin"
cp -v "target/${TARGET}/release/examples/window" "$dest/bin/glutin"
skip=1
}
GIT=https://gitlab.redox-os.org/redox-os/hematite.git
GIT_UPSTREAM=https://github.com/PistonDevelopers/hematite.git
BUILD_DEPENDS=(mesa)
BUILD_DEPENDS=(mesa zlib)
BRANCH=redox
function recipe_build {
......@@ -11,6 +11,7 @@ function recipe_build {
-L "${sysroot}/lib" \
-l OSMesa \
-l glapi \
-l z \
-l stdc++ \
-C link-args="-Wl,--whole-archive -lpthread -Wl,--no-whole-archive"
skip=1
......
......@@ -12,7 +12,13 @@ function recipe_build {
-l pixman-1 \
-l freetype \
-l png \
-l z
-l z
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
mkdir -pv "$dest/bin"
cp -v "target/${TARGET}/release/examples/gui" "$dest/bin/rust-cairo"
skip=1
}
......@@ -2,3 +2,10 @@ GIT=https://gitlab.redox-os.org/redox-os/winit.git
GIT_UPSTREAM=https://github.com/tomaka/winit.git
BRANCH=redox
CARGOFLAGS="--example window"
function recipe_stage {
dest="$(realpath $1)"
mkdir -pv "$dest/bin"
cp -v "target/${TARGET}/release/examples/window" "$dest/bin/winit"
skip=1
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment