Commit 480baa83 authored by Bhushan Shah's avatar Bhushan Shah

Install libgl files from the libhybris-egl instead of the libdir

Also install to 1.4 instead of 1.0
parent 550b2672
Pipeline #35103309 passed with stage
in 1 minute and 39 seconds
......@@ -8,7 +8,6 @@ FILES="libandroid-properties.so.1
libsf.so.1.0.0
libsf.so.1
libui.so.1
libEGL.so.1.0.0
libhybris/linker/n.so
libhybris/linker/jb.so
libhybris/linker/mm.so
......@@ -18,35 +17,37 @@ FILES="libandroid-properties.so.1
libhybris/libhardware.so.2
libhybris/eglplatform_fbdev.so
libhybris_ics.so
libwayland-egl.so.1
libhybris-common.so.1
libis.so.1
libGLESv2.so.2.0.0
libOpenCL.so.1.0.0
libcamera.so.1
libcamera.so.1.0.0
libnfc_nxp.so.1
libOpenCL.so.1
libsync.so.2
libsync.so.2.0.0
libandroid-properties.so.1.0.0
libvibrator.so.1
libhybris-eglplatformcommon.so.1.0.0
libwayland-egl.so.1.0.0
libhybris-common.so.1.0.0
libhardware.so.2.0.0
libhybris-eglplatformcommon.so.1
libis.so.1.0.0
libhardware.so.2
libhybris-hwcomposerwindow.so.1
libGLESv1_CM.so.1
libEGL.so.1
libGLESv1_CM.so.1.0.1
libwifi.so.1.0.0
libGLESv2.so.2
libvibrator.so.1.0.0"
TARGET="/var/lib/flatpak/extension/org.freedesktop.Platform.GL.default/#DEB_HOST_GNU_CPU#/1.0/lib"
LIBGL_FILES="libhybris-egl/libEGL.so.1
libhybris-egl/libEGL.so.1.0.0
libhybris-egl/libGLESv1_CM.so.1
libhybris-egl/libGLESv1_CM.so.1.0.1
libhybris-egl/libGLESv2.so.2
libhybris-egl/libGLESv2.so.2.0.0
libhybris-egl/libOpenCL.so.1
libhybris-egl/libOpenCL.so.1.0.0
libhybris-egl/libwayland-egl.so.1
libhybris-egl/libwayland-egl.so.1.0.0"
TARGET="/var/lib/flatpak/extension/org.freedesktop.Platform.GL.default/#DEB_HOST_GNU_CPU#/1.4/lib"
LIBDIR="/usr/lib/#DEB_HOST_MULTIARCH#"
case "$1" in
......@@ -65,6 +66,13 @@ case "$1" in
fi
done
for file in ${LIBGL_FILES}; do
if [ -f ${LIBDIR}/$file ]; then
echo " $file"
cp -a ${LIBDIR}/${file} ${TARGET}
fi
done
if ! [ -f ${TARGET}/libhybris/libhardware.so.2 ]; then
ln -s ../libhardware.so.2.0.0 ${TARGET}/libhybris/libhardware.so.2
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment