Skip to content

Commit 0f4a7c8

Browse files
committed
fix: set LIBHEIF_PLUGIN_PATH
This commit ensures that the `LIBHEIF_PLUGIN_PATH` is set, without which the library is unable to find any decoders, and therefore GIMP is unable to open HEIC/HEIF files.
1 parent c3bf040 commit 0f4a7c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

snap/snapcraft.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ environment:
7575
# The extension will fail on GIMP startup but commenting these lines avoids the risk of a nasty crash loop
7676
#LUA_PATH: $SNAP/usr/share/lua/5.1/?.lua;$SNAP/usr/share/lua/5.1/lgi/?.lua;$SNAP/usr/share/lua/5.1/lgi/override/?.lua
7777
#LUA_CPATH: $SNAP/usr/lib/x86_64-linux-gnu/lua/5.1/?.so
78+
LIBHEIF_PLUGIN_PATH: $SNAP/gnome-platform/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libheif/plugins
7879

7980
apps:
8081
gimp:

0 commit comments

Comments
 (0)