aboutsummaryrefslogtreecommitdiff
path: root/development/tiled/tiled.SlackBuild
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2020-06-24 00:09:27 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-24 06:12:08 +0700
commit0ae696bb5233d2e2bb927857cd3e0a427aa0b79d (patch)
tree281006ddba6064c4f6aa9cb131ce8a40dd9acedb /development/tiled/tiled.SlackBuild
parent91399da1fd23f39136b039fc545f17b64c44f6c5 (diff)
development/tiled: updated for version 1.4.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/tiled/tiled.SlackBuild')
-rw-r--r--development/tiled/tiled.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/development/tiled/tiled.SlackBuild b/development/tiled/tiled.SlackBuild
index 2a1ede10ed5c2..4126bb606ee2a 100644
--- a/development/tiled/tiled.SlackBuild
+++ b/development/tiled/tiled.SlackBuild
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tiled
-VERSION=${VERSION:-1.3.5}
+VERSION=${VERSION:-1.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -81,14 +81,12 @@ if [ "$ARCH" = "x86_64" ]; then
patch -p0 < $CWD/tiled_lib64.patch
fi
+qbs setup-qt /usr/bin/qmake-qt5 qt5
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
- qmake-qt5 -r PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} RPATH=no USE_FHS_PLUGIN_PATH=yes
+ qbs profile:qt5 qbs.installPrefix:"/usr" projects.Tiled.useRPaths:false
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
- make
-make install INSTALL_ROOT=$PKG
+qbs install --install-root $PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true