Commit 006275e2 authored by Xuetian Weng's avatar Xuetian Weng
Browse files

add egl symlink for nvidia-173xx

parent 702ebe32
...@@ -3,20 +3,28 @@ ...@@ -3,20 +3,28 @@
pkgname=nvidia-173xx-utils pkgname=nvidia-173xx-utils
pkgver=173.14.39 pkgver=173.14.39
pkgrel=3 pkgrel=4
pkgdesc="NVIDIA drivers utilities and libraries, 173xx branch." pkgdesc="NVIDIA drivers utilities and libraries, 173xx branch."
arch=('x86_64') arch=('x86_64')
url="" url=""
depends=('xorg-server') depends=('xorg-server' 'mesa')
conflicts=('nvidia-utils' 'libgl' 'mesa-libgl')
provides=('libgl' 'mesa-libgl')
optdepends=('gtk2: nvidia-settings' 'pkgconfig: nvidia-xconfig') optdepends=('gtk2: nvidia-settings' 'pkgconfig: nvidia-xconfig')
conflicts=('nvidia-utils' 'libgl')
license=('custom') license=('custom')
install=nvidia.install install=nvidia.install
options=(!strip) options=(!strip)
source=("${arch}/${pkgver}/NVIDIA-Linux-${arch}-${pkgver}") source=("${arch}/${pkgver}/NVIDIA-Linux-${arch}-${pkgver}")
md5sums=('0799f194869e40141c7bac8a71762db6') md5sums=('0799f194869e40141c7bac8a71762db6')
_mesa_EGL_links() {
for _lib in '' '' '' ; do
for _sfx in '' '.?.?' '.?.?.?' ; do
ln -s mesa/$_lib ${_lib%$_sfx}
package() { package() {
cd $srcdir cd $srcdir
sh NVIDIA-Linux-${arch}-${pkgver} --extract-only sh NVIDIA-Linux-${arch}-${pkgver} --extract-only
...@@ -46,6 +54,7 @@ package() { ...@@ -46,6 +54,7 @@ package() {
ln -s$pkgver ln -s$pkgver
ln -s$pkgver ln -s$pkgver
cd $pkgdir/usr/lib/xorg/modules cd $pkgdir/usr/lib/xorg/modules
cd $pkgdir/usr/lib/xorg/modules/extensions cd $pkgdir/usr/lib/xorg/modules/extensions
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