diff options
author | Aaditya Bagga <aaditya_gnulinux@zoho.com> | 2017-03-14 15:15:10 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-18 06:59:08 +0700 |
commit | e6ac8f56912b54612fe1760674852890db169172 (patch) | |
tree | b70e679e9f000babef490ced771a07c22424c693 | |
parent | 5a359b9d2e66248c450a7956686c724177d607f6 (diff) | |
download | slackbuilds-e6ac8f56912b54612fe1760674852890db169172.tar.gz |
system/lxdm: Allow building against gtk+3.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r-- | system/lxdm/README | 3 | ||||
-rw-r--r-- | system/lxdm/lxdm.SlackBuild | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/system/lxdm/README b/system/lxdm/README index 999d9f4ee2..e1db0d5dbc 100644 --- a/system/lxdm/README +++ b/system/lxdm/README @@ -2,4 +2,7 @@ LXDM - GUI login manager for LXDE LXDM is a lightweight drop-in replacement for GDM or KDM. +To build the GTK3 version, script can be run as: + GTK3=yes ./lxdm.SlackBuild + See README.SLACKWARE for post-installation configuration. diff --git a/system/lxdm/lxdm.SlackBuild b/system/lxdm/lxdm.SlackBuild index 6400585572..3ee1125957 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 |