summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-06 06:22:56 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-06 06:22:56 +0000
commit3166418b82b0ad519dc9502b3e111e92b0809a2a (patch)
tree23b510052e6d5ec657a8fc82449826d2ba00f842
parentb1976ba17e42d759c5a7ad5dc883b2c3ed8b03e7 (diff)
x11-drivers/nvidia-drivers : some more cleanup
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-384.111-r1.ebuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-384.111-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-384.111-r1.ebuild
index 6edee379..3bc81f59 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-384.111-r1.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-384.111-r1.ebuild
@@ -96,7 +96,7 @@ nvidia_drivers_versions_check() {
use x86 && CONFIG_CHECK+=" ~HIGHMEM"
# Now do the above checks
- use kernel_linux && check_extra_config
+ check_extra_config
}
pkg_pretend() {
@@ -124,9 +124,6 @@ src_prepare() {
gunzip $man_file || die
done
- # Allow user patches so they can support RC kernels and whatever else
- eapply_user
-
if ! [ -f nvidia_icd.json ]; then
cp nvidia_icd.json.template nvidia_icd.json || die
sed -i -e 's:__NV_VK_ICD__:libGLX_nvidia.so.0:g' nvidia_icd.json || die
@@ -300,9 +297,7 @@ src_install() {
newins \
nvidia-application-profiles-${PV}-rc nvidia-application-profiles-rc
- # There is no icon in the FreeBSD tarball.
- use kernel_FreeBSD || \
- doicon ${NV_OBJ}/nvidia-settings.png
+ doicon ${NV_OBJ}/nvidia-settings.png
domenu "${FILESDIR}"/nvidia-settings.desktop