mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-19 22:50:29 +00:00
Remove side-by-side support for Qt 5.9 on Steam Link
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
BUILD_CONFIG="release"
|
||||
QT_59_COMMIT="9181b082be53c64daa83f36c7093a783fd07b464"
|
||||
QT_514_COMMIT="609d4aaccb503298e7fa9cef45e0ddc4c4afd63c"
|
||||
|
||||
fail()
|
||||
@@ -28,35 +27,6 @@ mkdir $BUILD_FOLDER
|
||||
mkdir $DEPLOY_FOLDER
|
||||
mkdir $INSTALLER_FOLDER
|
||||
|
||||
echo Switching to Qt 5.9 SDK
|
||||
pushd $STEAMLINK_SDK_PATH
|
||||
git fetch origin --unshallow
|
||||
git clean -f -d -x
|
||||
git reset --hard
|
||||
git checkout $QT_59_COMMIT || fail "Unable to checkout $QT_59_COMMIT"
|
||||
popd
|
||||
|
||||
echo Initializing Steam Link SDK for Qt 5.9
|
||||
source $STEAMLINK_SDK_PATH/setenv.sh || fail "SL SDK initialization failed!"
|
||||
|
||||
echo Configuring the project for Qt 5.9
|
||||
pushd $BUILD_FOLDER
|
||||
qmake $SOURCE_ROOT/moonlight-qt.pro QMAKE_CFLAGS_ISYSTEM= || fail "Qmake failed!"
|
||||
popd
|
||||
|
||||
echo Compiling Moonlight for Qt 5.9 in $BUILD_CONFIG configuration
|
||||
pushd $BUILD_FOLDER
|
||||
make -j$(nproc) $(echo "$BUILD_CONFIG" | tr '[:upper:]' '[:lower:]') || fail "Make failed!"
|
||||
popd
|
||||
|
||||
echo Staging Moonlight for Qt 5.9
|
||||
mkdir -p $DEPLOY_FOLDER/steamlink/apps/moonlight/bin
|
||||
cp $BUILD_FOLDER/app/moonlight $DEPLOY_FOLDER/steamlink/apps/moonlight/bin/moonlight59 || fail "Binary copy failed!"
|
||||
|
||||
echo Cleaning build directory
|
||||
rm -rf $BUILD_FOLDER
|
||||
mkdir $BUILD_FOLDER
|
||||
|
||||
echo Switching to Qt 5.14 SDK
|
||||
pushd $STEAMLINK_SDK_PATH
|
||||
git clean -f -d -x
|
||||
|
||||
Reference in New Issue
Block a user