summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-03 08:06:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-03 08:06:45 +0700
commitd7aad40894c10fedde9c3a3d0e0bf47535744830 (patch)
treebe6251e028184cf708ac41555d27a421ca7103c0
parent8cbe97cbafa2870c4d0011c94ae947bcec8d8bb3 (diff)
downloadslackbuilds-d7aad40894c10fedde9c3a3d0e0bf47535744830.tar.gz
graphics/flameshot: Fixed DBUS path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/flameshot/flameshot.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/graphics/flameshot/flameshot.SlackBuild b/graphics/flameshot/flameshot.SlackBuild
index 158b8091dc..0e8f69f2af 100644
--- a/graphics/flameshot/flameshot.SlackBuild
+++ b/graphics/flameshot/flameshot.SlackBuild
@@ -24,12 +24,12 @@
PRGNAM=flameshot
VERSION=${VERSION:-0.6.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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
@@ -40,8 +40,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"
@@ -72,6 +72,7 @@ find -L . \
qmake-qt5 -recursive flameshot.pro \
PREFIX=/usr \
+ CONFIG+=packaging \
QMAKE_CFLAGS="$SLKCFLAGS" \
QMAKE_CXXFLAGS="$SLKCFLAGS"
make