aboutsummaryrefslogtreecommitdiff
path: root/system/lxdm/lxdm.SlackBuild
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2017-03-14 15:15:10 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-18 06:59:08 +0700
commite6ac8f56912b54612fe1760674852890db169172 (patch)
treeb70e679e9f000babef490ced771a07c22424c693 /system/lxdm/lxdm.SlackBuild
parent5a359b9d2e66248c450a7956686c724177d607f6 (diff)
system/lxdm: Allow building against gtk+3.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/lxdm/lxdm.SlackBuild')
-rw-r--r--system/lxdm/lxdm.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/lxdm/lxdm.SlackBuild b/system/lxdm/lxdm.SlackBuild
index 64005855726d..3ee112595710 100644
--- a/system/lxdm/lxdm.SlackBuild
+++ b/system/lxdm/lxdm.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for lxdm
# Copyright 2010,2011 Robby Workman, Northport, Alabama, USA
-# Copyright 2012-2015 Matteo Bernardini, Pisa, Italy
+# Copyright 2012-2017 Matteo Bernardini, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
PRGNAM=lxdm
VERSION=${VERSION:-0.5.3}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -55,6 +55,8 @@ else
LIBDIRSUFFIX=""
fi
+with_gtk3="" ; [ "${GTK3:-no}" != "no" ] && with_gtk3="--enable-gtk3"
+
set -e
rm -rf $PKG
@@ -101,6 +103,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--without-pam \
+ $with_gtk3 \
--build=$ARCH-slackware-linux
make