core/vlc/vlc.install
Weng Xuetian a9a4ba52f0 workaround vlc segv
glib2 library is already marked as nodelete, no idea what can still cause
the problem. Just use ld_preload to workaround it.
2015-12-21 10:24:46 +01:00

17 lines
356 B
Plaintext

post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
LD_PRELOAD=/usr/lib/libgobject-2.0.so.0 usr/lib/vlc/vlc-cache-gen -f usr/lib/vlc/plugins
}
post_upgrade() {
post_install
}
pre_remove() {
rm -f usr/lib/vlc/plugins/plugins-*.dat
}
post_remove() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}