diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2016-12-10 18:31:12 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-12-17 06:55:59 +0700 |
commit | 66b27a286d70cfe58c22ae4e9699b55ca3e87bf7 (patch) | |
tree | c3d0d9eb94548fea75578871693d4400aa64d8bb | |
parent | 61b95bf08aad26eb3422eaca061f297dffb3820d (diff) | |
download | slackbuilds-66b27a286d70cfe58c22ae4e9699b55ca3e87bf7.tar.gz |
system/lxsession: Updated for version 0.5.3.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r-- | system/lxsession/README | 3 | ||||
-rw-r--r-- | system/lxsession/lxsession.SlackBuild | 16 | ||||
-rw-r--r-- | system/lxsession/lxsession.info | 6 |
3 files changed, 16 insertions, 9 deletions
diff --git a/system/lxsession/README b/system/lxsession/README index 2f75e8a589..1f715bf79f 100644 --- a/system/lxsession/README +++ b/system/lxsession/README @@ -3,3 +3,6 @@ lxsession (LXDE session manager) LXSession is the standard session manager used by LXDE (Lightweight X11 Desktop Environment). A session manager is used to automatically start a set of applications and set up a working desktop environment. + +if you want to build this for gtk+3 pass to the script the switch + GTK3=yes 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 diff --git a/system/lxsession/lxsession.info b/system/lxsession/lxsession.info index 76b9235eab..a27dd3b67a 100644 --- a/system/lxsession/lxsession.info +++ b/system/lxsession/lxsession.info @@ -1,8 +1,8 @@ PRGNAM="lxsession" -VERSION="0.5.2" +VERSION="0.5.3" HOMEPAGE="http://wiki.lxde.org/en/LXSession" -DOWNLOAD="http://downloads.sf.net/lxde/lxsession-0.5.2.tar.xz" -MD5SUM="2957acccbf9ce37ef8205ec5424f8047" +DOWNLOAD="http://downloads.sf.net/lxde/lxsession-0.5.3.tar.xz" +MD5SUM="823c50e6d0e4ce15a23a42e8f8bf4221" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libunique vala" |