From c1be1e4a9bdbef58a1da8102eecbd54327fd5496 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 20 Mar 2017 18:46:37 -0400 Subject: [PATCH] games/speed-dreams: Make .desktop validate, i486=>i586. Signed-off-by: B. Watson Signed-off-by: David Spencer --- games/speed-dreams/speed-dreams.SlackBuild | 6 +++--- games/speed-dreams/speed-dreams.desktop | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/games/speed-dreams/speed-dreams.SlackBuild b/games/speed-dreams/speed-dreams.SlackBuild index b3e5542706..e919972b21 100644 --- a/games/speed-dreams/speed-dreams.SlackBuild +++ b/games/speed-dreams/speed-dreams.SlackBuild @@ -12,7 +12,7 @@ SRCVERSION=$(echo $VERSION | tr _ -) if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -23,8 +23,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" diff --git a/games/speed-dreams/speed-dreams.desktop b/games/speed-dreams/speed-dreams.desktop index 75853dc648..f4432b22fb 100644 --- a/games/speed-dreams/speed-dreams.desktop +++ b/games/speed-dreams/speed-dreams.desktop @@ -2,7 +2,7 @@ Name=Speed Dreams Comment=an Open Motorsport Sim Exec=/usr/games/speed-dreams-2 -Icon=speed-dreams.xpm +Icon=speed-dreams Terminal=false Type=Application -Categories=Application;Game; +Categories=Game;