123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #!/bin/bash
- SCRIPT_REPO="https://github.com/zapping-vbi/zvbi"
- SCRIPT_COMMIT="a48ab3a0d72efe9968ebafa34c425c892e4afa50"
- 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
- }
|