aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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
diff --git a/development/tiled/tiled.info b/development/tiled/tiled.info
index 68bbe5b4fc824..21c7ffbc25f3e 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"