mirror of
https://github.com/Klipper4FlashForge/firmware.git
synced 2026-10-21 21:02:16 -05:00
39 lines
1.9 KiB
Plaintext
39 lines
1.9 KiB
Plaintext
# anvil-helixscreen -- the touchscreen UI.
|
|
#
|
|
# THE ONE ASSET PACKAGE WITH A BINARY IN IT. Mainsail and Moonraker are
|
|
# Architecture: all because nothing in them is compiled; this tarball is a
|
|
# prebuilt mipsel program and its libraries, so it carries the real
|
|
# architecture and is gated like anything else that executes on the printer.
|
|
# That gate is qa/replica/test_abi.py, which reads the ELF objects off the
|
|
# installed filesystem -- neither this recipe nor any build.sh checks them.
|
|
PKG_NAME=anvil-helixscreen
|
|
|
|
# Upstream's Creator 5 tag suffix is not part of a version a package manager
|
|
# can parse, so versions.env carries the package spelling next to the tag and
|
|
# this reads it. Both live there because both are the pin, and a bump has to
|
|
# move them together.
|
|
PKG_VERSION="$HELIX_PKG_VERSION"
|
|
# THE REVISION IS THE RELEASE DATE, because the version above is a pin and does
|
|
# not move when our half of this package changes. apk upgrades on the version
|
|
# string alone, so a hand-maintained number here is one somebody has to
|
|
# remember; pkg_release_stamp is the release, and every printer on an earlier
|
|
# one sees a higher -r. qa/static/test_recipe_layout.py holds recipes with a
|
|
# payload/ to this.
|
|
PKG_RELEASE="$(pkg_release_stamp)"
|
|
|
|
PKG_EXCLUDE=".version"
|
|
|
|
PKG_DEPENDS=""
|
|
PKG_BUILD_DEPENDS=""
|
|
|
|
PKG_WHEN='[ "${BUILD_HELIX:-1}" = "1" ]'
|
|
|
|
# The printer-database entry this recipe stages over upstream's tree is not
|
|
# described by HELIX_VERSION, so it needs a cache key of its own. It did not
|
|
# have one: the file used to be hashed into anvil-core's PKG_STAMP_EXTRA, the
|
|
# package that does NOT contain it, so editing the json rebuilt the wrong
|
|
# recipe and left this one cached.
|
|
PKG_STAMP_EXTRA="$(pkg_payload_hash)"
|
|
|
|
PKG_DESCRIPTION="HelixScreen, the touchscreen UI, as published by upstream for the Creator 5. Includes this repo's printer-database entry so the printer is detected as a tool changer."
|