mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-22 22:36:00 +00:00
Build FEX's latest release, point releases included (#3026)
The FEX build pinned FEX-2610 and its tag checks only accepted four digits, so FEX-2611.1 was never picked up. The build now takes the latest release tag, and Fixed-upstream compares the four-digit release. CMake 4.5 rejects DEPENDS in install(CODE), which stopped host thunk builds; patch 0007 drops it.
This commit is contained in:
1 parent
fd2e1652ad
commit
2d38f11b36
4 files changed
+34
-4
No files matched your search
@@ -1,6 +1,8 @@
|
||||
#!/usr/bin/bash
|
||||
set -euxo pipefail
|
||||
VERSION=${FEX_VERSION:-FEX-2610}
|
||||
VERSION=${FEX_VERSION:?FEX_VERSION must name a FEX release tag, e.g. FEX-2611.1}
|
||||
RELEASE=${VERSION#FEX-}
|
||||
RELEASE=${RELEASE%%.*}
|
||||
WORK=/work
|
||||
cd "$WORK"
|
||||
grep -q '^DisableSandbox' /etc/pacman.conf || sed -i 's/^\[options\]/[options]\nDisableSandbox/' /etc/pacman.conf
|
||||
@@ -38,7 +40,7 @@ fi
|
||||
rm -rf fex-src out && git clone -q --depth 1 --branch "$VERSION" --recurse-submodules --shallow-submodules https://github.com/FEX-Emu/FEX.git fex-src
|
||||
for p in tools/fex/patches/*.patch; do
|
||||
upstream=$(sed -n 's/^Fixed-upstream: FEX-\([0-9]\{4\}\)$/\1/p' "$p")
|
||||
if [ -n "$upstream" ] && [ "${VERSION#FEX-}" -ge "$upstream" ]; then
|
||||
if [ -n "$upstream" ] && [ "$RELEASE" -ge "$upstream" ]; then
|
||||
echo "$(basename "$p"): already in FEX-$upstream, skipped for $VERSION"
|
||||
continue
|
||||
fi
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 8976588..3ae54f4 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -776,7 +776,6 @@ if (BUILD_THUNKS)
|
||||
CODE "
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} --build . --target install
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/Guest)"
|
||||
- DEPENDS guest-libs
|
||||
COMPONENT Runtime)
|
||||
|
||||
install(
|
||||
@@ -784,7 +783,6 @@ if (BUILD_THUNKS)
|
||||
CODE "
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} --build . --target install
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/Guest_32)"
|
||||
- DEPENDS guest-libs-32
|
||||
COMPONENT Runtime)
|
||||
|
||||
add_custom_target(uninstall_guest-libs
|
||||
Reference in new issue
Block a user