summaryrefslogtreecommitdiffstats
path: root/system/colord/colord.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2016-01-30 19:23:12 +0100
committer Willy Sudiarto Raharjo2016-02-05 01:02:20 +0100
commitcb665a6397f8c510b69e91ac32fb2ec5cddc05af (patch)
treec2c2f6129c9190732a83ba4510f0a5fbeddc237c /system/colord/colord.SlackBuild
parent169f3d2339bd9dd78e09b660bcd5e727dd98ed5d (diff)
downloadslackbuilds-cb665a6397f8c510b69e91ac32fb2ec5cddc05af.tar.gz
system/colord: Updated for version 1.2.12.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/colord/colord.SlackBuild')
-rw-r--r--system/colord/colord.SlackBuild20
1 files changed, 16 insertions, 4 deletions
diff --git a/system/colord/colord.SlackBuild b/system/colord/colord.SlackBuild
index 7ea156f680..5e8832b967 100644
--- a/system/colord/colord.SlackBuild
+++ b/system/colord/colord.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for colord
-# Copyright 2015 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=colord
-VERSION=${VERSION:-1.2.1}
+VERSION=${VERSION:-1.2.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,6 +72,14 @@ if [ "${BASH_COMPLETION:-no}" = "yes" ]; then
else
USE_BASH="--disable-bash-completion"
fi
+
+# Check if ARGYLL is set to yes
+if [ "${ARGYLL:-no}" = "yes" ]; then
+ argyll="--enable-argyllcms-sensor"
+else
+ argyll="--disable-argyllcms-sensor"
+fi
+
set -e
rm -rf $PKG
@@ -97,8 +105,12 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
- --disable-gusb \
- --disable-udev \
+ --enable-gusb \
+ --enable-udev \
+ --enable-polkit \
+ --enable-sane \
+ --enable-libcolordcompat \
+ $argyll \
--disable-systemd-login \
--with-daemon-user=colord \
--build=$ARCH-slackware-linux \