summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-01-30 13:30:05 +0100
committerJeroen Roovers <jer@gentoo.org>2016-01-30 13:30:30 +0100
commit407a77d2eeaf91db1f149c5cace8db164b29ec3a (patch)
treed9601abd98307a7d502d7e8348ddf07905a84bda /x11-drivers
parentx11-misc/gpaste: Drop old (diff)
downloadgentoo-407a77d2eeaf91db1f149c5cace8db164b29ec3a.tar.gz
gentoo-407a77d2eeaf91db1f149c5cace8db164b29ec3a.tar.bz2
gentoo-407a77d2eeaf91db1f149c5cace8db164b29ec3a.zip
x11-drivers/nvidia-drivers: Install libXNVCtrl header only when USE=static-libs.
Package-Manager: portage-2.2.27
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-304.131-r1.ebuild7
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-340.96-r2.ebuild7
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-352.79-r1.ebuild7
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-358.16-r2.ebuild7
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-361.18-r2.ebuild7
5 files changed, 20 insertions, 15 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-304.131-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-304.131-r1.ebuild
index 4de38e195198..efc0aae933b6 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-304.131-r1.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-304.131-r1.ebuild
@@ -351,11 +351,12 @@ src_install() {
NV_USE_BUNDLED_LIBJANSSON=0 \
install
- use static-libs && \
+ if use static-libs; then
dolib.a "${S}"/nvidia-settings-${PV}/src/libXNVCtrl/libXNVCtrl.a
- insinto /usr/include/NVCtrl
- doins "${S}"/nvidia-settings-${PV}/src/libXNVCtrl/*.h
+ insinto /usr/include/NVCtrl
+ doins "${S}"/nvidia-settings-${PV}/src/libXNVCtrl/*.h
+ fi
# There is no icon in the FreeBSD tarball.
use kernel_FreeBSD || \
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-340.96-r2.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-340.96-r2.ebuild
index db9410f76c5a..a7a3be07b7ff 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-340.96-r2.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-340.96-r2.ebuild
@@ -358,11 +358,12 @@ src_install() {
NV_USE_BUNDLED_LIBJANSSON=0 \
install
- use static-libs && \
+ if use static-libs; then
dolib.a "${S}"/nvidia-settings-${PV}/src/libXNVCtrl/libXNVCtrl.a
- insinto /usr/include/NVCtrl
- doins "${S}"/nvidia-settings-${PV}/src/libXNVCtrl/*.h
+ insinto /usr/include/NVCtrl
+ doins "${S}"/nvidia-settings-${PV}/src/libXNVCtrl/*.h
+ fi
insinto /usr/share/nvidia/
doins nvidia-application-profiles-${PV}-key-documentation
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-352.79-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-352.79-r1.ebuild
index 2435263f7251..4bb98c2ef3cc 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-352.79-r1.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-352.79-r1.ebuild
@@ -374,11 +374,12 @@ src_install() {
NV_USE_BUNDLED_LIBJANSSON=0 \
install
- use static-libs && \
+ if use static-libs; then
dolib.a "${S}"/nvidia-settings-${PV}/src/libXNVCtrl/libXNVCtrl.a
- insinto /usr/share/nvidia/
- doins nvidia-application-profiles-${PV}-key-documentation
+ insinto /usr/share/nvidia/
+ doins nvidia-application-profiles-${PV}-key-documentation
+ fi
insinto /etc/nvidia
newins \
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-358.16-r2.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-358.16-r2.ebuild
index 9f0cd78d4503..145dea61d44a 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-358.16-r2.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-358.16-r2.ebuild
@@ -372,11 +372,12 @@ src_install() {
NV_USE_BUNDLED_LIBJANSSON=0 \
install
- use static-libs && \
+ if use static-libs; then
dolib.a "${S}"/nvidia-settings-${PV}/src/libXNVCtrl/libXNVCtrl.a
- insinto /usr/include/NVCtrl
- doins "${S}"/nvidia-settings-${PV}/src/libXNVCtrl/*.h
+ insinto /usr/include/NVCtrl
+ doins "${S}"/nvidia-settings-${PV}/src/libXNVCtrl/*.h
+ fi
insinto /usr/share/nvidia/
doins nvidia-application-profiles-${PV}-key-documentation
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-361.18-r2.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-361.18-r2.ebuild
index 329f634ceab5..cfcaa9b42dd6 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-361.18-r2.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-361.18-r2.ebuild
@@ -363,11 +363,12 @@ src_install() {
NV_USE_BUNDLED_LIBJANSSON=0 \
install
- use static-libs && \
+ if use static-libs; then
dolib.a "${S}"/nvidia-settings-${PV}/src/libXNVCtrl/libXNVCtrl.a
- insinto /usr/include/NVCtrl
- doins "${S}"/nvidia-settings-${PV}/src/libXNVCtrl/*.h
+ insinto /usr/include/NVCtrl
+ doins "${S}"/nvidia-settings-${PV}/src/libXNVCtrl/*.h
+ fi
insinto /usr/share/nvidia/
doins nvidia-application-profiles-${PV}-key-documentation