Skip to content

Commit

Permalink
Restored x11 plugin for snap
Browse files Browse the repository at this point in the history
  • Loading branch information
ronen25 committed Jun 16, 2018
1 parent 1349dce commit 1b21f28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ build-packages:
apps:
panorama:
plugs:
- x11
- opengl
- process-control
- hardware-observe
Expand Down
4 changes: 2 additions & 2 deletions src/panorama-snap-launch
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ armhf) ARCH="arm-linux-gnueabihf";;
esac

# Tell libGL where to find the drivers
export LIBGL_DRIVERS_PATH=$SNAP/usr/lib/$ARCH/dri
export LD_LIBRARY_PATH="$SNAP/usr/lib/$ARCH/pulseaudio:$LD_LIBRARY_PATH"
export LIBGL_DRIVERS_PATH=$SNAP/usr/lib/$ARCH/dri;
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SNAP/usr/lib/$ARCH/pulseaudio;

exec "$@"

0 comments on commit 1b21f28

Please sign in to comment.