Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ValveSoftware/Proton.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Bernon <rbernon@codeweavers.com>2021-04-19 16:32:32 +0300
committerRémi Bernon <rbernon@codeweavers.com>2021-05-27 17:58:19 +0300
commit9d5b7eb0ccff07103e6acae5875236349abb9fc6 (patch)
tree5a716506358424a0e14d4250afaa0b815fe16eae
parentecca62efa8109b26108296853637179f875f3354 (diff)
configure: Rename --steam-runtime-image to --proton-sdk-image.
-rw-r--r--Makefile2
-rw-r--r--README.md2
-rwxr-xr-xconfigure.sh26
3 files changed, 15 insertions, 15 deletions
diff --git a/Makefile b/Makefile
index 5010a870..3118737b 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ endif
protonsdk_version := 0.20210126.1-1
CONFIGURE_CMD := ../proton/configure.sh \
- --steam-runtime-image=registry.gitlab.steamos.cloud/proton/soldier/sdk:$(protonsdk_version) \
+ --proton-sdk-image=registry.gitlab.steamos.cloud/proton/soldier/sdk:$(protonsdk_version) \
--build-name="$(_build_name)"
diff --git a/README.md b/README.md
index 2774dc14..2484d89a 100644
--- a/README.md
+++ b/README.md
@@ -177,7 +177,7 @@ protonsdk_version value to use):
mkdir build/
cd build
- ../proton/configure.sh --steam-runtime-image=registry.gitlab.steamos.cloud/proton/soldier/sdk:$(protonsdk_version)
+ ../proton/configure.sh --proton-sdk-image=registry.gitlab.steamos.cloud/proton/soldier/sdk:$(protonsdk_version)
Or, if you are building without the Steam runtime, then instead use:
diff --git a/configure.sh b/configure.sh
index 4185b3ef..f9bcb989 100755
--- a/configure.sh
+++ b/configure.sh
@@ -97,7 +97,7 @@ function configure() {
#
arg_steamrt="soldier"
-arg_steamrt_image=""
+arg_protonsdk_image=""
arg_no_steamrt=""
arg_build_name=""
arg_docker_opts=""
@@ -140,9 +140,9 @@ function parse_args() {
elif [[ $arg = --docker-opts ]]; then
arg_docker_opts="$val"
val_used=1
- elif [[ $arg = --steam-runtime-image ]]; then
+ elif [[ $arg = --proton-sdk-image ]]; then
val_used=1
- arg_steamrt_image="$val"
+ arg_protonsdk_image="$val"
elif [[ $arg = --steam-runtime ]]; then
val_used=1
arg_steamrt="$val"
@@ -182,7 +182,7 @@ function parse_args() {
}
usage() {
- "$1" "Usage: $0 { --no-steam-runtime | --steam-runtime-image=<image> --steam-runtime=<name> }"
+ "$1" "Usage: $0 { --no-steam-runtime | --proton-sdk-image=<image> --steam-runtime=<name> }"
"$1" " Generate a Makefile for building Proton. May be run from another directory to create"
"$1" " out-of-tree build directories (e.g. mkdir mybuild && cd mybuild && ../configure.sh)"
"$1" ""
@@ -197,10 +197,10 @@ usage() {
"$1" " Proton builds that are to be installed & run under the steam client must be built with"
"$1" " the Steam Runtime SDK to ensure compatibility. See README.md for more information."
"$1" ""
- "$1" " --steam-runtime-image=<image> Automatically invoke the Steam Runtime SDK in <image>"
- "$1" " for build steps that must be run in an SDK"
- "$1" " environment. See README.md for instructions to"
- "$1" " create this image."
+ "$1" " --proton-sdk-image=<image> Automatically invoke the Steam Runtime SDK in <image>"
+ "$1" " for build steps that must be run in an SDK"
+ "$1" " environment. See README.md for instructions to"
+ "$1" " create this image."
"$1" " --steam-runtime=soldier Name of the steam runtime release to build for (soldier, scout)."
"$1" ""
"$1" " --no-steam-runtime Do not automatically invoke any runtime SDK as part of the build."
@@ -213,10 +213,10 @@ parse_args "$@" || usage err
[[ -z $arg_help ]] || usage info
# Sanity check arguments
-if [[ -n $arg_no_steamrt && -n $arg_steamrt_image ]]; then
- die "Cannot specify --steam-runtime-image as well as --no-steam-runtime"
-elif [[ -z $arg_no_steamrt && -z $arg_steamrt_image ]]; then
- die "Must specify either --no-steam-runtime or --steam-runtime-image"
+if [[ -n $arg_no_steamrt && -n $arg_protonsdk_image ]]; then
+ die "Cannot specify --proton-sdk-image as well as --no-steam-runtime"
+elif [[ -z $arg_no_steamrt && -z $arg_protonsdk_image ]]; then
+ die "Must specify either --no-steam-runtime or --proton-sdk-image"
fi
-configure "$arg_steamrt_image" "$arg_steamrt"
+configure "$arg_protonsdk_image" "$arg_steamrt"