mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/lxsession: Updated for version 0.5.3.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
61b95bf08a
commit
66b27a286d
3 changed files with 16 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue