Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This hook is wrong in many ways and should go away ASAP. The reason it is there is that cross builds using the 'gir' mockery sometimes, but not always, install *.gir files in a wrong /destdir path. wrong: /destdir/usr/aarch64-linux-musl/polkit-0.116_3/usr/aarch64-linux-musl/usr/share/gir-1.0 right: /destdir/usr/aarch64-linux-musl/polkit-0.116_3/usr/share/gir-1.0 This hook detects the extraneous usr/${XBPS_TARGET_TRIPLET}/usr/share path and copies files to the right path using bsdtar, then removes the wrong path. The previous hack started to fail after @q66 cleaned up the lib32 vs. lib64 handling in cross toolchains. This "fix", again, is nothing but an ugly hack. Somewhere in the install of cross gobject-introspection there is a place where the original ${DESTDIR} is erroneously appended again.
- Loading branch information