Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 731258 | Differences between
and this patch

Collapse All | Expand All

(-)nvidia-firmware-340.32.ebuild (-5 / +6 lines)
Lines 1-20 Link Here
1
# Copyright 1999-2019 Gentoo Authors
1
# Copyright 1999-2019 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI=5
4
EAPI=7
5
6
PYTHON_COMPAT=( python3_{6,7,8} )
5
7
6
PYTHON_COMPAT=( python2_7 )
7
inherit python-any-r1 unpacker
8
inherit python-any-r1 unpacker
8
9
9
NV_URI="http://us.download.nvidia.com/XFree86/"
10
NV_URI="http://us.download.nvidia.com/XFree86/"
10
X86_NV_PACKAGE="NVIDIA-Linux-x86-${PV}"
11
X86_NV_PACKAGE="NVIDIA-Linux-x86-${PV}"
11
12
12
EXTRACT_FIRMWARE_REV="96641bfebb2547402b2145fcf0e3116410f0da87"
13
EXTRACT_FIRMWARE_REV="a0b9f9be0efad90cc84b8b2eaf587c3d7d350ea9"
13
14
14
DESCRIPTION="Kernel and mesa firmware for nouveau (video accel and pgraph)"
15
DESCRIPTION="Kernel and mesa firmware for nouveau (video accel and pgraph)"
15
HOMEPAGE="https://nouveau.freedesktop.org/wiki/VideoAcceleration/"
16
HOMEPAGE="https://nouveau.freedesktop.org/wiki/VideoAcceleration/"
16
SRC_URI="${NV_URI}Linux-x86/${PV}/${X86_NV_PACKAGE}.run
17
SRC_URI="${NV_URI}Linux-x86/${PV}/${X86_NV_PACKAGE}.run
17
	https://raw.github.com/imirkin/re-vp2/${EXTRACT_FIRMWARE_REV}/extract_firmware.py -> nvidia_extract_firmware-${PV}.py"
18
	https://raw.github.com/envytools/firmware/${EXTRACT_FIRMWARE_REV}/extract_firmware.py -> nvidia_extract_firmware-${EXTRACT_FIRMWARE_REV}.py"
18
19
19
LICENSE="MIT NVIDIA-r2"
20
LICENSE="MIT NVIDIA-r2"
20
SLOT="0"
21
SLOT="0"
Lines 34-40 Link Here
34
}
35
}
35
36
36
src_compile() {
37
src_compile() {
37
	"${PYTHON}" "${DISTDIR}"/nvidia_extract_firmware-${PV}.py || die "Extracting firmwares failed..."
38
	"${PYTHON}" "${DISTDIR}"/nvidia_extract_firmware-${EXTRACT_FIRMWARE_REV}.py || die "Extracting firmwares failed..."
38
}
39
}
39
40
40
src_install() {
41
src_install() {

Return to bug 731258