summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/colord/README5
-rw-r--r--system/colord/colord.SlackBuild20
-rw-r--r--system/colord/colord.info8
3 files changed, 23 insertions, 10 deletions
diff --git a/system/colord/README b/system/colord/README
index 6837afb520..6584b00130 100644
--- a/system/colord/README
+++ b/system/colord/README
@@ -9,7 +9,8 @@ useradd -d /var/lib/colord -u 303 -g colord -s /bin/false colord
This package can optionally add bash completion support by running:
BASH_COMPLETION=yes ./colord.SlackBuild
+If you want argyllcms support (new dep: argyllcms), use:
+ARGYLL=yes ./colord.SlackBuild
+
Optional dependency: vala
-Note: This package does not have SANE or UDEV support since it will
-require systemd to be present.
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 \
diff --git a/system/colord/colord.info b/system/colord/colord.info
index b5a7e59b7f..6d9016ebb3 100644
--- a/system/colord/colord.info
+++ b/system/colord/colord.info
@@ -1,10 +1,10 @@
PRGNAM="colord"
-VERSION="1.2.1"
+VERSION="1.2.12"
HOMEPAGE="http://www.freedesktop.org/software/colord"
-DOWNLOAD="http://www.freedesktop.org/software/colord/releases/colord-1.2.1.tar.xz"
-MD5SUM="452e02b3a7cc3ae5b4fc9bef304a6902"
+DOWNLOAD="http://www.freedesktop.org/software/colord/releases/colord-1.2.12.tar.xz"
+MD5SUM="80b106ba18a43c7eeaf2d9a2b8c5725b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="libgusb"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"