summaryrefslogtreecommitdiff
path: root/system/conky/conky.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/conky/conky.SlackBuild')
-rw-r--r--system/conky/conky.SlackBuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/system/conky/conky.SlackBuild b/system/conky/conky.SlackBuild
index aeb8735832..03cce39038 100644
--- a/system/conky/conky.SlackBuild
+++ b/system/conky/conky.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=conky
-VERSION=${VERSION:-1.10.4}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.10.5}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -43,6 +43,9 @@ OUTPUT=${OUTPUT:-/tmp}
# Pass AUDACIOUS=yes if you want to build audacious player support.
AUDACIOUS=${AUDACIOUS:-"no"}
+# Pass NVIDIA=yes if you want to build NVIDIA hardware monitoring support.
+NVIDIA=${NVIDIA:-"no"}
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -65,6 +68,12 @@ else
audacious="OFF"
fi
+if [ "${NVIDIA:-yes}" = "yes" ]; then
+ nvidia="ON"
+else
+ nvidia="OFF"
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -93,6 +102,7 @@ cd build
-DMAINTAINER_MODE=ON \
-DBUILD_XDBE=ON \
-DBUILD_AUDACIOUS=$audacious \
+ -DBUILD_NVIDIA=$nvidia \
-DBUILD_CURL=ON \
-DBUILD_WLAN=ON \
-DBUILD_RSS=ON \