libGL: prepare for upcoming nvidia pkg.
This commit is contained in:
parent
48f078e0cf
commit
4eeea37126
3 changed files with 12 additions and 1 deletions
9
srcpkgs/MesaLib/libGL.INSTALL
Normal file
9
srcpkgs/MesaLib/libGL.INSTALL
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Create libGL.so symlinks.
|
||||
case ${ACTION} in
|
||||
post)
|
||||
rm -f usr/lib/libGL.so usr/lib/libGL.so.1
|
||||
cd usr/lib
|
||||
ln -sf libGL-mesa.so* libGL.so
|
||||
ln -sf libGL-mesa.so* libGL.so.1
|
||||
;;
|
||||
esac
|
|
@ -13,4 +13,6 @@ replaces="MesaLib<7.11_2"
|
|||
|
||||
do_install() {
|
||||
vmove "usr/lib/libGL.so*" usr/lib
|
||||
rm -f ${DESTDIR}/usr/lib/libGL.so{,.1}
|
||||
mv ${DESTDIR}/usr/lib/libGL.so.1.2 ${DESTDIR}/usr/lib/libGL-mesa.so.1.2
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'MesaLib'.
|
||||
pkgname=MesaLib
|
||||
version=8.0.4
|
||||
revision=3
|
||||
revision=4
|
||||
wrksrc="Mesa-${version}"
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-glx-tls --enable-shared-glapi --enable-gallium-g3dvl
|
||||
|
|
Loading…
Reference in a new issue