Setup: Add usage example to build-libheif.sh script #4082

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2024-02-29 12:54:25 +01:00
parent 8d308b44f6
commit c444b15e60

View File

@@ -1,6 +1,11 @@
#!/usr/bin/env bash
# This builds heif-convert, heif-enc, heif-info, and heif-thumbnailer binaries from source.
# This builds the heif-convert, heif-enc, heif-info and heif-thumbnailer binaries from source.
#
# To create ARMv7 binaries with Docker on Ubuntu 22.04 LTS, you can e.g. run the following:
#
# docker run --rm -u 1000 --platform=arm --pull=always -v ".:/go/src/github.com/photoprism/photoprism" \
# -e BUILD_ARCH=arm -e SYSTEM_ARCH=arm --entrypoint "" photoprism/develop:jammy ./scripts/dist/build-libheif.sh
# Show usage information if first argument is --help.
if [[ ${1} == "--help" ]]; then