mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-21 19:35:49 +08:00
Merge pull request #71 from uncor3/dev
Update workflows for Rust and additional dependencies
This commit is contained in:
@@ -119,7 +119,7 @@ jobs:
|
||||
|
||||
base_url="https://github.com/libimobiledevice"
|
||||
|
||||
libs=( "libplist" )
|
||||
libs=( "libplist" "libtatsu" "libimobiledevice-glue" "libusbmuxd" "libimobiledevice" "libirecovery" "ifuse" )
|
||||
|
||||
for name in "${libs[@]}"; do
|
||||
ver_var=$(echo "${name^^}_VER" | sed 's/-/_/g') # e.g. LIBPLIST_VER
|
||||
|
||||
@@ -78,7 +78,12 @@ jobs:
|
||||
gst-plugins-bad \
|
||||
gst-plugins-ugly \
|
||||
gst-libav \
|
||||
create-dmg
|
||||
create-dmg \
|
||||
jpeg-xl \
|
||||
sqlite
|
||||
|
||||
- name: Setup Rust toolchain
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
|
||||
- name: Compile additional dependencies
|
||||
run: |
|
||||
|
||||
@@ -77,7 +77,14 @@ jobs:
|
||||
mingw-w64-x86_64-gst-plugins-ugly \
|
||||
mingw-w64-x86_64-gst-libav \
|
||||
mingw-w64-x86_64-libheif \
|
||||
mingw-w64-x86_64-libarchive
|
||||
mingw-w64-x86_64-libarchive \
|
||||
mingw-w64-x86_64-rustup
|
||||
|
||||
- name: Setup rust toolchain
|
||||
run: |
|
||||
rustup toolchain install stable-x86_64-pc-windows-gnu
|
||||
rustup default stable-x86_64-pc-windows-gnu
|
||||
rustup toolchain list
|
||||
|
||||
- uses: actions/setup-dotnet@v5
|
||||
with:
|
||||
|
||||
@@ -70,6 +70,9 @@ install_name_tool -id "@rpath/libjxl_cms.0.11.dylib" "${APP_PATH}/Contents/Frame
|
||||
# Add RPATH to main executable
|
||||
install_name_tool -add_rpath "@executable_path/../Frameworks" "${APP_PATH}/Contents/MacOS/iDescriptor"
|
||||
|
||||
# Bundle libsqlite3 - if not done macOS tries to load sqlite from system libs
|
||||
cp "$(brew --prefix sqlite3)/lib/libsqlite3.dylib" "${APP_PATH}/Contents/Frameworks/"
|
||||
install_name_tool -change /usr/lib/libsqlite3.dylib @rpath/libsqlite3.dylib "${APP_PATH}/Contents/MacOS/iDescriptor"
|
||||
|
||||
# Copy GStreamer + GLib core libraries
|
||||
GST_LIBS=(
|
||||
|
||||
Reference in New Issue
Block a user