Init, adding corrade,magnum,magnum-plugins,magnum-integration,magnum-extras, and magnum-examples 2025.47_1
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# This hook removes reference to $XBPS_CROSS_BASE in
|
||||
# /usr/{lib,share}/pkgconfig/*.pc
|
||||
#
|
||||
# We don't touch /usr/bin/*-config since there're other information that
|
||||
# references $XBPS_CROSS_BASE
|
||||
|
||||
hook() {
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
return 0
|
||||
fi
|
||||
for f in "$PKGDESTDIR"/usr/lib/pkgconfig/*.pc \
|
||||
"$PKGDESTDIR"/usr/share/pkgconfig/*.pc
|
||||
do
|
||||
if [ -f "$f" ]; then
|
||||
# Sample sed script
|
||||
# s,/usr/armv7l-linux-musleabihf/usr,/usr,g
|
||||
# trailing /usr to avoid clashing with
|
||||
# other $XBPS_CROSS_BASE and $XBPS_CROSS_TRIPLET.
|
||||
sed -i --follow-symlinks \
|
||||
-e "s,$XBPS_CROSS_BASE/usr,/usr,g" "$f"
|
||||
fi
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user