Depend on dejavu, install some more binaries.

This commit is contained in:
David Campbell 2025-12-22 18:03:07 -05:00
parent 975f630108
commit 87d71b053d
No known key found for this signature in database
GPG Key ID: C2E99A0CF863A603

View File

@ -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,6 @@ mv "${COOKBOOK_STAGE}"/usr/bin/hnefatafl-client "${COOKBOOK_STAGE}"/usr/games/hn
[package]
dependencies = [
"dejavu",
"noto-color-emoji",
]