nvidia: update to 313.26.
This commit is contained in:
parent
7bf68c59ff
commit
139db19dea
4 changed files with 7 additions and 19 deletions
|
@ -1,10 +0,0 @@
|
||||||
--- kernel/conftest.sh.orig
|
|
||||||
+++ kernel/conftest.sh
|
|
||||||
@@ -160,6 +160,7 @@ build_cflags() {
|
|
||||||
|
|
||||||
if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then
|
|
||||||
CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include"
|
|
||||||
+ CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include/uapi"
|
|
||||||
CFLAGS="$CFLAGS -I$OUTPUT/arch/x86/include/generated"
|
|
||||||
CFLAGS="$CFLAGS -I$OUTPUT/arch/x86/include/generated/uapi"
|
|
||||||
elif [ "$ARCH" = "arm" ]; then
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'nvidia-dkms'.
|
# Template file for 'nvidia-dkms'.
|
||||||
#
|
#
|
||||||
short_desc="NVIDIA non free driver for linux -- DKMS kernel module"
|
short_desc="NVIDIA drivers for linux -- DKMS kernel module"
|
||||||
nonfree=yes
|
nonfree=yes
|
||||||
triggers="dkms"
|
triggers="dkms"
|
||||||
dkms_modules="nvidia ${version}"
|
dkms_modules="nvidia ${version}"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'nvidia-opencl'.
|
# Template file for 'nvidia-opencl'.
|
||||||
#
|
#
|
||||||
short_desc="NVIDIA non free driver for linux -- OpenCL implementation"
|
short_desc="NVIDIA drivers for linux -- OpenCL implementation"
|
||||||
nonfree=yes
|
nonfree=yes
|
||||||
provides="libOpenCL-${version}"
|
provides="libOpenCL-${version}"
|
||||||
replaces="libOpenCL>=0"
|
replaces="libOpenCL>=0"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# Template file for 'nvidia'
|
# Template file for 'nvidia'
|
||||||
pkgname=nvidia
|
pkgname=nvidia
|
||||||
version=313.18
|
version=313.26
|
||||||
revision=4
|
revision=1
|
||||||
short_desc="NVIDIA non free driver for linux -- libraries and utilities"
|
short_desc="NVIDIA drivers for linux -- libraries and utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="Propietary NVIDIA license"
|
license="Propietary NVIDIA license"
|
||||||
homepage="http://www.nvidia.com"
|
homepage="http://www.nvidia.com"
|
||||||
|
@ -17,11 +17,11 @@ conflicts="catalyst>=0"
|
||||||
if [ "${XBPS_MACHINE}" = "i686" ]; then
|
if [ "${XBPS_MACHINE}" = "i686" ]; then
|
||||||
_pkg="NVIDIA-Linux-x86-${version}"
|
_pkg="NVIDIA-Linux-x86-${version}"
|
||||||
distfiles="ftp://download.nvidia.com/XFree86/Linux-x86/${version}/${_pkg}.run"
|
distfiles="ftp://download.nvidia.com/XFree86/Linux-x86/${version}/${_pkg}.run"
|
||||||
checksum=58e5e2191890ace94849444f5d2de4c2921dfe02cd97825d81a128754ff4488f
|
checksum=9d4864bb954315197a955fcb348ed1eaa0ceb5cdb74aeba7afc07f58c01aaece
|
||||||
else
|
else
|
||||||
_pkg="NVIDIA-Linux-x86_64-${version}-no-compat32"
|
_pkg="NVIDIA-Linux-x86_64-${version}-no-compat32"
|
||||||
distfiles="ftp://download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
|
distfiles="ftp://download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
|
||||||
checksum=5e1611792e801cdf86ca5d9a8387839b56b533840891ff8ab5f8b1e4c8af408b
|
checksum=a8c24df16ad14750d11bd066f60a3c3e35972472a59ccc3e26dc60a0fd5fdbf3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
do_extract() {
|
do_extract() {
|
||||||
|
@ -33,8 +33,6 @@ do_extract() {
|
||||||
do_install() {
|
do_install() {
|
||||||
cd ${_pkg}
|
cd ${_pkg}
|
||||||
|
|
||||||
patch -Np0 -i ${FILESDIR}/linux-3.8.patch
|
|
||||||
|
|
||||||
# X driver
|
# X driver
|
||||||
vinstall nvidia_drv.so 755 usr/lib/xorg/modules/drivers
|
vinstall nvidia_drv.so 755 usr/lib/xorg/modules/drivers
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue