helvum: remove unused post_patch

This commit is contained in:
0x5c
2026-06-01 03:28:16 -04:00
committed by classabbyamp
parent 7f8296b771
commit 0344e7f948
-11
View File
@@ -13,17 +13,6 @@ homepage="https://gitlab.freedesktop.org/pipewire/helvum"
distfiles="https://gitlab.freedesktop.org/pipewire/helvum/-/archive/${version}/helvum-${version}.tar.gz"
checksum=9f1ec78186dd9de5b3c5a4718c88eb2a4a4bf9de78d477cb4db0ea304567349c
post_patch() {
cat <<-EOF >> "Cargo.toml"
[patch.crates-io]
pipewire = {git="https://gitlab.freedesktop.org/pipewire/pipewire-rs.git", rev="03301bc734c9f1d3fb7a064c072458ad00245133"}
libspa = {git="https://gitlab.freedesktop.org/pipewire/pipewire-rs.git", rev="03301bc734c9f1d3fb7a064c072458ad00245133"}
EOF
# Needed to get the above to register
cargo update --package pipewire@0.9.2
cargo update --package libspa@0.9.2
}
post_install() {
# Normally, meson would do this, but it's simpler to use the cargo build style and do this manually
# This also avoids the need for makedeps/build steps that are made unnecessary by xbps' hooks