ext-linux-bin/qt/start_build.sh
lat9nq 8d5ef24953 qt: Add Qt 5.15.2 package and build scripts
Qt but missing some modules that wouldn't build, such as qtwebengine.

qt: Update Qt 5.15.2 and build scripts

Mostly the same package, but fixes numerous bugs with the previous:
missing xcb and related libraries, rpaths of binaries don't link to
each other, directory names are now usable in yuzu.
2021-05-26 01:32:05 -04:00

23 lines
757 B
Bash

#!/bin/bash
# Kicks off the build script using the linux-fresh build container.
if [ "$#" -ne 2 ]; then
echo "usage: $0 <Source directory> <Build script>"
exit
fi
UID=`id -u`
GID=`id -g`
SRC_DIR=$(readlink -e $1)
SRC_DIR_BASENAME=$(basename ${SRC_DIR})
SCRIPT=$(readlink -e $2)
SCRIPT_BASENAME=$(basename ${SCRIPT})
cp ${SCRIPT} ${SRC_DIR}
docker run -v ${SRC_DIR}:/${SRC_DIR_BASENAME} -w /${SRC_DIR_BASENAME} -u root -t yuzuemu/build-environments:linux-fresh /bin/bash /${SRC_DIR_BASENAME}/${SCRIPT_BASENAME} ${UID} ${GID}
exit
SRC_DIR=${SRC_DIR}/qtwebengine
docker run -v ${SRC_DIR}:/${SRC_DIR_BASENAME} -w /${SRC_DIR_BASENAME} -u root -t yuzuemu/build-environments:linux-fresh /bin/bash /${SRC_DIR_BASENAME}/${SCRIPT_BASENAME} ${UID} ${GID}