Init, adding corrade,magnum,magnum-plugins,magnum-integration,magnum-extras, and magnum-examples 2025.47_1

This commit is contained in:
2025-11-19 13:35:26 +02:00
parent 6031ef978f
commit 17b687c5c1
346 changed files with 28087 additions and 12 deletions

View File

@@ -0,0 +1,21 @@
# This hook warns if :
# - Any text file /usr/{bin,lib,libexec,share} contains $XBPS_CROSS_BASE
# - Any text file /usr/{bin,lib,libexec,share} contains $XBPS_WRAPPERDIR
hook() {
if [ -z "$CROSS_BUILD" ]; then
return 0
fi
for d in bin lib libexec share; do
for f in $PKGDESTDIR/usr/$d/* $PKGDESTDIR/usr/$d/**/*; do
case "$(file -bi "$f")" in
text/*) if grep -q -e "$XBPS_CROSS_BASE" \
-e "$XBPS_WRAPPERDIR" "$f"; then
msg_warn "${f#$PKGDESTDIR} has cross cruft\n"
fi
;;
esac
done
done
return 0;
}