blob: a8b4001069e9c2213c7e10a8946bcef31f3db536 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001#!/bin/sh
2
3export GDK_PIXBUF_MODULEDIR=$D${libdir}/gdk-pixbuf-2.0/2.10.0/loaders
4export GDK_PIXBUF_FATAL_LOADER=1
5
6PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\
Patrick Williamsf1e5d692016-03-30 15:21:19 -05007 $D${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders \
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008 >$GDK_PIXBUF_MODULEDIR/../loaders.cache && \
9 sed -i -e "s:$D::g" $GDK_PIXBUF_MODULEDIR/../loaders.cache