PKG_NAME=xf86-video-nvidia
PKG_VERSION="280.13"
[ "$TARGET_ARCH" = i386 ] && \
  PKG_URL="ftp://download.nvidia.com/XFree86/Linux-x86/${PKG_VERSION}/NVIDIA-Linux-x86-${PKG_VERSION}.run"
[ "$TARGET_ARCH" = x86_64 ] && \
  PKG_URL="ftp://download.nvidia.com/XFree86/Linux-x86_64/${PKG_VERSION}/NVIDIA-Linux-x86_64-${PKG_VERSION}-no-compat32.run"
PKG_REV=1
PKG_ARCH="i386 x86_64"
PKG_LICENSE=non-free
PKG_BUILD_DEPENDS="toolchain xorg-server"
PKG_RUN_DEPENDS="$TARGET_LIBC xorg-server"
PKG_USE="vdpau"
PKG_PRIORITY=optional
PKG_SECTION=x11
PKG_SHORTDESC="NVIDIA binary Xorg driver"
PKG_LONGDESC="These binary drivers provide optimized hardware acceleration of OpenGL applications via a direct-rendering X Server. AGP, PCIe, SLI, TV-out and flat panel displays are also supported. This version only supports GeForce 6xxx and higher of the Geforce GPUs plus complimentary Quadros and nforce."
