diff options
-rw-r--r-- | sys-firmware/nvidia-firmware/ChangeLog | 8 | ||||
-rw-r--r-- | sys-firmware/nvidia-firmware/nvidia-firmware-340.32.ebuild | 43 |
2 files changed, 50 insertions, 1 deletions
diff --git a/sys-firmware/nvidia-firmware/ChangeLog b/sys-firmware/nvidia-firmware/ChangeLog index b8ebbffe66fd..c571e80665af 100644 --- a/sys-firmware/nvidia-firmware/ChangeLog +++ b/sys-firmware/nvidia-firmware/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-firmware/nvidia-firmware # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-firmware/nvidia-firmware/ChangeLog,v 1.1 2014/08/17 16:01:32 idl0r Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-firmware/nvidia-firmware/ChangeLog,v 1.2 2014/08/23 23:07:12 idl0r Exp $ + +*nvidia-firmware-340.32 (23 Aug 2014) + + 23 Aug 2014; Christian Ruppert <idl0r@gentoo.org> + +nvidia-firmware-340.32.ebuild: + Version bump *nvidia-firmware-325.15 (17 Aug 2014) diff --git a/sys-firmware/nvidia-firmware/nvidia-firmware-340.32.ebuild b/sys-firmware/nvidia-firmware/nvidia-firmware-340.32.ebuild new file mode 100644 index 000000000000..76ab1901a344 --- /dev/null +++ b/sys-firmware/nvidia-firmware/nvidia-firmware-340.32.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-firmware/nvidia-firmware/nvidia-firmware-340.32.ebuild,v 1.1 2014/08/23 23:07:12 idl0r Exp $ + +EAPI=5 + +inherit unpacker + +NV_URI="http://us.download.nvidia.com/XFree86/" +X86_NV_PACKAGE="NVIDIA-Linux-x86-${PV}" + +EXTRACT_FIRMWARE_REV="96641bfebb2547402b2145fcf0e3116410f0da87" + +DESCRIPTION="Kernel and mesa firmware for nouveau (video accel and pgraph)" +HOMEPAGE="http://nouveau.freedesktop.org/wiki/VideoAcceleration/" +SRC_URI="${NV_URI}Linux-x86/${PV}/${X86_NV_PACKAGE}.run + https://raw.github.com/imirkin/re-vp2/${EXTRACT_FIRMWARE_REV}/extract_firmware.py -> nvidia_extract_firmware-${PV}.py" + +LICENSE="MIT NVIDIA-r2" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +DEPEND="=dev-lang/python-2*" +RDEPEND="" + +RESTRICT="bindist mirror" + +S="${WORKDIR}" + +src_unpack() { + mkdir "${S}/${X86_NV_PACKAGE}" + cd "${S}/${X86_NV_PACKAGE}" + unpack_makeself "${X86_NV_PACKAGE}.run" +} + +src_compile() { + python2 "${DISTDIR}"/nvidia_extract_firmware-${PV}.py || die "Extracting firmwares failed..." +} + +src_install() { + insinto /lib/firmware/nouveau + doins nv* vuc-* +} |