[Lunar-commits] <moonbase> NVIDIA*: do not install nvidia-settings binary if gtk+-2 is not installed on the system.
Florin Braescu
florin at lunar-linux.org
Sun Nov 1 08:21:44 CET 2009
commit eaa80b9a17ec33fe58a7690c2434c5492cf71b94
Author: Florin Braescu <florin at lunar-linux.org>
Date: Sun Nov 1 09:21:44 2009 +0200
NVIDIA*: do not install nvidia-settings binary if gtk+-2 is not installed on the system.
---
x11/NVIDIA-beta/BUILD | 4 ++++
x11/NVIDIA-fx/BUILD | 4 ++++
x11/NVIDIA-legacy/BUILD | 4 ++++
x11/NVIDIA-old/BUILD | 4 ++++
x11/NVIDIA/BUILD | 4 ++++
5 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/x11/NVIDIA-beta/BUILD b/x11/NVIDIA-beta/BUILD
index f04150d..8268d22 100644
--- a/x11/NVIDIA-beta/BUILD
+++ b/x11/NVIDIA-beta/BUILD
@@ -140,4 +140,8 @@
ln -sf /usr/lib/tls/libnvidia-tls.so.1 \
/usr/lib/libnvidia-tls.so.1
+ if !( module_installed gtk+-2 ); then
+ rm -f /usr/bin/nvidia-settings
+ fi
+
) > $C_FIFO 2>&1
diff --git a/x11/NVIDIA-fx/BUILD b/x11/NVIDIA-fx/BUILD
index bfbe919..baf769d 100644
--- a/x11/NVIDIA-fx/BUILD
+++ b/x11/NVIDIA-fx/BUILD
@@ -86,4 +86,8 @@
ln -sf /usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1 \
/usr/lib/libnvidia-tls.so.1
+ if !( module_installed gtk+-2 ); then
+ rm -f /usr/bin/nvidia-settings
+ fi
+
) > $C_FIFO 2>&1
diff --git a/x11/NVIDIA-legacy/BUILD b/x11/NVIDIA-legacy/BUILD
index dbd80b7..4d8bca5 100644
--- a/x11/NVIDIA-legacy/BUILD
+++ b/x11/NVIDIA-legacy/BUILD
@@ -51,4 +51,8 @@
ln -sf /usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1 \
/usr/lib/libnvidia-tls.so.1
+ if !( module_installed gtk+-2 ); then
+ rm -f /usr/bin/nvidia-settings
+ fi
+
) > $C_FIFO 2>&1
diff --git a/x11/NVIDIA-old/BUILD b/x11/NVIDIA-old/BUILD
index dbd80b7..4d8bca5 100644
--- a/x11/NVIDIA-old/BUILD
+++ b/x11/NVIDIA-old/BUILD
@@ -51,4 +51,8 @@
ln -sf /usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1 \
/usr/lib/libnvidia-tls.so.1
+ if !( module_installed gtk+-2 ); then
+ rm -f /usr/bin/nvidia-settings
+ fi
+
) > $C_FIFO 2>&1
diff --git a/x11/NVIDIA/BUILD b/x11/NVIDIA/BUILD
index 03cf16f..f8bbb05 100644
--- a/x11/NVIDIA/BUILD
+++ b/x11/NVIDIA/BUILD
@@ -54,4 +54,8 @@
ln -sf /usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1 \
/usr/lib/libnvidia-tls.so.1
+ if !( module_installed gtk+-2 ); then
+ rm -f /usr/bin/nvidia-settings
+ fi
+
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list