From 6bf9026a0cbe883ba36fae7924fd7e22d631521d Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Tue, 2 Jan 2018 13:55:49 +0700 Subject: system/colord: Add vala detection automatically. Signed-off-by: Willy Sudiarto Raharjo --- system/colord/README | 2 -- system/colord/colord.SlackBuild | 12 ++---------- 2 files changed, 2 insertions(+), 12 deletions(-) (limited to 'system') 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 +# Copyright 2015-2018 Willy Sudiarto Raharjo # 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 \ -- cgit v1.2.3