61debb00e5
Otherwise the entire build cache effectively invalidates the moment one script changes..
26 lines
637 B
Bash
Executable file
26 lines
637 B
Bash
Executable file
#!/bin/bash
|
|
|
|
SCRIPT_REPO="https://github.com/uclouvain/openjpeg.git"
|
|
SCRIPT_COMMIT="1ee6d115e80036d1d38bad7f95a680bfc612c1bf"
|
|
|
|
ffbuild_enabled() {
|
|
return 0
|
|
}
|
|
|
|
ffbuild_dockerbuild() {
|
|
cd "$FFBUILD_DLDIR/$SELF"
|
|
|
|
mkdir build && cd build
|
|
|
|
cmake -DCMAKE_TOOLCHAIN_FILE="$FFBUILD_CMAKE_TOOLCHAIN" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$FFBUILD_PREFIX" -DBUILD_SHARED_LIBS=OFF -DBUILD_PKGCONFIG_FILES=ON -DBUILD_CODEC=OFF -DWITH_ASTYLE=OFF -DBUILD_TESTING=OFF ..
|
|
make -j$(nproc)
|
|
make install
|
|
}
|
|
|
|
ffbuild_configure() {
|
|
echo --enable-libopenjpeg
|
|
}
|
|
|
|
ffbuild_unconfigure() {
|
|
echo --disable-libopenjpeg
|
|
}
|