mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 05:14:18 +08:00
Add iced recipe
This commit is contained in:
parent
3d72057d3a
commit
10a8221779
23
recipes/iced/recipe.toml
Normal file
23
recipes/iced/recipe.toml
Normal file
@ -0,0 +1,23 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/iced.git"
|
||||
branch = "redox"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
"llvm",
|
||||
"mesa",
|
||||
"zlib"
|
||||
]
|
||||
script = """
|
||||
set -x
|
||||
${COOKBOOK_CARGO} rustc \
|
||||
--release \
|
||||
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
|
||||
--package styling \
|
||||
-- \
|
||||
-L "${COOKBOOK_SYSROOT}/lib" \
|
||||
-C link-args="-Wl,-Bstatic $("${PKG_CONFIG}" --libs osmesa) -lz -lstdc++ -lc -lgcc"
|
||||
mkdir -pv "${COOKBOOK_STAGE}/bin"
|
||||
cp -v "target/${TARGET}/release/styling" "${COOKBOOK_STAGE}/bin/iced"
|
||||
"""
|
||||
Loading…
Reference in New Issue
Block a user