mirror of
https://github.com/yuzu-emu/ext-linux-bin.git
synced 2024-11-24 06:25:42 +01:00
8d5ef24953
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.
26 lines
697 B
Bash
26 lines
697 B
Bash
#!/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
|
|
|