aboutsummaryrefslogtreecommitdiff
path: root/desktop/gnome-session/gnome-session.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/gnome-session/gnome-session.SlackBuild')
-rw-r--r--desktop/gnome-session/gnome-session.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/desktop/gnome-session/gnome-session.SlackBuild b/desktop/gnome-session/gnome-session.SlackBuild
index efa256c6fabac..bf9ca25150383 100644
--- a/desktop/gnome-session/gnome-session.SlackBuild
+++ b/desktop/gnome-session/gnome-session.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gnome-session
VERSION=${VERSION:-42.0}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -56,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -109,6 +112,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+# Remove these duplicate desktop session entires:
+rm -f $PKG/usr/share/wayland-sessions/gnome.desktop
+rm -f $PKG/usr/share/xsessions/gnome.desktop
+
mkdir -p $PKG/etc/X11/xinit
cat $CWD/xinitrc.gnome > $PKG/etc/X11/xinit/xinitrc.gnome