Browse Source

fix pkg, ffmpeg

Signed-off-by: crueter <crueter@eden-emu.dev>
pull/147/head
crueter 8 months ago
parent
commit
a8e8464a26
  1. 16
      .ci/macos/package.sh
  2. 6
      CMakeLists.txt

16
.ci/macos/package.sh

@ -5,8 +5,10 @@
cd build
APP=./bin/eden.app
macdeployqt "$APP"
macdeployqt "$APP" -always-overwrite
cp -r $APP bin/old-eden.app
macdeployqt "$APP" -verbose=2
macdeployqt "$APP" -always-overwrite -verbose=2
# FixMachOLibraryPaths
find "$APP/Contents/Frameworks" ""$APP/Contents/MacOS"" -type f \( -name "*.dylib" -o -perm +111 \) | while read file; do
@ -24,11 +26,9 @@ find "$APP/Contents/Frameworks" ""$APP/Contents/MacOS"" -type f \( -name "*.dyli
fi
fi
done
codesign --deep --force --verify --verbose --sign - "$APP"
ZIP_NAME="eden-macos.zip"
mkdir -p artifacts
codesign --deep --force --verbose -s - "$APP"
mv $APP .
7z a -tzip "$ZIP_NAME" eden.app
mv "$ZIP_NAME" artifacts/
mkdir -p artifacts
tar czf artifacts/eden.tar.zst "$APP"
mv artifacts ..

6
CMakeLists.txt

@ -52,10 +52,10 @@ CMAKE_DEPENDENT_OPTION(YUZU_USE_BUNDLED_QT "Download bundled Qt binaries" "${MSV
option(ENABLE_WEB_SERVICE "Enable web services (telemetry, etc.)" ON)
option(ENABLE_WIFI_SCAN "Enable WiFi scanning" OFF)
if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
option(YUZU_USE_BUNDLED_FFMPEG "Download/Build bundled FFmpeg" OFF)
if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR APPLE)
option(YUZU_USE_BUNDLED_FFMPEG "Download/Build bundled FFmpeg" OFF)
else()
option(YUZU_USE_BUNDLED_FFMPEG "Download/Build bundled FFmpeg" ON)
option(YUZU_USE_BUNDLED_FFMPEG "Download/Build bundled FFmpeg" ON)
endif()
if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")

Loading…
Cancel
Save