Merge pull request 'mv egl to wrapper' (#4) from v.1.3.0 into main
Reviewed-on: #4
This commit is contained in:
commit
6e4f18fbc6
2 changed files with 7 additions and 1 deletions
|
|
@ -1,5 +1,11 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Generated by flutpak — https://github.com/o-murphy/flutpak
|
# Generated by flutpak — https://github.com/o-murphy/flutpak
|
||||||
APP=/app/mih
|
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:-}"
|
export LD_LIBRARY_PATH="$APP/lib:${LD_LIBRARY_PATH:-}"
|
||||||
exec "$APP/mzansi_innovation_hub" "$@"
|
exec "$APP/mzansi_innovation_hub" "$@"
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,10 @@ sdk-extensions:
|
||||||
command: mih
|
command: mih
|
||||||
finish-args:
|
finish-args:
|
||||||
- --share=ipc
|
- --share=ipc
|
||||||
|
- --share=network
|
||||||
- --socket=fallback-x11
|
- --socket=fallback-x11
|
||||||
- --socket=wayland
|
- --socket=wayland
|
||||||
- --device=dri
|
- --device=dri
|
||||||
- --env=__EGL_VENDOR_LIBRARY_FILENAMES=/usr/lib/x86_64-linux-gnu/GL/glvnd/egl_vendor.d/50_mesa.json
|
|
||||||
modules:
|
modules:
|
||||||
- name: pdfium
|
- name: pdfium
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue