mutter: fix typelibdir variable

Previously we were using pc_sysrootdir which is an issue since this is used for
the rpath.
This commit is contained in:
oreo639 2022-07-08 01:37:08 -07:00 committed by Michal Vasilek
parent 26f4ec35e2
commit 797cb02fec

View file

@ -1,7 +1,7 @@
# Template file for 'mutter'
pkgname=mutter
version=42.3
revision=1
revision=2
build_helper="gir"
build_style=meson
configure_args="-Degl_device=true -Dudev=true -Dnative_backend=true
@ -35,7 +35,6 @@ post_install() {
# modify the pkg-config files to respect ${pc_sysrootdir} for variables that are
# meant to be called with 'pkg-config --variable'
vsed -e 's|^girdir.*|girdir=${pc_sysrootdir}/${libdir}/mutter-10|g' \
-e 's|^typelibdir.*|typelibdir=${pc_sysrootdir}/${libdir}/mutter-10|g' \
-i ${DESTDIR}/usr/lib/pkgconfig/libmutter-10.pc
}