mesa-gl:moved to "simplified /usr" and towards RCS
[nyanlinux.git] / runtimes / mesa-gl-amd-sh-019770f026ad1e1a9b03ddacab2df252126fd636 / rt.sh
blob44c2585b98d94f2d1e886a0eb62aa49682efa39c
1 git_commit=${pkg_name##*-}
2 slot=$git_commit
4 cp /nyan/mesa-gl/$slot/libEGL_mesa.so.0.0.0 /usr/lib/libEGL_mesa.so.0
5 cp /nyan/mesa-gl/$slot/libGLX_mesa.so.0.0.0 /usr/lib/libGLX_mesa.so.0
6 cp /nyan/mesa-gl/$slot/libgallium_dri.so /usr/lib/libgallium_dri.so
7 cp /nyan/mesa-gl/$slot/libgbm.so.1.0.0 /usr/lib/libgbm.so.1
8 cp /nyan/mesa-gl/$slot/libglapi.so.0.0.0 /usr/lib/libglapi.so.0
10 mkdir /usr/lib/gbm
11 cp /nyan/mesa-gl/$slot/gbm/dri_gbm.so /usr/lib/gbm/dri_gbm.so
13 mkdir /usr/share/glvnd
14 mkdir /usr/share/glvnd/egl_vendor.d
15 cp /nyan/mesa-gl/$slot/glvnd/egl_vendor.d/50_mesa.json /usr/share/glvnd/egl_vendor.d/50_mesa.json
17 mkdir /usr/share/drirc.d
18 cp /nyan/mesa-gl/$slot/drirc.d/00-mesa-defaults.conf /usr/share/drirc.d/00-mesa-defaults.conf