blob: ebea07c356a381fc7fcbe237c7e816a7e41aeec1 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001#!/bin/sh
2
3set -e
4
5export GDK_PIXBUF_MODULEDIR=$D${libdir}/gdk-pixbuf-2.0/2.10.0/loaders
6export GDK_PIXBUF_FATAL_LOADER=1
7
8PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders \
9 >$GDK_PIXBUF_MODULEDIR/../loaders.cache && \
10 sed -i -e "s:$D::g" $GDK_PIXBUF_MODULEDIR/../loaders.cache