nvidia304: apply linux-3.18 patch from nvidia; accept xorg-server-1.17.

This commit is contained in:
Juan RP 2015-02-05 07:10:24 +01:00
parent a91221bde5
commit 1f28134124

View File

@ -3,7 +3,7 @@ _desc="NVIDIA drivers for linux (304.xx series)"
pkgname=nvidia304
version=304.125
revision=2
revision=3
maintainer="Juan RP <xtraeme@gmail.com>"
license="Propietary NVIDIA license"
homepage="http://www.nvidia.com"
@ -12,7 +12,7 @@ repository="nonfree"
create_wrksrc=yes
only_for_archs="i686 x86_64"
short_desc="${_desc} - Libraries and Utilities"
depends="virtual?xserver-abi-video<19 ${pkgname}-dkms-${version}_${revision} pkg-config"
depends="virtual?xserver-abi-video<20 ${pkgname}-dkms-${version}_${revision} pkg-config"
provides="nvidia-${version}_${revision} libGL-${version}_${revision}"
replaces="nvidia>=0 libGL>=0"
conflicts="catalyst>=0"
@ -33,6 +33,10 @@ do_extract() {
./${_pkg}.run --extract-only
rm -f ${_pkg}.run
}
do_configure() {
cd ${_pkg}
patch -sNp0 -i ${XBPS_SRCPKGDIR}/nvidia/files/linux-3.18.patch
}
do_install() {
cd ${_pkg}