diff --git a/recipes/glutin/recipe.sh b/recipes/glutin/recipe.sh index 7e3e04d7cabf4c72f05edfe031f2102a7d6da79e..41fc5a1001a587d98c1146514d1c419ce6806eea 100644 --- a/recipes/glutin/recipe.sh +++ b/recipes/glutin/recipe.sh @@ -1,13 +1,12 @@ GIT=https://gitlab.redox-os.org/redox-os/glutin.git -GIT_UPSTREAM=https://github.com/tomaka/glutin.git +GIT_UPSTREAM=https://github.com/rust-windowing/glutin.git BUILD_DEPENDS=(llvm mesa zlib) -BRANCH=redox -CARGOFLAGS="--example window" +BRANCH=redox-0.29 function recipe_build { sysroot="$(realpath ../sysroot)" set -x - cargo rustc --target "$TARGET" --release ${CARGOFLAGS} \ + cargo rustc --target "$TARGET" --release --package glutin_examples --example window \ -- \ -L "${sysroot}/lib" \ -C link-args="-Wl,-Bstatic $("${PKG_CONFIG}" --libs osmesa) -lz -lstdc++ -lc -lgcc"