mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-04-29 14:14:35 +02:00
22 lines
543 B
Bash
Executable File
22 lines
543 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCRIPT_REPO="https://gitlab.freedesktop.org/xorg/util/macros.git"
|
|
SCRIPT_COMMIT="a9d71e3fd8e6758b70be31c586921bbbcd2a8449"
|
|
|
|
ffbuild_enabled() {
|
|
[[ $TARGET != linux* ]] && return -1
|
|
return 0
|
|
}
|
|
|
|
ffbuild_dockerlayer() {
|
|
to_df "COPY --link --from=${SELFLAYER} \$FFBUILD_PREFIX/. \$FFBUILD_PREFIX"
|
|
to_df "COPY --link --from=${SELFLAYER} \$FFBUILD_PREFIX/share/aclocal/. /usr/share/aclocal"
|
|
}
|
|
|
|
ffbuild_dockerbuild() {
|
|
autoreconf -i
|
|
./configure --prefix="$FFBUILD_PREFIX"
|
|
make -j"$(nproc)"
|
|
make install
|
|
}
|