mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Setup: Add usage example to build-libheif.sh script #4082
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
7
scripts/dist/build-libheif.sh
vendored
7
scripts/dist/build-libheif.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user