mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-04-29 22:24:28 +02:00
Revert "Remove xz"
This reverts commit f3c0a067c96093bf81326952fec78ce543df47fe.
This commit is contained in:
parent
86a3439d3d
commit
31f5efbaf7
41
scripts.d/25-xz.sh
Executable file
41
scripts.d/25-xz.sh
Executable file
@ -0,0 +1,41 @@
|
||||
#!/bin/bash
|
||||
|
||||
SCRIPT_REPO="https://github.com/tukaani-project/xz.git"
|
||||
SCRIPT_COMMIT="6e8732c5a317a349986a4078718f1d95b67072c5"
|
||||
|
||||
ffbuild_enabled() {
|
||||
return 0
|
||||
}
|
||||
|
||||
ffbuild_dockerbuild() {
|
||||
./autogen.sh --no-po4a --no-doxygen
|
||||
|
||||
local myconf=(
|
||||
--prefix="$FFBUILD_PREFIX"
|
||||
--disable-symbol-versions
|
||||
--disable-shared
|
||||
--enable-static
|
||||
--with-pic
|
||||
)
|
||||
|
||||
if [[ $TARGET == win* || $TARGET == linux* ]]; then
|
||||
myconf+=(
|
||||
--host="$FFBUILD_TOOLCHAIN"
|
||||
)
|
||||
else
|
||||
echo "Unknown target"
|
||||
return -1
|
||||
fi
|
||||
|
||||
./configure "${myconf[@]}"
|
||||
make -j$(nproc)
|
||||
make install
|
||||
}
|
||||
|
||||
ffbuild_configure() {
|
||||
echo --enable-lzma
|
||||
}
|
||||
|
||||
ffbuild_unconfigure() {
|
||||
echo --disable-lzma
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user