2020-09-02 23:03:23 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [[ $# -lt 1 || $# -gt 2 ]]; then
|
|
|
|
echo "Invalid Arguments"
|
|
|
|
exit -1
|
|
|
|
fi
|
|
|
|
|
|
|
|
TARGET="$1"
|
|
|
|
VARIANT="${2:-gpl}"
|
2020-09-20 13:46:29 +00:00
|
|
|
REPO="${GITHUB_REPOSITORY:-btbn/ffmpeg-builds}"
|
|
|
|
REPO="${REPO,,}"
|
|
|
|
REGISTRY="docker.pkg.github.com"
|
|
|
|
BASE_IMAGE="${REGISTRY}/${REPO}/base:latest"
|
|
|
|
TARGET_IMAGE="${REGISTRY}/${REPO}/base-${TARGET}:latest"
|
|
|
|
IMAGE="${REGISTRY}/${REPO}/${TARGET}-${VARIANT}:latest"
|
2020-09-03 17:34:50 +00:00
|
|
|
|
|
|
|
ffbuild_configure() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
ffbuild_unconfigure() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
ffbuild_cflags() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
ffbuild_uncflags() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-09-03 20:49:43 +00:00
|
|
|
ffbuild_cxxflags() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
ffbuild_uncxxflags() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-09-03 17:34:50 +00:00
|
|
|
ffbuild_ldflags() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
ffbuild_unldflags() {
|
|
|
|
return 0
|
|
|
|
}
|
2020-09-06 19:55:59 +00:00
|
|
|
|
|
|
|
ffbuild_libs() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
ffbuild_unlibs() {
|
|
|
|
return 0
|
|
|
|
}
|