mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-04-29 14:14:35 +02:00
48 lines
870 B
Bash
Executable File
48 lines
870 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCRIPT_REPO="https://github.com/zapping-vbi/zvbi"
|
|
SCRIPT_COMMIT="e0ff90c338500fd468c7925db85bed4b1b2d1e72"
|
|
|
|
ffbuild_enabled() {
|
|
return 0
|
|
}
|
|
|
|
ffbuild_dockerbuild() {
|
|
./autogen.sh
|
|
|
|
local myconf=(
|
|
--prefix="$FFBUILD_PREFIX"
|
|
--disable-shared
|
|
--enable-static
|
|
--with-pic
|
|
--without-doxygen
|
|
--without-x
|
|
--disable-dvb
|
|
--disable-bktr
|
|
--disable-nls
|
|
--disable-proxy
|
|
)
|
|
|
|
if [[ $TARGET == win* || $TARGET == linux* ]]; then
|
|
myconf+=(
|
|
--host="$FFBUILD_TOOLCHAIN"
|
|
)
|
|
else
|
|
echo "Unknown target"
|
|
return -1
|
|
fi
|
|
|
|
./configure "${myconf[@]}"
|
|
make -C src -j$(nproc)
|
|
make -C src install
|
|
make SUBDIRS=. install
|
|
}
|
|
|
|
ffbuild_configure() {
|
|
echo --enable-libzvbi
|
|
}
|
|
|
|
ffbuild_unconfigure() {
|
|
echo --disable-libzvbi
|
|
}
|