mv egl to wrapper
This commit is contained in:
parent
4f00feef3e
commit
3f3a014add
2 changed files with 7 additions and 1 deletions
|
|
@ -1,5 +1,11 @@
|
|||
#!/bin/sh
|
||||
# Generated by flutpak — https://github.com/o-murphy/flutpak
|
||||
APP=/app/mih
|
||||
if [ "$FLATPAK_ARCH" = "aarch64" ]; then
|
||||
ARCH_TRIPLET="aarch64-linux-gnu"
|
||||
else
|
||||
ARCH_TRIPLET="x86_64-linux-gnu"
|
||||
fi
|
||||
export __EGL_VENDOR_LIBRARY_FILENAMES="/usr/lib/${ARCH_TRIPLET}/GL/glvnd/egl_vendor.d/50_mesa.json"
|
||||
export LD_LIBRARY_PATH="$APP/lib:${LD_LIBRARY_PATH:-}"
|
||||
exec "$APP/mzansi_innovation_hub" "$@"
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@ sdk-extensions:
|
|||
command: mih
|
||||
finish-args:
|
||||
- --share=ipc
|
||||
- --share=network
|
||||
- --socket=fallback-x11
|
||||
- --socket=wayland
|
||||
- --device=dri
|
||||
- --env=__EGL_VENDOR_LIBRARY_FILENAMES=/usr/lib/x86_64-linux-gnu/GL/glvnd/egl_vendor.d/50_mesa.json
|
||||
modules:
|
||||
- name: pdfium
|
||||
buildsystem: simple
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue