desktop/gnome-photos: Check executable update-gdk-pixbuf-loaders.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Bob Funk 2022-06-17 03:27:13 +01:00 committed by Willy Sudiarto Raharjo
parent 5b6c4a5e05
commit 8c7cd9284a
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -79,7 +79,9 @@ find -L . \
# gnome-photos fails to build in a fresh build environment, complaining
# that it doesn't recognize svg formats. Updating the pixbuf loaders
# gets it working:
/usr/bin/update-gdk-pixbuf-loaders
if [ -x /usr/bin/update-gdk-pixbuf-loaders ]; then
/usr/bin/update-gdk-pixbuf-loaders
fi
mkdir build
cd build