diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-02 13:55:49 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-02 13:59:55 +0700 |
commit | 6bf9026a0cbe883ba36fae7924fd7e22d631521d (patch) | |
tree | ed646a37c29bf3816d06046e2ae06edc889da202 | |
parent | 9f5efcbe810533d54d6338f7f8bbf5a051c4caf9 (diff) | |
download | slackbuilds-6bf9026a0cbe883ba36fae7924fd7e22d631521d.tar.gz |
system/colord: Add vala detection automatically.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/colord/README | 2 | ||||
-rw-r--r-- | system/colord/colord.SlackBuild | 12 |
2 files changed, 2 insertions, 12 deletions
diff --git a/system/colord/README b/system/colord/README index 08a39529f0..6973c9a8a8 100644 --- a/system/colord/README +++ b/system/colord/README @@ -11,5 +11,3 @@ BASH_COMPLETION=yes ./colord.SlackBuild If you want argyllcms support (new dep: argyllcms), use: ARGYLL=yes ./colord.SlackBuild - -Optional dependency: vala (autodetected) diff --git a/system/colord/colord.SlackBuild b/system/colord/colord.SlackBuild index ba98ed5883..2ac2cabcf3 100644 --- a/system/colord/colord.SlackBuild +++ b/system/colord/colord.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for colord -# Copyright 2015-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2015-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -80,14 +80,6 @@ else argyll="--disable-argyllcms-sensor" fi -# Check if VALA exists -vl=`pkg-config --exists vapigen` -if [ "$?" -eq 0 ]; then - vala="--enable-vala" -else - vala="" -fi - set -e rm -rf $PKG @@ -119,7 +111,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-sane \ --enable-libcolordcompat \ $argyll \ - $vala \ + --enable-vala \ --disable-systemd-login \ --with-daemon-user=colord \ --build=$ARCH-slackware-linux \ |