summaryrefslogtreecommitdiff
path: root/system/lxsession/lxsession.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2016-12-10 18:31:12 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-17 06:55:59 +0700
commit66b27a286d70cfe58c22ae4e9699b55ca3e87bf7 (patch)
treec3d0d9eb94548fea75578871693d4400aa64d8bb /system/lxsession/lxsession.SlackBuild
parent61b95bf08aad26eb3422eaca061f297dffb3820d (diff)
downloadslackbuilds-66b27a286d70cfe58c22ae4e9699b55ca3e87bf7.tar.gz
system/lxsession: Updated for version 0.5.3.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/lxsession/lxsession.SlackBuild')
-rw-r--r--system/lxsession/lxsession.SlackBuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/system/lxsession/lxsession.SlackBuild b/system/lxsession/lxsession.SlackBuild
index e6fd72c2ed..0e9e17dc28 100644
--- a/system/lxsession/lxsession.SlackBuild
+++ b/system/lxsession/lxsession.SlackBuild
@@ -54,6 +54,8 @@
# * update.
# 0.5.2-1: 07/dec/2014 by Matteo Bernardini <ponce@slackbuilds.org>
# * update.
+# 0.5.3-1: 10/dec/2016 by Matteo Bernardini <ponce@slackbuilds.org>
+# * update.
#
# Run 'sh lxsession.SlackBuild' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
@@ -62,13 +64,13 @@
# -----------------------------------------------------------------------------
PRGNAM=lxsession
-VERSION=${VERSION:-0.5.2}
+VERSION=${VERSION:-0.5.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -81,8 +83,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -95,6 +97,9 @@ else
LIBDIRSUFFIX=""
fi
+WITHGTK3=""
+[ "${GTK3:-no}" = "yes" ] && WITHGTK3="--enable-gtk3"
+
set -e
rm -rf $PKG
@@ -110,8 +115,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-sh autogen.sh || true
-
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -124,6 +127,7 @@ CFLAGS="$SLKCFLAGS" \
--program-prefix= \
--program-suffix= \
--enable-gtk \
+ $WITHGTK3 \
--enable-buildin-clipboard \
--enable-buildin-polkit \
--build=$ARCH-slackware-linux