aboutsummaryrefslogtreecommitdiff
path: root/graphics/scantailor
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 23:51:26 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:02 +0000
commit0294585219b324ca653a587c6da23460672c7612 (patch)
treea49e7708784b1c4dbe99249f5e65e6234f5cdfe5 /graphics/scantailor
parent1fb688bc47ea5714fdba53e7a8b8bea1205d58f3 (diff)
graphics/scantailor: Make .desktop validate, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/scantailor')
-rw-r--r--graphics/scantailor/scantailor.SlackBuild6
-rw-r--r--graphics/scantailor/scantailor.desktop2
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/scantailor/scantailor.SlackBuild b/graphics/scantailor/scantailor.SlackBuild
index 8267be587d5bd..11e7a7e3a3f71 100644
--- a/graphics/scantailor/scantailor.SlackBuild
+++ b/graphics/scantailor/scantailor.SlackBuild
@@ -12,7 +12,7 @@ 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
@@ -25,8 +25,8 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
-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/graphics/scantailor/scantailor.desktop b/graphics/scantailor/scantailor.desktop
index 2540a45c4c511..03ef07fd16789 100644
--- a/graphics/scantailor/scantailor.desktop
+++ b/graphics/scantailor/scantailor.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=Scan Tailor
Comment=An interactive post-processing tool for scanned pages.
-Icon=scantailor.svg
+Icon=scantailor
Exec=scantailor %u
TryExec=scantailor
Terminal=false