mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-02-25 21:11:14 +03:00
build_proton: Add --with-ffmpeg switch
This commit is contained in:
parent
971ba6438b
commit
13b5f764ae
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
usage()
|
usage()
|
||||||
{
|
{
|
||||||
echo "$1: [--build component] [--release] [--package]"
|
echo "$1: [--build component] [--release] [--package] [--with-ffmpeg]"
|
||||||
echo "Build the Proton Steam Tool"
|
echo "Build the Proton Steam Tool"
|
||||||
echo "Component can be one or more of:"
|
echo "Component can be one or more of:"
|
||||||
echo " wine, wine32, wine64"
|
echo " wine, wine32, wine64"
|
||||||
@ -11,6 +11,7 @@ usage()
|
|||||||
echo "or all, which is the default. The 'all' component also implies --package"
|
echo "or all, which is the default. The 'all' component also implies --package"
|
||||||
echo "--release causes symbols to be stripped of debug info."
|
echo "--release causes symbols to be stripped of debug info."
|
||||||
echo "--package creates the tar ball in dist/."
|
echo "--package creates the tar ball in dist/."
|
||||||
|
echo "--with-ffmpeg builds FFmpeg for WMA audio support"
|
||||||
}
|
}
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
@ -423,6 +424,8 @@ for (( i=1; i <= $#; i++)); do
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
BUILD_COMPONENTS="${!i}"
|
BUILD_COMPONENTS="${!i}"
|
||||||
|
elif [ "$param" == "--with-ffmpeg" ]; then
|
||||||
|
WITH_FFMPEG=1
|
||||||
else
|
else
|
||||||
usage `basename $0`
|
usage `basename $0`
|
||||||
exit 1
|
exit 1
|
||||||
@ -523,7 +526,9 @@ if [ "$PLATFORM" == "Darwin" ]; then
|
|||||||
build_moltenvk
|
build_moltenvk
|
||||||
fi
|
fi
|
||||||
|
|
||||||
build_ffmpeg
|
if [ "$WITH_FFMPEG" = 1 ]; then
|
||||||
|
build_ffmpeg
|
||||||
|
fi
|
||||||
|
|
||||||
build_openal
|
build_openal
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user