mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 13:24:17 +08:00
Merge branch 'update-hnefatafl' into 'master'
Depend on dejavu, install some more binaries. See merge request redox-os/redox!1786
This commit is contained in:
commit
5d4ef886bc
@ -2,8 +2,7 @@
|
||||
# 1. The CJK and runes fonts don't load.
|
||||
# 2. On a button press two characters are read in instead of one.
|
||||
# 3. Backspace does not work.
|
||||
# 4. The command line prompt prints 'deprecated: legacy path "time:4" used by /usr/games/hnefatafl-client'.
|
||||
# 5. TcpStream.shutdown(): shutdown call failed: Os { code: 38, kind: Unsupported, message: "Function not implemented" }
|
||||
# 4. TcpStream.shutdown() is not implemented.
|
||||
|
||||
[source]
|
||||
git = "https://github.com/dcampbell24/hnefatafl"
|
||||
@ -13,15 +12,16 @@ template = "custom"
|
||||
script = """
|
||||
"${COOKBOOK_CARGO}" build \
|
||||
--manifest-path "${COOKBOOK_SOURCE}/${PACKAGE_PATH}/Cargo.toml" \
|
||||
--bin hnefatafl-client \
|
||||
--features client \
|
||||
--release \
|
||||
--no-default-features
|
||||
|
||||
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
|
||||
cp -v \
|
||||
"target/${TARGET}/release/hnefatafl-client" \
|
||||
"${COOKBOOK_STAGE}/usr/bin/hnefatafl-client"
|
||||
|
||||
cp -v "target/${TARGET}/release/hnefatafl-ai" "${COOKBOOK_STAGE}/usr/bin/hnefatafl-ai"
|
||||
cp -v "target/${TARGET}/release/hnefatafl-client" "${COOKBOOK_STAGE}/usr/bin/hnefatafl-client"
|
||||
cp -v "target/${TARGET}/release/hnefatafl-server" "${COOKBOOK_STAGE}/usr/bin/hnefatafl-server"
|
||||
cp -v "target/${TARGET}/release/hnefatafl-text-protocol" "${COOKBOOK_STAGE}/usr/bin/hnefatafl-text-protocol"
|
||||
|
||||
mkdir -pv "${COOKBOOK_STAGE}"/usr/games
|
||||
mkdir -pv "${COOKBOOK_STAGE}"/ui/apps
|
||||
@ -33,5 +33,7 @@ mv "${COOKBOOK_STAGE}"/usr/bin/hnefatafl-client "${COOKBOOK_STAGE}"/usr/games/hn
|
||||
|
||||
[package]
|
||||
dependencies = [
|
||||
"dejavu",
|
||||
"freefont",
|
||||
"noto-color-emoji",
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user