Skip to content

Commit

Permalink
rsvg: remove workaround for zune-jpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Feb 19, 2025
1 parent 3f8bff4 commit 86888a5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions build/lin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -417,14 +417,8 @@ sed -i'.bak' "/image = /s/, \"gif\", \"webp\"//" rsvg/Cargo.toml
sed -i'.bak' "/cairo-rs = /s/, \"pdf\", \"ps\"//" {librsvg-c,rsvg}/Cargo.toml
# Skip build of rsvg-convert
sed -i'.bak' "/subdir('rsvg_convert')/d" meson.build
# https://github.com/etemesi254/zune-image/pull/187
# https://github.com/bevyengine/bevy/issues/14117#issuecomment-2236518551
# https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section
cat >> Cargo.toml <<EOL
[patch.crates-io]
zune-jpeg = { git = "https://github.com/ironpeak/zune-image.git", rev = "eebb01b" }
EOL
# Regenerate the lockfile for zune-jpeg
# Update and regenerate the lockfile for zune-jpeg
# https://github.com/etemesi254/zune-image/pull/242
cargo update zune-jpeg
# Remove the --static flag from the PKG_CONFIG env since Rust does not
# parse that correctly.
Expand Down

0 comments on commit 86888a5

Please sign in to comment.