FFmpeg-Builds/scripts.d/50-vaapi/00-xorg-macros.sh
2021-07-14 00:25:35 +02:00

19 lines
428 B
Bash
Executable file

#!/bin/bash
XORGMACROS_REPO="https://gitlab.freedesktop.org/xorg/util/macros.git"
XORGMACROS_COMMIT="b8766308d2f78bc572abe5198007cf7aeec9b761"
ffbuild_enabled() {
[[ $TARGET != linux* ]] && return -1
return 0
}
ffbuild_dockerbuild() {
git-mini-clone "$XORGMACROS_REPO" "$XORGMACROS_COMMIT" xorg-macros
cd xorg-macros
autoreconf -i
./configure --prefix="/usr"
make -j"$(nproc)"
make install
}