commit 4fc2d28840d9ceea45a80e5adc7f595526b5af52 Author: ascpixi <44982772+ascpixi@users.noreply.github.com> Date: Tue Mar 5 01:54:12 2024 +0100 Clone from "lat9nq/ext-linux-bin/gcc-13" diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..229341e --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "hidapi/hidapi"] + path = hidapi/hidapi + url = https://github.com/libusb/hidapi.git diff --git a/README.md b/README.md new file mode 100644 index 0000000..26cf943 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# ext-linux-bin + +Repository of binaries for the linux-fresh container. + diff --git a/appimage/AppRun-patched-x86_64 b/appimage/AppRun-patched-x86_64 new file mode 100644 index 0000000..25f642b Binary files /dev/null and b/appimage/AppRun-patched-x86_64 differ diff --git a/appimage/appimagetool-x86_64.AppImage b/appimage/appimagetool-x86_64.AppImage new file mode 100644 index 0000000..2ba99ed Binary files /dev/null and b/appimage/appimagetool-x86_64.AppImage differ diff --git a/appimage/exec-x86_64.so b/appimage/exec-x86_64.so new file mode 100644 index 0000000..ae55f7c Binary files /dev/null and b/appimage/exec-x86_64.so differ diff --git a/appimage/linuxdeploy-plugin-qt-x86_64.AppImage b/appimage/linuxdeploy-plugin-qt-x86_64.AppImage new file mode 100644 index 0000000..4cd49b8 Binary files /dev/null and b/appimage/linuxdeploy-plugin-qt-x86_64.AppImage differ diff --git a/appimage/linuxdeploy-x86_64.AppImage b/appimage/linuxdeploy-x86_64.AppImage new file mode 100644 index 0000000..173c8aa Binary files /dev/null and b/appimage/linuxdeploy-x86_64.AppImage differ diff --git a/binutils/binutils-2.40-focal.tar.xz b/binutils/binutils-2.40-focal.tar.xz new file mode 100644 index 0000000..01bd86f Binary files /dev/null and b/binutils/binutils-2.40-focal.tar.xz differ diff --git a/binutils/build.sh b/binutils/build.sh new file mode 100644 index 0000000..4753744 --- /dev/null +++ b/binutils/build.sh @@ -0,0 +1,23 @@ +#!/bin/bash +set -e + +# This script is meant to make it easy to build GNU binutils using a Docker container. + +THIS=$(readlink -e $0) +USER_ID=`id -u` +GROUP_ID=`id -g` +VERSION=2.40 +UBUNTU=focal + +PKG=binutils-${VERSION} +OUT=$PKG-$UBUNTU + +wget -nc https://ftp.gnu.org/gnu/binutils/$PKG.tar.xz +tar xf $PKG.tar.xz + +mkdir -p $OUT | true + +docker run -v $(pwd):/src -w /src -u root -t yuzuemu/build-environments:linux-fresh /bin/bash /src/docker.sh $VERSION $UBUNTU + +cp -v $THIS $OUT +tar cv $OUT | xz -T0 -c | split --bytes=90MB - $OUT.tar.xz. diff --git a/binutils/docker.sh b/binutils/docker.sh new file mode 100644 index 0000000..c80d3d9 --- /dev/null +++ b/binutils/docker.sh @@ -0,0 +1,16 @@ +#!/bin/bash +set -e + +THIS=$(readlink -e $0) +VERSION=$1 +UBUNTU=$2 + +OUT=/src/binutils-$VERSION-$UBUNTU + +mkdir build +cd build +/src/binutils-$VERSION/configure +make -j$(nproc) + +make -j$(nproc) install DESTDIR=$OUT +cp $THIS $OUT diff --git a/boost/boost-1_79_0.tar.xz b/boost/boost-1_79_0.tar.xz new file mode 100644 index 0000000..eefe696 Binary files /dev/null and b/boost/boost-1_79_0.tar.xz differ diff --git a/boost/boost-1_81_0.tar.xz b/boost/boost-1_81_0.tar.xz new file mode 100644 index 0000000..22f30b1 Binary files /dev/null and b/boost/boost-1_81_0.tar.xz differ diff --git a/boost/boost_1_75_0.tar.xz b/boost/boost_1_75_0.tar.xz new file mode 100644 index 0000000..8ab79e7 Binary files /dev/null and b/boost/boost_1_75_0.tar.xz differ diff --git a/boost/build.sh b/boost/build.sh new file mode 100644 index 0000000..c957822 --- /dev/null +++ b/boost/build.sh @@ -0,0 +1,18 @@ +#!/bin/bash +set -e +# This script is meant to make it easy to build a package using a Docker container. + +# Run this from the same directory as source directory + +THIS=$(readlink -e $0) +USER_ID=`id -u` +GROUP_ID=`id -g` +VERSION=1_81_0 +PKG_NAME=boost + +mkdir -p $PKG_NAME-$VERSION + +docker run -v $(pwd):/src -w /src -u root -t yuzuemu/build-environments:linux-fresh /bin/bash -ex /src/docker.sh $PKG_NAME $VERSION + +cp -v $THIS $PKG_NAME-$VERSION/ +tar cv $PKG_NAME-$VERSION | xz -T0 -c > $PKG_NAME-$VERSION.tar.xz diff --git a/boost/docker.sh b/boost/docker.sh new file mode 100644 index 0000000..dac4ebc --- /dev/null +++ b/boost/docker.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -e + +THIS=$(readlink -e $0) +PKG_NAME=$1 +VERSION=$2 + +cd /src/${PKG_NAME}_${VERSION} +/bin/bash /src/${PKG_NAME}_${VERSION}/bootstrap.sh +./b2 --prefix=/src/${PKG_NAME}-${VERSION}/usr/local install + +cp $THIS /src/${PKG_NAME}-${VERSION} diff --git a/gcc/build_gcc.sh b/gcc/build_gcc.sh new file mode 100644 index 0000000..0807137 --- /dev/null +++ b/gcc/build_gcc.sh @@ -0,0 +1,25 @@ +#!/bin/bash +set -e + +# This script is meant to make it easy to build GCC using a Docker container. + +THIS=$(readlink -e $0) +USER_ID=`id -u` +GROUP_ID=`id -g` +VERSION=13.1.0 + +if [ ! -d gcc ]; then + git clone --depth 1 -b "releases/gcc-$VERSION" git://gcc.gnu.org/git/gcc.git +else + cd gcc + sudo git clean -fxd + git restore :/ + cd .. +fi + +mkdir -p gcc-$VERSION | true + +docker run -v $(pwd):/src -w /src -u root -t yuzuemu/build-environments:linux-fresh /bin/bash /src/docker.sh $VERSION + +cp -v $THIS gcc-$VERSION/ +tar cv gcc-$VERSION | xz -T0 -c | split --bytes=95MB - gcc-$VERSION.tar.xz. diff --git a/gcc/deploy-linux.sh b/gcc/deploy-linux.sh new file mode 100644 index 0000000..a8ac8ea --- /dev/null +++ b/gcc/deploy-linux.sh @@ -0,0 +1,160 @@ +#!/bin/bash +# [DEPLOY_QT=1] deploy-linux.sh +# (Simplified) bash re-implementation of [linuxdeploy](https://github.com/linuxdeploy). +# Reads [executable] and copies required libraries to [AppDir]/usr/lib +# Copies the desktop and svg icon to [AppDir] +# Respects the AppImage excludelist +# +# Unlike linuxdeploy, this does not: +# - Copy any icon other than svg (too lazy to add that without a test case) +# - Do any verification on the desktop file +# - Run any linuxdeploy plugins +# - *Probably other things I didn't know linuxdeploy can do* +# +# It notably also does not copy unneeded libraries, unlike linuxdeploy. On a desktop system, this +# can help reduce the end AppImage's size, although in a production system this script proved +# unhelpful. +#~ set -x +export _PREFIX="/usr" +export _LIB_DIRS="lib64 lib" +export _QT_PLUGIN_PATH="${_PREFIX}/lib64/qt5/plugins" +export _EXCLUDES="ld-linux.so.2 ld-linux-x86-64.so.2 libanl.so.1 libBrokenLocale.so.1 libcidn.so.1 \ +libc.so.6 libdl.so.2 libm.so.6 libmvec.so.1 libnss_compat.so.2 libnss_dns.so.2 libnss_files.so.2 \ +libnss_hesiod.so.2 libnss_nisplus.so.2 libnss_nis.so.2 libpthread.so.0 libresolv.so.2 librt.so.1 \ +libthread_db.so.1 libutil.so.1 libstdc++.so.6 libGL.so.1 libEGL.so.1 libGLdispatch.so.0 \ +libGLX.so.0 libOpenGL.so.0 libdrm.so.2 libglapi.so.0 libgbm.so.1 libxcb.so.1 libX11.so.6 \ +libasound.so.2 libfontconfig.so.1 libthai.so.0 libfreetype.so.6 libharfbuzz.so.0 libcom_err.so.2 \ +libexpat.so.1 libgcc_s.so.1 libgpg-error.so.0 libICE.so.6 libp11-kit.so.0 libSM.so.6 \ +libusb-1.0.so.0 libuuid.so.1 libz.so.1 libpangoft2-1.0.so.0 libpangocairo-1.0.so.0 \ +libpango-1.0.so.0 libgpg-error.so.0 libjack.so.0 libxcb-dri3.so.0 libxcb-dri2.so.0 \ +libfribidi.so.0 libgmp.so.10" + +export _EXECUTABLE="$1" + +# Get possible system library paths +export _SYSTEM_PATHS=$(echo -n $PATH | tr ":" " ") +export _SEARCH_PATHS= +for i in ${_LIB_DIRS}; do + for j in ${_SYSTEM_PATHS}; do + _TRY_PATH="$(readlink -e "$j/../$i" || true)" + if [[ -n "${_TRY_PATH}" ]]; then + _SEARCH_PATHS="${_SEARCH_PATHS} ${_TRY_PATH}" + fi + done +done +_SEARCH_PATHS="${_SEARCH_PATHS} $(patchelf --print-rpath $_EXECUTABLE | tr ':' ' ')" +# Get a list of only unique ones +_SEARCH_PATHS=$(echo -n "${_SEARCH_PATHS}" | sed 's/ /\n/g' | sort -u) + +# find_library [library] +# Finds the full path of partial name [library] in _SEARCH_PATHS +# This is a time-consuming function. +_NOT_FOUND="" +function find_library { + local _PATH="" + for i in ${_SEARCH_PATHS}; do + _PATH=$(find $i -regex ".*$(echo -n $1 | tr '+' '.')" -print -quit) + if [ "$_PATH" != "" ]; then + break + fi + done + if [ "$_PATH" != "" ]; then + echo -n $(readlink -e $_PATH) + fi +} + +# get_dep_names [object] +# Returns a space-separated list of all required libraries needed by [object]. +function get_dep_names { + echo -n $(patchelf --print-needed $1) +} + +# get_deps [object] [library_path] +# Finds and installs all libraries required by [object] to [library_path]. +# This is a recursive function that also depends on find_library. +function get_deps { + local _DEST=$2 + for i in $(get_dep_names $1); do + _EXCL=`echo "$_EXCLUDES" | tr ' ' '\n' | grep $i` + if [ "$_EXCL" != "" ]; then + #>&2 echo "$i is on the exclude list... skipping" + continue + fi + if [ -f $_DEST/$i ]; then + continue + fi + local _LIB=$(find_library $i) + if [ -z $_LIB ]; then + echo -n "$i:" + continue + fi + >&2 cp -v $_LIB $_DEST/$i & + get_deps $_LIB $_DEST + done +} + +export -f get_deps +export -f get_dep_names +export -f find_library + +_ERROR=0 +if [ -z "$_EXECUTABLE" ]; then + _ERROR=1 +fi + +if [ "$_ERROR" -eq 1 ]; then + >&2 echo "usage: $0 [AppDir]" + exit 1 +fi + +LIB_DIR="$(readlink -m $(dirname $_EXECUTABLE)/../lib)" +mkdir -p $LIB_DIR +_NOT_FOUND=$(get_deps $_EXECUTABLE $LIB_DIR) + +if [ "${DEPLOY_QT}" == "1" ]; then + # Find Qt path from search paths + for i in ${_SEARCH_PATHS}; do + _QT_CORE_LIB=$(find ${i} -type f -regex '.*/libQt5Core\.so.*' | head -n 1) + if [ -n "${_QT_CORE_LIB}" ]; then + _QT_PATH=$(dirname ${_QT_CORE_LIB})/../ + break + fi + done + + _QT_PLUGIN_PATH=$(readlink -e $(find ${_QT_PATH} -type d -regex '.*/plugins/platforms' | head -n 1)/../) + + mkdir -p ${LIB_DIR}/../plugins/platforms + cp -nv "${_QT_PLUGIN_PATH}/platforms/libqxcb.so" ${LIB_DIR}/../plugins/platforms/ + # Find any remaining libraries needed for Qt libraries + _NOT_FOUND+=$(get_deps ${LIB_DIR}/../plugins/platforms/libqxcb.so $LIB_DIR) + + for i in audio bearer imageformats mediaservice platforminputcontexts platformthemes xcbglintegrations; do + mkdir -p ${LIB_DIR}/../plugins/${i} + cp -rnv ${_QT_PLUGIN_PATH}/${i}/*.so ${LIB_DIR}/../plugins/${i} + find ${LIB_DIR}/../plugins/ -type f -regex '.*\.so' -exec patchelf --set-rpath '$ORIGIN/../../lib:$ORIGIN' {} ';' + # Find any remaining libraries needed for Qt libraries + _NOT_FOUND+=$(find ${LIB_DIR}/../plugins/${i} -type f -exec bash -c "get_deps {} $LIB_DIR" ';') + done + + _QT_CONF=${LIB_DIR}/../bin/qt.conf + echo "[Paths]" > ${_QT_CONF} + echo "Prefix = ../" >> ${_QT_CONF} + echo "Plugins = plugins" >> ${_QT_CONF} + echo "Imports = qml" >> ${_QT_CONF} + echo "Qml2Imports = qml" >> ${_QT_CONF} +fi + +# Fix rpath of libraries and executable so they can find the packaged libraries +find ${LIB_DIR} -type f -exec patchelf --set-rpath '$ORIGIN' {} ';' +patchelf --set-rpath '$ORIGIN/../lib' $_EXECUTABLE + +_APPDIR=$2 +cd ${_APPDIR} + +cp -nvs $(find -type f -regex '.*/icons/.*\.svg' || head -n 1) ./ +cp -nvs $(find -type f -regex '.*/applications/.*\.desktop' || head -n 1) ./ + +if [ "${_NOT_FOUND}" != "" ]; then + >&2 echo "WARNING: failed to find the following libraries:" + >&2 echo "$(echo -n $_NOT_FOUND | tr ':' '\n' | sort -u)" +fi diff --git a/gcc/docker.sh b/gcc/docker.sh new file mode 100644 index 0000000..506d4d1 --- /dev/null +++ b/gcc/docker.sh @@ -0,0 +1,13 @@ +#!/bin/bash +set -e + +THIS=$(readlink -e $0) + +mkdir gcc/build +cd gcc/build +/src/gcc/configure --enable-languages=c,c++ --disable-multilib +make -j$(nproc) + +mkdir gcc-$1 | true +make -j$(nproc) install DESTDIR=/src/gcc-$1 +cp $THIS /src/gcc-$1 diff --git a/gcc/gcc-11.3.0-ubuntu.tar.xz.aa b/gcc/gcc-11.3.0-ubuntu.tar.xz.aa new file mode 100644 index 0000000..69dabcc Binary files /dev/null and b/gcc/gcc-11.3.0-ubuntu.tar.xz.aa differ diff --git a/gcc/gcc-11.3.0-ubuntu.tar.xz.ab b/gcc/gcc-11.3.0-ubuntu.tar.xz.ab new file mode 100644 index 0000000..84428f8 Binary files /dev/null and b/gcc/gcc-11.3.0-ubuntu.tar.xz.ab differ diff --git a/gcc/gcc-11.3.0-ubuntu.tar.xz.ac b/gcc/gcc-11.3.0-ubuntu.tar.xz.ac new file mode 100644 index 0000000..8adb7bb Binary files /dev/null and b/gcc/gcc-11.3.0-ubuntu.tar.xz.ac differ diff --git a/gcc/gcc-12.2.0-ubuntu.tar.xz.aa b/gcc/gcc-12.2.0-ubuntu.tar.xz.aa new file mode 100644 index 0000000..3852a3d Binary files /dev/null and b/gcc/gcc-12.2.0-ubuntu.tar.xz.aa differ diff --git a/gcc/gcc-12.2.0-ubuntu.tar.xz.ab b/gcc/gcc-12.2.0-ubuntu.tar.xz.ab new file mode 100644 index 0000000..e9fdb91 Binary files /dev/null and b/gcc/gcc-12.2.0-ubuntu.tar.xz.ab differ diff --git a/gcc/gcc-12.2.0-ubuntu.tar.xz.ac b/gcc/gcc-12.2.0-ubuntu.tar.xz.ac new file mode 100644 index 0000000..3ac8c12 Binary files /dev/null and b/gcc/gcc-12.2.0-ubuntu.tar.xz.ac differ diff --git a/gcc/gcc-12.2.0-ubuntu.tar.xz.ad b/gcc/gcc-12.2.0-ubuntu.tar.xz.ad new file mode 100644 index 0000000..c425dc3 Binary files /dev/null and b/gcc/gcc-12.2.0-ubuntu.tar.xz.ad differ diff --git a/gcc/gcc-13.1.0.tar.xz.aa b/gcc/gcc-13.1.0.tar.xz.aa new file mode 100644 index 0000000..2485f8e Binary files /dev/null and b/gcc/gcc-13.1.0.tar.xz.aa differ diff --git a/gcc/gcc-13.1.0.tar.xz.ab b/gcc/gcc-13.1.0.tar.xz.ab new file mode 100644 index 0000000..70083e5 Binary files /dev/null and b/gcc/gcc-13.1.0.tar.xz.ab differ diff --git a/gcc/gcc-13.1.0.tar.xz.ac b/gcc/gcc-13.1.0.tar.xz.ac new file mode 100644 index 0000000..58f2857 Binary files /dev/null and b/gcc/gcc-13.1.0.tar.xz.ac differ diff --git a/gcc/gcc-13.1.0.tar.xz.ad b/gcc/gcc-13.1.0.tar.xz.ad new file mode 100644 index 0000000..f9d35af Binary files /dev/null and b/gcc/gcc-13.1.0.tar.xz.ad differ diff --git a/hidapi/build_hidapi.sh b/hidapi/build_hidapi.sh new file mode 100644 index 0000000..8e70beb --- /dev/null +++ b/hidapi/build_hidapi.sh @@ -0,0 +1,37 @@ +#!/bin/bash + +# This script is meant to make it easy to rebuild packages using the +# linux-fresh yuzu-emu container. + +# Run this from within the source directory + +THIS=$(readlink -e $0) +USER_ID=${1} +GROUP_ID=${2} +VERSION=$(cat VERSION | sed 's/\./_/g') +BASE_NAME=$(readlink -e $(pwd) | sed 's/.*\///g') +ARCHIVE_NAME=${BASE_NAME}_${VERSION}.tar.xz + + +./bootstrap + +mkdir build || true +cd build + +../configure +make -j$(nproc) +make install DESTDIR=$(pwd)/out + +cd .. + + +mkdir -pv ${BASE_NAME}/ +mv -v build/out/usr/local/* ${BASE_NAME}/ +cp -v ${THIS} ${BASE_NAME}/ + +tar cv ${BASE_NAME} | xz -c > ${ARCHIVE_NAME} + +if [ -e ${ARCHIVE_NAME} ]; then + echo "hidapi package can be found at $(readlink -e ${ARCHIVE_NAME})" +fi + diff --git a/hidapi/hidapi_0_10_1.tar.xz b/hidapi/hidapi_0_10_1.tar.xz new file mode 100644 index 0000000..d20ebd3 Binary files /dev/null and b/hidapi/hidapi_0_10_1.tar.xz differ diff --git a/hidapi/start_build.sh b/hidapi/start_build.sh new file mode 100644 index 0000000..4504e14 --- /dev/null +++ b/hidapi/start_build.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# Kicks off the build script using the linux-fresh build container. + +if [ "$#" -ne 2 ]; then + echo "usage: $0 " + 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} + diff --git a/icu/build_icu.sh b/icu/build_icu.sh new file mode 100644 index 0000000..3b5090f --- /dev/null +++ b/icu/build_icu.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +# This script is meant to make it easy to rebuild packages using the +# linux-fresh yuzu-emu container. + +# Run this from within the source directory + +THIS=$(readlink -e $0) +USER_ID=${1} +GROUP_ID=${2} +VERSION=5_15_2 +BASE_NAME=$(readlink -e $(pwd) | sed 's/.*\///g') +ARCHIVE_NAME=${BASE_NAME}_${VERSION}.tar.xz +NUM_CORES=$(nproc) + + +mkdir build || true +cd build +mkdir out || true +../configure +make -j${NUM_CORES} install DESTDIR=out + diff --git a/icu/start_build.sh b/icu/start_build.sh new file mode 100644 index 0000000..80b4efd --- /dev/null +++ b/icu/start_build.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +# Kicks off the build script using the linux-fresh build container. + +if [ "$#" -ne 2 ]; then + echo "usage: $0 " + 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} + diff --git a/mingw/mingw-w64-fmt-8.0.0-5-any.pkg.tar.zst b/mingw/mingw-w64-fmt-8.0.0-5-any.pkg.tar.zst new file mode 100644 index 0000000..5658074 Binary files /dev/null and b/mingw/mingw-w64-fmt-8.0.0-5-any.pkg.tar.zst differ diff --git a/mingw/mingw-w64-qt5-base-5.15.2-1-x86_64.pkg.tar.zst b/mingw/mingw-w64-qt5-base-5.15.2-1-x86_64.pkg.tar.zst new file mode 100644 index 0000000..a224130 Binary files /dev/null and b/mingw/mingw-w64-qt5-base-5.15.2-1-x86_64.pkg.tar.zst differ diff --git a/mingw/mingw-w64-qt5-declarative-5.15.2-1-x86_64.pkg.tar.zst b/mingw/mingw-w64-qt5-declarative-5.15.2-1-x86_64.pkg.tar.zst new file mode 100644 index 0000000..83dfde7 Binary files /dev/null and b/mingw/mingw-w64-qt5-declarative-5.15.2-1-x86_64.pkg.tar.zst differ diff --git a/mingw/mingw-w64-qt5-graphicaleffects-5.15.2-1-any.pkg.tar.zst b/mingw/mingw-w64-qt5-graphicaleffects-5.15.2-1-any.pkg.tar.zst new file mode 100644 index 0000000..8f92cf4 Binary files /dev/null and b/mingw/mingw-w64-qt5-graphicaleffects-5.15.2-1-any.pkg.tar.zst differ diff --git a/mingw/mingw-w64-qt5-multimedia-5.15.2-1-any.pkg.tar.zst b/mingw/mingw-w64-qt5-multimedia-5.15.2-1-any.pkg.tar.zst new file mode 100644 index 0000000..2b6bf34 Binary files /dev/null and b/mingw/mingw-w64-qt5-multimedia-5.15.2-1-any.pkg.tar.zst differ diff --git a/mingw/mingw-w64-qt5-tools-5.15.2-1-x86_64.pkg.tar.zst b/mingw/mingw-w64-qt5-tools-5.15.2-1-x86_64.pkg.tar.zst new file mode 100644 index 0000000..0adea36 Binary files /dev/null and b/mingw/mingw-w64-qt5-tools-5.15.2-1-x86_64.pkg.tar.zst differ diff --git a/mingw/mingw-w64-qt5-winextras-5.15.2-1-any.pkg.tar.zst b/mingw/mingw-w64-qt5-winextras-5.15.2-1-any.pkg.tar.zst new file mode 100644 index 0000000..634d939 Binary files /dev/null and b/mingw/mingw-w64-qt5-winextras-5.15.2-1-any.pkg.tar.zst differ diff --git a/mingw/mingw-w64-zstd-1.5.0-1-any.pkg.tar.zst b/mingw/mingw-w64-zstd-1.5.0-1-any.pkg.tar.zst new file mode 100644 index 0000000..2ec4817 Binary files /dev/null and b/mingw/mingw-w64-zstd-1.5.0-1-any.pkg.tar.zst differ diff --git a/qt/YOU_MUST_BUILD_AND_INCLUDE_ICU_WITH_QT b/qt/YOU_MUST_BUILD_AND_INCLUDE_ICU_WITH_QT new file mode 100644 index 0000000..e69de29 diff --git a/qt/build_qt.sh b/qt/build_qt.sh new file mode 100644 index 0000000..fc48fe3 --- /dev/null +++ b/qt/build_qt.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +# This script is meant to make it easy to rebuild packages using the +# linux-fresh yuzu-emu container. + +# Run this from within the source directory + +THIS=$(readlink -e $0) +USER_ID=${1} +GROUP_ID=${2} +VERSION=5_15_2 +BASE_NAME=$(readlink -e $(pwd) | sed 's/.*\///g') +ARCHIVE_NAME=${BASE_NAME}_${VERSION}.tar.xz +NUM_CORES=$(nproc) + + +mkdir build || true +cd build +mkdir out || true +../configure -opensource -confirm-license -prefix $(pwd)/out -xcb -xcb-xlib -qpa xcb -xkbcommon -gtk -icu +make -j${NUM_CORES} NINJAJOBS=-j${NUM_CORES} +make -j${NUM_CORES} install DESTDIR=out + +# Don't forget to include ICU libraries, then run `patchelf --set-rpath '$ORIGIN/../lib' [library]` on all of them + diff --git a/qt/qt5_5_15_2.tar.xz b/qt/qt5_5_15_2.tar.xz new file mode 100644 index 0000000..c36fb94 Binary files /dev/null and b/qt/qt5_5_15_2.tar.xz differ diff --git a/qt/start_build.sh b/qt/start_build.sh new file mode 100644 index 0000000..80b4efd --- /dev/null +++ b/qt/start_build.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +# Kicks off the build script using the linux-fresh build container. + +if [ "$#" -ne 2 ]; then + echo "usage: $0 " + 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} +