blob: 5d44075fb4c49b93661fa64c6ae98d033e6fda30 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001#!/bin/sh
2
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05003set -e
4
Patrick Williamsc124f4f2015-09-15 14:41:29 -05005export GDK_PIXBUF_MODULEDIR=$D${libdir}/gdk-pixbuf-2.0/2.10.0/loaders
6export GDK_PIXBUF_FATAL_LOADER=1
7
8PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\
Patrick Williamsf1e5d692016-03-30 15:21:19 -05009 $D${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050010 >$GDK_PIXBUF_MODULEDIR/../loaders.cache && \
11 sed -i -e "s:$D::g" $GDK_PIXBUF_MODULEDIR/../loaders.cache