Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/conky/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-10-09 14:14:50 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-10-09 14:14:50 +0200
commitbc651a024f6c695fe2cb4a31c32179ab9bc29bb1 (patch)
tree5ecac28d94695cc0cab99203bb1b7546d4364775 /extra/conky/PKGBUILD
parentd163cb4066d3ddeb4f2daf857445915661766155 (diff)
extra/conky: disabled Nvidia (because of missin libxnvctrl/nvidia-utils
Diffstat (limited to 'extra/conky/PKGBUILD')
-rw-r--r--extra/conky/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/conky/PKGBUILD b/extra/conky/PKGBUILD
new file mode 100644
index 00000000..25c38265
--- /dev/null
+++ b/extra/conky/PKGBUILD
@@ -0,0 +1,11 @@
+# libxnvctrl is Nvidia only, so sorry, there is no 32-bit version for
+# it, then we will not build support for it..
+eval "$(
+ declare -f build | \
+ sed '
+ s/-D BUILD_NVIDIA=ON/-D BUILD_NVIDIA=OFF/g
+ '
+)"
+
+depends=(${depends[@]//libxnvctrl/})
+depends=(${depends[@]//libXNVCtrl.so/})