ports/gdk-pixbuf: Add init script to update pixbuf loader cache
If the loader cache is not updated, pixbuf fails to load anything :)
This commit is contained in:
@@ -26,3 +26,12 @@ build() {
|
|||||||
install() {
|
install() {
|
||||||
meson install --destdir="$DESTDIR" -C build || exit 1
|
meson install --destdir="$DESTDIR" -C build || exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
mkdir -p "$DESTDIR/etc/init.d"
|
||||||
|
cat > "$DESTDIR/etc/init.d/gdk-pixbuf-update-loaders" << EOF
|
||||||
|
#!/bin/Shell
|
||||||
|
exec gdk-pixbuf-query-loaders --update-cache
|
||||||
|
EOF
|
||||||
|
chmod +x "$DESTDIR/etc/init.d/gdk-pixbuf-update-loaders"
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user