summaryrefslogtreecommitdiff
path: root/development/tiled
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
parent91399da1fd23f39136b039fc545f17b64c44f6c5 (diff)
downloadslackbuilds-0ae696bb5233d2e2bb927857cd3e0a427aa0b79d.tar.gz
development/tiled: updated for version 1.4.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/tiled')
-rw-r--r--development/tiled/tiled.SlackBuild10
-rw-r--r--development/tiled/tiled.info8
2 files changed, 8 insertions, 10 deletions
diff --git a/development/tiled/tiled.SlackBuild b/development/tiled/tiled.SlackBuild
index 2a1ede10ed..4126bb606e 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
diff --git a/development/tiled/tiled.info b/development/tiled/tiled.info
index 68bbe5b4fc..21c7ffbc25 100644
--- a/development/tiled/tiled.info
+++ b/development/tiled/tiled.info
@@ -1,10 +1,10 @@
PRGNAM="tiled"
-VERSION="1.3.5"
+VERSION="1.4.0"
HOMEPAGE="https://www.mapeditor.org"
-DOWNLOAD="https://github.com/bjorn/tiled/archive/v1.3.5/tiled-1.3.5.tar.gz"
-MD5SUM="76900db9cf3abb15be3329238edb3f4a"
+DOWNLOAD="https://github.com/bjorn/tiled/archive/v1.4.0/tiled-1.4.0.tar.gz"
+MD5SUM="90700fc6f8ee838b838b77dd144ab224"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES="qt5 qbs"
MAINTAINER="Yth - Arnaud"
EMAIL="yth@ythogtha.org"