gtk+3: remove installed libepoxy

This commit is contained in:
Owen Rafferty 2022-06-10 02:05:52 -05:00
parent 2d692d9759
commit 26c9401cba
No known key found for this signature in database
GPG Key ID: A68B10E2554DEBCB

View File

@ -49,9 +49,14 @@ ninja -C output install
# compiler errors for some packages. It has no use at all.
rm -f "$1/usr/bin/gtk-encode-symbolic-svg"
# Remove epoxy references from installed pkg-config files. The build system
# should have done this for us as it is statically linked.
# Remove libepoxy and its references from installed pkg-config files. The build
# system should have done this for us as it is statically linked.
for f in "$1/usr/lib/pkgconfig/"*.pc; do
sed 's/epoxy >= 1.4//' "$f" > _
mv -f _ "$f"
done
rm -rf \
"$1/usr/lib/pkgconfig/epoxy.pc" \
"$1/usr/lib/libepoxy.a" \
"$1/usr/include/epoxy"