Enable OpenAL for master builds
This commit is contained in:
parent
768ded56fa
commit
18e540f47d
1 changed files with 11 additions and 0 deletions
|
@ -4,6 +4,9 @@ SCRIPT_REPO="https://github.com/kcat/openal-soft.git"
|
|||
SCRIPT_COMMIT="f1f3672f0b8c45b87fcf3b3b99868c274569eaf4"
|
||||
|
||||
ffbuild_enabled() {
|
||||
[[ $ADDINS_STR == *4.4* ]] && return -1
|
||||
[[ $ADDINS_STR == *5.0* ]] && return -1
|
||||
[[ $ADDINS_STR == *5.1* ]] && return -1
|
||||
return 0
|
||||
}
|
||||
|
||||
|
@ -24,3 +27,11 @@ ffbuild_dockerbuild() {
|
|||
echo "Libs.private: -lole32" >> "$FFBUILD_PREFIX"/lib/pkgconfig/openal.pc
|
||||
fi
|
||||
}
|
||||
|
||||
ffbuild_configure() {
|
||||
echo --enable-openal
|
||||
}
|
||||
|
||||
ffbuild_unconfigure() {
|
||||
echo --disable-openal
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue